HomeFreeBSD

bhyve: Make most I/O port handling specific to amd64

Description

bhyve: Make most I/O port handling specific to amd64

  • The qemu_fwcfg interface, as implemented, is I/O port-based, but QEMU implements an MMIO interface that we'll eventually want to port for arm64.
  • Retain support for I/O space PCI BARs, simply treat them like MMIO BARs for most purposes, similar to what the arm64 kernel does. Such BARs are created by virtio devices.

Reviewed by: corvink, jhb
MFC after: 1 week
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D40741

(cherry picked from commit 31cf78c9217b8298816115474973f4f0568962cf)

Details

Provenance
markjAuthored on Oct 4 2023, 4:26 PM
Reviewer
corvink
Differential Revision
D40741: bhyve: Make most I/O port handling specific to amd64
Parents
rG96753aebcc39: bhyve: Conditionally compile framebuffer-related code
Branches
Unknown
Tags
Unknown