acpi: arm: Add IORT Support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/213 patches 9 repliesIn review
- v1 posting 1/213 patches 2 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | acpi: arm: API: Populate/query rid-devid rid-sid map.xen/ xen/ xen/ | +239 | 4 replies | |
| 2/13 | acpi: arm: query estimated size of hardware domain's IORT.xen/ xen/ xen/ +1 more | +148 | 2 replies | |
| 3/13 | acpi: arm: Code to generate Hardware Domains IORTxen/ xen/ xen/ +1 more | +346 | 3 replies | |
| 4/13 | acpi: arm: Copy fwnode / iommu_fwspec code from Linux 4.14xen/ xen/ xen/ +1 more | +252 | 0 replies | |
| 5/13 | acpi: arm: Import acpi_iort.h verbatim from linux 4.14xen/ | +57 | 0 replies | |
| 6/13 | acpi: arm: Update acpi_iort.h with xen specific changesxen/ | +2 | 0 replies | |
| 7/13 | arm: Adding ACPI_IORT in arm Kconfigxen/ | +4 | 0 replies | |
| 8/13 | asm: arm: pci: Fix the #include label in asm-arm/pci.hxen/ | +3 | 0 replies | |
| 9/13 | asm: arm: to_pci_devxen/ xen/ | +8 | 0 replies | |
| 10/13 | asm: arm: add dev_is_pcixen/ | +2 | 0 replies | |
| 11/13 | asm: arm: add pci_domain_nrxen/ | +2 | 0 replies | |
| 12/13 | acpi: arm: Provide support for iort iommu configuration hooksxen/ xen/ xen/ | +413 | 0 replies | |
| 13/13 | Add code to parse IORT and prepare rid maps.xen/ | +207 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH resend 00/13] acpi: arm: Add IORT Support
From: Manish Jaggi <[email protected]>
This patch aims to add the support of IORT in Xen. Below is the list of major components which this patchset provides.
a. Add support for parsing the IORT
b. Provides API to populate/query requesterid - streamID mappings and
reuqesterid - deviceid mappings
c. The requesterid - deviceid mappings is used to create the IORT for
hardware domain (which hides smmu nodes from IORT)
d. iort.c fwnode.h fwspec code is imported from linux and modified.
Changes since RFC
- Added more documentation
- Moved code to arch/arm/acpi/ folder
- Lot of fixes for review comments
This patch works with [1] but few modifiations were made
(a) path of acpi_iort.h has changed so fixed to asm/acpi/acpi_iort.h
(b) Macro #define alloc_io_pgtable_ops(f, c, o) in Patch 5 of [1] results in -ENOMEM and need to be fixed.
-[1] https://lists.xenproject.org/archives/html/xen-devel/2018-02/msg00713.html
Manish Jaggi (13):
acpi: arm: API: Populate/query rid-devid rid-sid map.
acpi: arm: query estimated size of hardware domain's IORT.
acpi: arm: Code to generate Hardware Domains IORT
acpi: arm: Copy fwnode / iommu_fwspec code from Linux 4.14
acpi: arm: Import acpi_iort.h verbatim from linux 4.14
acpi: arm: Update acpi_iort.h with xen specific changes
arm: Adding ACPI_IORT in arm Kconfig
asm: arm: pci: Fix the #include label in asm-arm/pci.h
asm: arm: to_pci_dev
asm: arm: add dev_is_pci
asm: arm: add pci_domain_nr
acpi: arm: Provide support for iort iommu configuration hooks
acpi: arm: Add code to parse IORT and prepare rid maps.
xen/arch/arm/Kconfig | 4 + xen/arch/arm/acpi/Makefile | 3 + xen/arch/arm/acpi/gen-iort.c | 400 +++++++++++++++++++++++ xen/arch/arm/acpi/iort.c | 608 +++++++++++++++++++++++++++++++++++ xen/arch/arm/acpi/ridmap.c | 126 ++++++++ xen/arch/arm/domain_build.c | 51 ++- xen/drivers/passthrough/arm/iommu.c | 85 +++++ xen/drivers/passthrough/arm/smmu.c | 3 +- xen/include/asm-arm/acpi.h | 1 + xen/include/asm-arm/acpi/acpi_iort.h | 51 +++ xen/include/asm-arm/acpi/gen-iort.h | 44 +++ xen/include/asm-arm/acpi/ridmap.h | 112 +++++++ xen/include/asm-arm/device.h | 17 +- xen/include/asm-arm/fwnode.h | 128 ++++++++ xen/include/asm-arm/fwspec.h | 38 +++ xen/include/asm-arm/pci.h | 12 +- xen/include/xen/pci.h | 2 + 17 files changed, 1675 insertions(+), 10 deletions(-) create mode 100644 xen/arch/arm/acpi/gen-iort.c create mode 100644 xen/arch/arm/acpi/iort.c create mode 100644 xen/arch/arm/acpi/ridmap.c create mode 100644 xen/include/asm-arm/acpi/acpi_iort.h create mode 100644 xen/include/asm-arm/acpi/gen-iort.h create mode 100644 xen/include/asm-arm/acpi/ridmap.h create mode 100644 xen/include/asm-arm/fwnode.h create mode 100644 xen/include/asm-arm/fwspec.h
Signature · 7 lines
2.14.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel