mbox series

[Xen-devel,v2,0/6] SMMUv3 driver

Message ID 20180524004620.23828-1-sameer.goel@linaro.org
Headers show
Series SMMUv3 driver | expand

Message

Sameer Goel May 24, 2018, 12:46 a.m. UTC
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.
- 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
The IORT support will come from [1].
Sameer Goel (6):
  Port WARN_ON_ONCE() from Linux
  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/arm_smmu.h |  125 +
 xen/drivers/passthrough/arm/smmu-v3.c  | 3667 ++++++++++++++++++++++++
 xen/drivers/passthrough/arm/smmu.c     |  114 +-
 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/arm_smmu.h
 create mode 100644 xen/drivers/passthrough/arm/smmu-v3.c
 create mode 100644 xen/include/xen/linux_compat.h