[RFC 0/5] vfio: AMBA devices support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series depends on the VFIO for PLATFORM devices patch series,
and implements AMBA device support for VFIO.

This can be used for example with the PL330 DMA Controller, which is an
AMBA device and not a proper platform device. By using the VFIO AMBA driver
introduced here, one can bind VFIO directly to such a device without hacking
the host device tree to make the device look like a platform device to the
system.

Also adding driver_override support to ARM AMBA bus devices, one can
alternate between using the proper host device driver and VFIO without
restarting the host system with a new device tree.

Antonios Motakis (5):
  driver core: amba: add device binding path 'driver_override'
  vfio: platform: decouple code probing devices from the platform bus
  vfio: platform: move code that can be shared with AMBA to a common
    file
  vfio: amba: VFIO support for AMBA devices
  vfio: amba: add the VFIO for AMBA devices module to Kconfig

 drivers/amba/bus.c                            |  43 +++
 drivers/vfio/platform/Kconfig                 |  10 +
 drivers/vfio/platform/Makefile                |   6 +-
 drivers/vfio/platform/vfio_amba.c             | 129 +++++++++
 drivers/vfio/platform/vfio_platform.c         | 355 +-----------------------
 drivers/vfio/platform/vfio_platform_common.c  | 380 ++++++++++++++++++++++++++
 drivers/vfio/platform/vfio_platform_irq.c     |   6 +-
 drivers/vfio/platform/vfio_platform_private.h |   9 +-
 include/linux/amba/bus.h                      |   1 +
 9 files changed, 591 insertions(+), 348 deletions(-)
 create mode 100644 drivers/vfio/platform/vfio_amba.c
 create mode 100644 drivers/vfio/platform/vfio_platform_common.c

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux