public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5] vfio: AMBA devices support
@ 2014-08-22  9:01 Antonios Motakis
       [not found] ` <1408698088-5349-1-git-send-email-a.motakis-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Antonios Motakis @ 2014-08-22  9:01 UTC (permalink / raw)
  To: alex.williamson-H+wXaHxf7aLQT0dZR+AlfA,
	kvmarm-FPEHb7Xf0XXUo1n7N8X6UoWGPAHP3yOg,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: kvm-u79uwXL29TY76Z2rM5mHXA, eric.auger-QSEj5FYQhm4dnm+yROfE0A,
	marc.zyngier-5wv7dgnIgG8, will.deacon-5wv7dgnIgG8,
	a.rigo-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J,
	stuart.yoder-KZfg59tc24xl57MIdRCFDg, Antonios Motakis,
	tech-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J,
	christoffer.dall-QSEj5FYQhm4dnm+yROfE0A

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-08-26 19:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22  9:01 [RFC 0/5] vfio: AMBA devices support Antonios Motakis
     [not found] ` <1408698088-5349-1-git-send-email-a.motakis-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
2014-08-22  9:01   ` [RFC 1/5] driver core: amba: add device binding path 'driver_override' Antonios Motakis
     [not found]     ` <1408698088-5349-2-git-send-email-a.motakis-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
2014-08-25 20:29       ` Kim Phillips
     [not found]         ` <20140825152909.43a6a02d972823056108dd95-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-26  7:43           ` Antonios Motakis
2014-08-22  9:01   ` [RFC 2/5] vfio: platform: decouple code probing devices from the platform bus Antonios Motakis
2014-08-22  9:01   ` [RFC 3/5] vfio: platform: move code that can be shared with AMBA to a common file Antonios Motakis
2014-08-22  9:01   ` [RFC 5/5] vfio: amba: add the VFIO for AMBA devices module to Kconfig Antonios Motakis
2014-08-22  9:01 ` [RFC 4/5] vfio: amba: VFIO support for AMBA devices Antonios Motakis
     [not found]   ` <1408698088-5349-5-git-send-email-a.motakis-lrHrjnjw1UfHK3s98zE1ajGjJy/sRE9J@public.gmane.org>
2014-08-26 10:50     ` Will Deacon
     [not found]       ` <20140826105027.GH23445-5wv7dgnIgG8@public.gmane.org>
2014-08-26 15:39         ` Antonios Motakis
     [not found]           ` <CAG8rG2z5Jqwnpr49vX7=rgXMtuKd-4=eBaS2JaOrdT6Tgn0hqg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-26 19:37             ` Alex Williamson
2014-08-25 23:56 ` [RFC 0/5] vfio: AMBA devices support Kim Phillips
     [not found]   ` <20140825185611.cc359282a66d6afe7a4a590e-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-26  7:39     ` Antonios Motakis
2014-08-26  7:41     ` Antonios Motakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox