All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM: ACPI: IORT: Hide SMMU from hardware domain's IORT table
@ 2017-09-11 21:33 mjaggi
  2017-09-11 21:33 ` [PATCH 1/2] ARM: ACPI: IORT: Estimate the size of hardware domain " mjaggi
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: mjaggi @ 2017-09-11 21:33 UTC (permalink / raw)
  To: xen-devel
  Cc: Andre.Przywara, julien.grall, sstabellini, Manish Jaggi, tomasz.nowicki

From: Manish Jaggi <mjaggi@cavium.com>

The set is divided into two patches. First one calculates the size of IORT
while second one writes the IORT table itself.

patch1: estimates size of hardware domain IORT table by parsing all
the pcirc nodes and their idmaps, and thereby calculating size by
removing smmu nodes.

Hardware domain IORT table will have only ITS and PCIRC nodes, and PCIRC
nodes' idmap will have output refrences to ITS group nodes.

patch 2: The steps are:
a. First ITS group nodes are written and their offsets are saved
along with the respective offsets from the firmware table.
This is required when smmu node is hidden and smmu node still points
to the old output_reference.

b. PCIRC idmap is parsed and a list of idmaps is created which will
have PCIRC idmap -> ITS group nodes.
Each idmap is written by resolving ITS offset from the map saved in
previous step.

Changes wrt v1:
No assumption is made wrt format of IORT / hw support

Manish Jaggi (2):
  ARM: ACPI: IORT: Estimate the size of hardware domain IORT table
  ARM: ACPI: IORT: Write Hardware domain's IORT table

 xen/arch/arm/acpi/Makefile  |   1 +
 xen/arch/arm/acpi/iort.c    | 414 ++++++++++++++++++++++++++++++++++++++++++++
 xen/arch/arm/domain_build.c |  49 +++++-
 xen/include/asm-arm/acpi.h  |   1 +
 xen/include/asm-arm/iort.h  |  17 ++
 5 files changed, 481 insertions(+), 1 deletion(-)
 create mode 100644 xen/arch/arm/acpi/iort.c
 create mode 100644 xen/include/asm-arm/iort.h

-- 
2.7.4


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-10-12 21:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 21:33 [PATCH v2 0/2] ARM: ACPI: IORT: Hide SMMU from hardware domain's IORT table mjaggi
2017-09-11 21:33 ` [PATCH 1/2] ARM: ACPI: IORT: Estimate the size of hardware domain " mjaggi
2017-09-11 21:33 ` [PATCH 2/2] ARM: ACPI: IORT: Write Hardware domain's " mjaggi
2017-09-22 14:12 ` [PATCH v2 0/2] ARM: ACPI: IORT: Hide SMMU from hardware " Andre Przywara
2017-09-25  4:22   ` Manish Jaggi
2017-10-03 18:42     ` Julien Grall
2017-10-04  5:22       ` Manish Jaggi
2017-10-06 14:24         ` Julien Grall
2017-10-12  6:11           ` Manish Jaggi
2017-10-12 11:04             ` Julien Grall
2017-10-12 11:22               ` Manish Jaggi
2017-10-12 11:44                 ` Julien Grall
2017-10-12 21:08                   ` Manish Jaggi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.