Skip to content

SMMUv3 driver

Sameer Goel xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesIn review
  2. v26 patches 26 repliesSuperseded
  3. v17 patches 28 repliesSuperseded

Changes in v3 from the cover letter

- Changes to variables and file names.
- No functional changes.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Define WARN_ON_ONCE() macro to mirror Linux functionalityxen/arch/arm/xen.lds.S xen/arch/x86/xen.lds.S xen/include/xen/lib.h+15 -00 replies
2/6passthrough/arm: Modify SMMU driver to use generic device definitionxen/drivers/passthrough/arm/smmu.c+6 -60 replies
3/6Add verbatim copy of arm-smmu-v3.c from Linuxxen/drivers/passthrough/arm/smmu-v3.c+2885 -00 replies
4/6xen/iommu: smmu-v3: Add Xen specific code to enable the ported driverxen/arch/arm/p2m.c xen/drivers/Kconfig xen/drivers/passthrough/arm/Kconfig +3 more+1001 -290 replies
5/6drivers/passthrough/arm: Refactor code for arm smmu driversxen/drivers/passthrough/arm/smmu-v3.c xen/drivers/passthrough/arm/smmu.c xen/drivers/passthrough/arm/smmu.h+128 -1973 replies
6/6xen/smmu: Add a new config define for legacy SMMUxen/drivers/passthrough/arm/Kconfig xen/drivers/passthrough/arm/Makefile+7 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchJulien Grall
1/6A-b
2/6A-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [v3 0/6] SMMUv3 driver

This patch adds support for the SMMUv3 driver.

List of changes:
- Addition of a linux_compat header.
- Addition of a common header for arm smmu defines.
- Rebase of the SMMUv3 driver to the driver in linux kernel 4.14 rc7.
- New config defines for ARM SMMU drivers.

Changes in v3
- Changes to variables and file names.
- No functional changes.

Changes in v2 [3]
- Tasklets for evtq and priq.

[1] https://lists.xenproject.org/archives/html/xen-devel/2018-03/msg01108.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2018-02/msg00713.html
[3] https://lists.xenproject.org/archives/html/xen-devel/2018-05/msg01693.html

The IORT support will come from [1]. The first revision of this patch can be seen in [2].

Sameer Goel (6):
Define WARN_ON_ONCE() macro to mirror Linux functionality passthrough/arm: Modify SMMU driver to use generic device definition Add verbatim copy of arm-smmu-v3.c from Linux
xen/iommu: smmu-v3: Add Xen specific code to enable the ported driver drivers/passthrough/arm: Refactor code for arm smmu drivers xen/smmu: Add a new config define for legacy SMMU

 xen/arch/arm/p2m.c                    |    1 +
 xen/arch/arm/xen.lds.S                |    1 +
 xen/arch/x86/xen.lds.S                |    1 +
 xen/drivers/Kconfig                   |    2 +
 xen/drivers/passthrough/arm/Kconfig   |   14 +
 xen/drivers/passthrough/arm/Makefile  |    3 +-
 xen/drivers/passthrough/arm/smmu-v3.c | 3667 +++++++++++++++++++++++++
 xen/drivers/passthrough/arm/smmu.c    |  114 +-
 xen/drivers/passthrough/arm/smmu.h    |  125 +
 xen/include/xen/lib.h                 |   13 +
 xen/include/xen/linux-compat.h        |   84 +
 11 files changed, 3917 insertions(+), 108 deletions(-)
 create mode 100644 xen/drivers/passthrough/arm/Kconfig
 create mode 100644 xen/drivers/passthrough/arm/smmu-v3.c
 create mode 100644 xen/drivers/passthrough/arm/smmu.h
 create mode 100644 xen/include/xen/linux-compat.h
Signature · 7 lines
2.17.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel