iasl: Add SMMUv3 device ID mapping index support
Hanjun Guo
PATCH 1/1 iasl: Add SMMUv3 device ID mapping index support
From: Hanjun Guo <hanjun.guo(a)linaro.org>
SMMUv3 device ID mapping index is used for SMMUv3
MSI, add its support for iasl.
--- source/common/dmtbinfo.c | 1 + source/include/actbl2.h | 1 + 2 files changed, 2 insertions(+)
source/common/dmtbinfo.c +1 -0
@@ -1850,6 +1850,7 @@ ACPI_DMTABLE_INFO AcpiDmTableInfoIort4[] = {ACPI_DMT_UINT8, ACPI_IORT4_OFFSET (Pxm), "Proximity Domain", 0}, {ACPI_DMT_UINT8, ACPI_IORT4_OFFSET (Reserved1), "Reserved", 0}, {ACPI_DMT_UINT16, ACPI_IORT4_OFFSET (Reserved2), "Reserved", 0}, + {ACPI_DMT_UINT32, ACPI_IORT4_OFFSET (DevIdMappingIndex), "DeviceID mapping index", 0},ACPI_DMT_TERMINATOR };
source/include/actbl2.h +1 -0
@@ -1047,6 +1047,7 @@ typedef struct acpi_iort_smmu_v3UINT8 Pxm;UINT8 Reserved1;UINT16 Reserved2; +UINT32 DevIdMappingIndex; }ACPI_IORT_SMMU_V3 ;
Signature · 1 line
1.7.12.4
Moore
/*******************************************************************************
*
* IORT - IO Remapping Table
*
* Conforms to "IO Remapping Table System Software on ARM Platforms",
* Document number: ARM DEN 0049C, May 2017
* ******************************************************************************/
Is there a new version of this spec (with definition of IORT)?
Al Stone
Quoted 9 lines · Robert
/*******************************************************************************
*
* IORT - IO Remapping Table
*
* Conforms to "IO Remapping Table System Software on ARM Platforms",
* Document number: ARM DEN 0049C, May 2017
* ******************************************************************************/
Is there a new version of this spec (with definition of IORT)?
Of course, in the same place it always is: http://uefi.org/acpi
See section 3.1.1.2, Table 9.
Signature · 8 lines
ciao, al ----------------------------------- Al Stone Software Engineer Red Hat, Inc. ahs3(a)redhat.com -----------------------------------
Hanjun Guo
Quoted 11 lines · Al Stone
Quoted 9 lines · Robert
/*******************************************************************************
*
* IORT - IO Remapping Table
*
* Conforms to "IO Remapping Table System Software on ARM Platforms",
* Document number: ARM DEN 0049C, May 2017
* ******************************************************************************/
Is there a new version of this spec (with definition of IORT)?
Quoted 3 lines
Of course, in the same place it always is: http://uefi.org/acpi
See section 3.1.1.2, Table 9.
Thanks Al :)
Bob, should I do anything more to get it merged?
Thanks
Hanjun