Skip to content

vfio-pci: VGA and legacy MMIO & I/O port access

Alex Williamson kvm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio-pci: Cleanup read/write functionsdrivers/vfio/pci/vfio_pci.c+29 -300 replies
2/3vfio-pci: Cleanup BAR accessdrivers/vfio/pci/vfio_pci.c drivers/vfio/pci/vfio_pci_config.c drivers/vfio/pci/vfio_pci_private.h +1 more+88 -1890 replies
3/3vfio-pci: Add support for legacy MMIO & I/O port towards VGA supportdrivers/vfio/pci/Kconfig drivers/vfio/pci/vfio_pci.c drivers/vfio/pci/vfio_pci_private.h +2 more+160 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] vfio-pci: VGA and legacy MMIO & I/O port access

This series includes a couple cleanups that I'll target for 3.9 plus RFC patch 3/3 that adds device regions for legacy I/O and makes use of the VGA arbiter for enabling VGA assignment. I know the POWER guys don't likely care about VGA support, but Alexey, Ben, and David, I'd appreciate any feedback on the overal incorporation into vfio given your history with the design. VGA is still a work in progress but with this base I'm able to assign a handlful of desktop cards that I have on hand to a qemu guest using standard builtin VGA drivers. Thanks,

Alex

---

Alex Williamson (3):
vfio-pci: Cleanup read/write functions
vfio-pci: Cleanup BAR access
vfio-pci: Add support for legacy MMIO & I/O port towards VGA support

 drivers/vfio/pci/Kconfig            |   10 +
 drivers/vfio/pci/vfio_pci.c         |  106 +++++++++----
 drivers/vfio/pci/vfio_pci_config.c  |    5 -
 drivers/vfio/pci/vfio_pci_private.h |   16 +-
 drivers/vfio/pci/vfio_pci_rdwr.c    |  282 +++++++++++++++++------------------
 include/uapi/linux/vfio.h           |    8 +
 6 files changed, 242 insertions(+), 185 deletions(-)