All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/8] xen/arm: Add support for SMMUv3 driver
@ 2020-12-10 16:56 Rahul Singh
  2020-12-10 16:56 ` [PATCH v3 1/8] xen/arm: Import the SMMUv3 driver from Linux Rahul Singh
                   ` (8 more replies)
  0 siblings, 9 replies; 34+ messages in thread
From: Rahul Singh @ 2020-12-10 16:56 UTC (permalink / raw)
  To: xen-devel
  Cc: bertrand.marquis, rahul.singh, Stefano Stabellini, Julien Grall,
	Volodymyr Babchuk, Andrew Cooper, George Dunlap, Ian Jackson,
	Jan Beulich, Wei Liu, Paul Durrant

This patch series is v3 of the work to add support for the SMMUv3 driver.

Approach taken is to first merge the Linux copy of the SMMUv3 driver
(tag v5.8.18) and then modify the driver to build on XEN.

MSI and PCI ATS functionality are not supported. Code is not tested and
compiled. Code is guarded by the flag CONFIG_PCI_ATS and CONFIG_MSI to compile
the driver.

Code specific to Linux is removed from the driver to avoid dead code.

Driver is currently supported as tech preview.

Following functionality should be supported before driver is out for tech
preview
1. Investigate the timing analysis of using spin lock in place of mutex when
   attaching a  device to SMMU.
2. Merged the latest Linux SMMUv3 driver code once atomic operation is
   available in XEN.
3. PCI ATS and MSI interrupts should be supported.
4. Investigate side-effect of using tasklet in place of threaded IRQ and fix
   if any.
5. fallthorugh keyword should be supported.
6. Implement the ffsll function in bitops.h file.

Rahul Singh (8):
  xen/arm: Import the SMMUv3 driver from Linux
  xen/arm: revert atomic operation related command-queue insertion patch
  xen/arm: revert patch related to XArray
  xen/arm: Remove support for Stage-1 translation on SMMUv3.
  xen/device-tree: Add dt_property_match_string helper
  xen/arm: Remove Linux specific code that is not usable in XEN
  xen/arm: Add support for SMMUv3 driver
  xen/arm: smmuv3: Remove linux compatibility functions.

 MAINTAINERS                           |    6 +
 SUPPORT.md                            |    1 +
 xen/common/device_tree.c              |   27 +
 xen/drivers/passthrough/Kconfig       |   11 +
 xen/drivers/passthrough/arm/Makefile  |    1 +
 xen/drivers/passthrough/arm/smmu-v3.c | 3316 +++++++++++++++++++++++++
 xen/include/xen/device_tree.h         |   12 +
 7 files changed, 3374 insertions(+)
 create mode 100644 xen/drivers/passthrough/arm/smmu-v3.c

-- 
2.17.1



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

end of thread, other threads:[~2020-12-15 11:36 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 16:56 [PATCH v3 0/8] xen/arm: Add support for SMMUv3 driver Rahul Singh
2020-12-10 16:56 ` [PATCH v3 1/8] xen/arm: Import the SMMUv3 driver from Linux Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-10 16:57 ` [PATCH v3 2/8] xen/arm: revert atomic operation related command-queue insertion patch Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-10 16:57 ` [PATCH v3 3/8] xen/arm: revert patch related to XArray Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-10 16:57 ` [PATCH v3 4/8] xen/arm: Remove support for Stage-1 translation on SMMUv3 Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-11 10:46     ` Rahul Singh
2020-12-10 16:57 ` [PATCH v3 5/8] xen/device-tree: Add dt_property_match_string helper Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-11 13:13   ` Bertrand Marquis
2020-12-10 16:57 ` [PATCH v3 6/8] xen/arm: Remove Linux specific code that is not usable in XEN Rahul Singh
2020-12-11  1:29   ` Stefano Stabellini
2020-12-11 13:16   ` Bertrand Marquis
2020-12-10 16:57 ` [PATCH v3 7/8] xen/arm: Add support for SMMUv3 driver Rahul Singh
2020-12-11  1:28   ` Stefano Stabellini
2020-12-11 19:43     ` Rahul Singh
2020-12-11 14:25   ` Julien Grall
2020-12-14 19:08     ` Rahul Singh
2020-12-14 19:35       ` Julien Grall
2020-12-15  9:42         ` Bertrand Marquis
2020-12-15 10:13           ` Julien Grall
2020-12-15 10:51             ` Bertrand Marquis
2020-12-15 11:31               ` Julien Grall
2020-12-15 11:35                 ` Bertrand Marquis
2020-12-10 16:57 ` [PATCH v3 8/8] xen/arm: smmuv3: Remove linux compatibility functions Rahul Singh
2020-12-11  1:29   ` Stefano Stabellini
2020-12-11 13:15   ` Bertrand Marquis
2020-12-11 13:57   ` Julien Grall
2020-12-11 14:29 ` [PATCH v3 0/8] xen/arm: Add support for SMMUv3 driver Julien Grall
2020-12-14 20:01   ` Rahul Singh
2020-12-15  1:52     ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.