Skip to contentSkip to conversation

ARM: ACPI: ITS: Add ITS Support for ACPI hardware domain

PATCH Superseded Manish Jaggi 1 participant 1 message Jun 16, 2017

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

cover ARM: ACPI: ITS: Add ITS Support for ACPI hardware domain

Hi,

This patch series adds the support of ITS for ACPI hardware domain. It is tested on staging branch with has ITS v12 patchset by Andre.

I have tried to incorporate the review comments on the RFC v1/v2 patch. The single patch in RFC is now split into 4 patches.

Patch1: ARM: ITS: Add translation_id to host_its
Adds translation_id in host_its data structure, which is populated from translation_id read from firmware MADT. This value is then programmed into local MADT created for hardware domain in patch 4.

Patch2: ARM: ITS: ACPI: Introduce gicv3_its_acpi_init
Introduces function for its_acpi_init, which calls add_to_host_its_list which is a common function also called from _dt variant.

Patch3: ARM: ITS: Deny hardware domain access to its
Extends the gicv3_iomem_deny to include its regions as well

Patch4: ARM: ACPI: Add ITS to hardware domain MADT
This patch adds ITS information in hardware domain's MADT table. Also this patch introduces .get_hwdom_madt_size in gic_hw_operations, to return the complete size of MADT table for hardware domain.

Manish Jaggi (4):
ARM: ITS: Add translation_id to host_its
ARM: ITS: ACPI: Introduce gicv3_its_acpi_init
ARM: ITS: Deny hardware domain access to its
ARM: ACPI: Add ITS to hardware domain MADT

 xen/arch/arm/domain_build.c      |   7 +--
 xen/arch/arm/gic-v2.c            |   6 +++
 xen/arch/arm/gic-v3-its.c        | 102 
+++++++++++++++++++++++++++++++++++----
 xen/arch/arm/gic-v3.c            |  31 ++++++++++++
 xen/arch/arm/gic.c               |  11 +++++
 xen/include/asm-arm/gic.h        |   3 ++
 xen/include/asm-arm/gic_v3_its.h |  36 ++++++++++++++
 7 files changed, 180 insertions(+), 16 deletions(-)
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel