Skip to contentSkip to conversation

VFIO updates for v4.1-rc1

GIT PULL Alex Williamson 1 participant 1 message Apr 14, 2015 KVM

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda:

Linux 4.0-rc4 (2015-03-15 17:38:20 -0700)

are available in the git repository at:

git://github.com/awilliam/linux-vfio.git tags/vfio-v4.1-rc1

for you to fetch changes up to 5a0ff17741c1785b27229a16b5ab77470d71b170:

vfio-pci: Fix use after free (2015-04-08 08:11:51 -0600)

----------------------------------------------------------------
VFIO updates for v4.1
- VFIO platform bus driver support (Baptiste Reynal, Antonios Motakis, testing and review by Eric Auger)
- Split VFIO irqfd support to separate module (Alex Williamson)
- vfio-pci VGA arbiter client (Alex Williamson)
- New vfio-pci.ids= module option (Alex Williamson)
- vfio-pci D3 power state support for idle devices (Alex Williamson)

----------------------------------------------------------------
Alex Williamson (8):
vfio: Split virqfd into a separate module for vfio bus drivers
vgaarb: Stub vga_set_legacy_decoding()
vfio-pci: Add module option to disable VGA region access
vfio-pci: Add VGA arbiter client
vfio-pci: Allow PCI IDs to be specified as module options
vfio-pci: Remove warning if try-reset fails
vfio-pci: Move idle devices to D3hot power state
vfio-pci: Fix use after free

Antonios Motakis (20):
vfio/platform: initial skeleton of VFIO support for platform devices
vfio: platform: probe to devices on the platform bus
vfio: platform: add the VFIO PLATFORM module to Kconfig
vfio: amba: VFIO support for AMBA devices
vfio: amba: add the VFIO for AMBA devices module to Kconfig vfio/platform: return info for bound device
vfio/platform: return info for device memory mapped IO regions vfio/platform: read and write support for the device fd vfio/platform: support MMAP of MMIO regions
vfio/platform: return IRQ info
vfio/platform: initial interrupts support code vfio/platform: trigger an interrupt via eventfd vfio/platform: support for level sensitive interrupts
vfio: add a vfio_ prefix to virqfd_enable and virqfd_disable and export
vfio: virqfd: rename vfio_pci_virqfd_init and vfio_pci_virqfd_exit
vfio: add local lock for virqfd instead of depending on VFIO PCI
vfio: pass an opaque pointer on virqfd initialization
vfio: move eventfd support code for VFIO_PCI to a separate file
vfio: initialize the virqfd workqueue in VFIO generic code vfio/platform: implement IRQ masking/unmasking via an eventfd

Zhen Lei (1):
vfio: put off the allocation of "minor" in vfio_create_group

kbuild test robot (1):
vfio: virqfd_lock can be static

 drivers/vfio/Kconfig                          |   6 +
 drivers/vfio/Makefile                         |   4 +
 drivers/vfio/pci/Kconfig                      |   1 +
 drivers/vfio/pci/vfio_pci.c                   | 188 ++++++++--
 drivers/vfio/pci/vfio_pci_intrs.c             | 238 +-----------
 drivers/vfio/pci/vfio_pci_private.h           |   3 -
 drivers/vfio/platform/Kconfig                 |  20 +
 drivers/vfio/platform/Makefile                |   8 +
 drivers/vfio/platform/vfio_amba.c             | 115 ++++++
 drivers/vfio/platform/vfio_platform.c         | 103 +++++
 drivers/vfio/platform/vfio_platform_common.c  | 521 ++++++++++++++++++++++++++
 drivers/vfio/platform/vfio_platform_irq.c     | 336 +++++++++++++++++
 drivers/vfio/platform/vfio_platform_private.h |  85 +++++
 drivers/vfio/vfio.c                           |  13 +-
 drivers/vfio/virqfd.c                         | 226 +++++++++++
 include/linux/vfio.h                          |  25 ++
 include/linux/vgaarb.h                        |   5 +
 include/uapi/linux/vfio.h                     |   2 +
 18 files changed, 1640 insertions(+), 259 deletions(-)
 create mode 100644 drivers/vfio/platform/Kconfig
 create mode 100644 drivers/vfio/platform/Makefile
 create mode 100644 drivers/vfio/platform/vfio_amba.c
 create mode 100644 drivers/vfio/platform/vfio_platform.c
 create mode 100644 drivers/vfio/platform/vfio_platform_common.c
 create mode 100644 drivers/vfio/platform/vfio_platform_irq.c
 create mode 100644 drivers/vfio/platform/vfio_platform_private.h
 create mode 100644 drivers/vfio/virqfd.c