mbox series

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

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

Message

Sameer Goel June 7, 2018, 11:47 p.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.

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