xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: manish.jaggi@linaro.org
To: xen-devel@lists.xenproject.org, julien.grall@linaro.org,
	sameer.goel@linaro.org, andre.przywara@linaro.org
Cc: Manish Jaggi <manish.jaggi@linaro.org>, manish.jaggi@cavium.com
Subject: [RFC 00/11] acpi: arm: IORT Support for Xen
Date: Tue,  2 Jan 2018 14:57:58 +0530	[thread overview]
Message-ID: <20180102092809.1841-1-manish.jaggi@linaro.org> (raw)

From: Manish Jaggi <manish.jaggi@linaro.org>

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.
e. Few kernel helper routines are also imported from linux.

This patchset compiles with [1]  [RFC v4 0/8] SMMUv3 driver.

[1] https://lists.xen.org/archives/html/xen-devel/2017-12/msg01294.html

Manish Jaggi (11):
  acpi: arm: Public API for populating and query based on requesterid
  acpi: arm: API to query estimated size of hardware domain's IORT
  acpi: arm: Code to generate Hardware Domains IORT
  acpi: arm: Import iort.c and acpi_iort.h
  acpi: arm: Import fwnode.h from linux
  acpi: arm: fwnode xen spacific changes
  Add kernel helper functions
  Add ACPI_IORT config
  acpi: arm: Xen IORT Changes
  acpi: arm: IORT parsing functions to prepare requesterId maps
  Add to_pci_dev macro

 xen/arch/arm/Kconfig            |   5 +
 xen/arch/arm/domain_build.c     |  40 ++-
 xen/arch/arm/setup.c            |   2 +
 xen/drivers/acpi/Kconfig        |   3 +
 xen/drivers/acpi/Makefile       |   1 +
 xen/drivers/acpi/arm/Makefile   |   3 +
 xen/drivers/acpi/arm/gen-iort.c | 352 +++++++++++++++++++++++++
 xen/drivers/acpi/arm/iort.c     | 569 ++++++++++++++++++++++++++++++++++++++++
 xen/drivers/acpi/arm/ridmap.c   | 124 +++++++++
 xen/drivers/passthrough/iommu.c |  75 ++++++
 xen/include/acpi/acpi_iort.h    |  57 ++++
 xen/include/acpi/gen-iort.h     |   7 +
 xen/include/acpi/ridmap.h       |  77 ++++++
 xen/include/asm-arm/acpi.h      |   1 +
 xen/include/asm-arm/device.h    |  11 +-
 xen/include/xen/fwnode.h        | 125 +++++++++
 xen/include/xen/iommu.h         |  22 ++
 xen/include/xen/kernel.h        |  10 +
 xen/include/xen/pci.h           |   3 +
 19 files changed, 1484 insertions(+), 3 deletions(-)
 create mode 100644 xen/drivers/acpi/arm/Makefile
 create mode 100644 xen/drivers/acpi/arm/gen-iort.c
 create mode 100644 xen/drivers/acpi/arm/iort.c
 create mode 100644 xen/drivers/acpi/arm/ridmap.c
 create mode 100644 xen/include/acpi/acpi_iort.h
 create mode 100644 xen/include/acpi/gen-iort.h
 create mode 100644 xen/include/acpi/ridmap.h
 create mode 100644 xen/include/xen/fwnode.h

-- 
2.14.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

             reply	other threads:[~2018-01-02  9:28 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-02  9:27 manish.jaggi [this message]
2018-01-02  9:27 ` [RFC 01/11] acpi: arm: Public API for populating and query based on requesterid manish.jaggi
2018-01-16 17:53   ` Julien Grall
2018-01-16 18:31   ` Julien Grall
2018-01-19  6:05     ` Manish Jaggi
2018-01-19 12:03       ` Julien Grall
2018-01-22  5:07         ` Manish Jaggi
2018-01-22 13:40           ` Julien Grall
2018-01-02  9:28 ` [RFC 02/11] acpi: arm: API to query estimated size of hardware domain's IORT manish.jaggi
2018-01-16 18:52   ` Julien Grall
2018-01-19  6:10     ` Manish Jaggi
2018-01-22 13:45       ` Julien Grall
2018-01-02  9:28 ` [RFC 03/11] acpi: arm: Code to generate Hardware Domains IORT manish.jaggi
2018-01-18 18:32   ` Julien Grall
2018-01-02  9:28 ` [RFC 04/11] Import iort.c and acpi_iort.h manish.jaggi
2018-01-02  9:28 ` [RFC 05/11] Import fwnode.h from linux manish.jaggi
2018-01-02  9:28 ` [RFC 06/11] fwnode xen spacific changes manish.jaggi
2018-01-18 18:51   ` Julien Grall
2018-03-06 10:27     ` Manish Jaggi
2018-03-06 14:29       ` Julien Grall
2018-03-06 13:43     ` Manish Jaggi
2018-03-06 13:44       ` Manish Jaggi
2018-03-06 14:22         ` Julien Grall
2018-01-02  9:28 ` [RFC 07/11] Add kernel helper functions manish.jaggi
2018-01-18 18:55   ` Julien Grall
2018-01-19  9:33     ` Jan Beulich
2018-02-08 21:56   ` Sameer Goel
2018-01-02  9:28 ` [RFC 08/11] Add ACPI_IORT config manish.jaggi
2018-01-18 19:01   ` Julien Grall
2018-01-02  9:28 ` [RFC 09/11] Xen IORT Changes manish.jaggi
2018-01-18 19:10   ` Julien Grall
2018-01-02  9:28 ` [RFC 10/11] IORT parsing functions to prepare requesterId maps manish.jaggi
2018-01-02  9:28 ` [RFC 11/11] Add to_pci_dev macro manish.jaggi
2018-01-18 19:15   ` Julien Grall
2018-02-08 21:54   ` Sameer Goel
2018-01-16 17:53 ` [RFC 00/11] acpi: arm: IORT Support for Xen Julien Grall

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=20180102092809.1841-1-manish.jaggi@linaro.org \
    --to=manish.jaggi@linaro.org \
    --cc=andre.przywara@linaro.org \
    --cc=julien.grall@linaro.org \
    --cc=manish.jaggi@cavium.com \
    --cc=sameer.goel@linaro.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).