From: mjaggi@caviumnetworks.com
To: manish.jaggi@linaro.org, julien.grall@arm.com,
xen-devel@lists.xenproject.org, sameer.goel@linaro.org,
jgross@suse.com, sstabellini@kernel.org
Cc: Manish Jaggi <mjaggi@caviumnetworks.com>, manish.jaggi@cavium.com
Subject: [PATCH resend 00/13] acpi: arm: Add IORT Support
Date: Tue, 13 Mar 2018 20:50:06 +0530 [thread overview]
Message-ID: <cover.1520834718.git.mjaggi@caviumnetworks.com> (raw)
From: Manish Jaggi <mjaggi@caviumnetworks.com>
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
--
2.14.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next reply other threads:[~2018-03-13 15:21 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 15:20 mjaggi [this message]
2018-03-13 15:20 ` [PATCH resend 01/13] acpi: arm: API: Populate/query rid-devid rid-sid map mjaggi
2018-03-21 9:29 ` Julien Grall
2018-03-21 9:34 ` Manish Jaggi
2018-03-21 9:41 ` Julien Grall
2018-03-21 9:29 ` Julien Grall
2018-03-13 15:20 ` [PATCH resend 02/13] acpi: arm: query estimated size of hardware domain's IORT mjaggi
2018-03-21 10:12 ` Julien Grall
2018-03-28 11:24 ` Manish Jaggi
2018-03-13 15:20 ` [PATCH resend 03/13] acpi: arm: Code to generate Hardware Domains IORT mjaggi
2018-03-23 1:28 ` Julien Grall
2018-03-23 4:17 ` Manish Jaggi
2018-03-23 4:55 ` Julien Grall
2018-03-13 15:20 ` [PATCH resend 04/13] acpi: arm: Copy fwnode / iommu_fwspec code from Linux 4.14 mjaggi
2018-03-13 15:20 ` [PATCH resend 05/13] acpi: arm: Import acpi_iort.h verbatim from linux 4.14 mjaggi
2018-03-13 15:20 ` [PATCH resend 06/13] acpi: arm: Update acpi_iort.h with xen specific changes mjaggi
2018-03-13 15:20 ` [PATCH resend 07/13] arm: Adding ACPI_IORT in arm Kconfig mjaggi
2018-03-13 15:20 ` [PATCH resend 08/13] asm: arm: pci: Fix the #include label in asm-arm/pci.h mjaggi
2018-03-13 15:20 ` [PATCH resend 09/13] asm: arm: to_pci_dev mjaggi
2018-03-13 15:20 ` [PATCH resend 10/13] asm: arm: add dev_is_pci mjaggi
2018-03-13 15:20 ` [PATCH resend 11/13] asm: arm: add pci_domain_nr mjaggi
2018-03-13 15:20 ` [PATCH resend 12/13] acpi: arm: Provide support for iort iommu configuration hooks mjaggi
2018-03-13 15:20 ` [PATCH resend 13/13] Add code to parse IORT and prepare rid maps mjaggi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1520834718.git.mjaggi@caviumnetworks.com \
--to=mjaggi@caviumnetworks.com \
--cc=jgross@suse.com \
--cc=julien.grall@arm.com \
--cc=manish.jaggi@cavium.com \
--cc=manish.jaggi@linaro.org \
--cc=sameer.goel@linaro.org \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).