]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg:IORT header update for IORT Rev E.e spec
authorSwatisri Kantamsetti <swatisrik@nvidia.com>
Wed, 25 Jan 2023 18:40:54 +0000 (02:40 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Feb 2023 06:47:57 +0000 (06:47 +0000)
The IO Remapping Table, Platform Design Document, Revision E.e,
Sept 2022 (https://developer.arm.com/documentation/den0049/ee)
added flags in SMMUv3 node for validity of ID mappings for MSIs
related to control interrupts.

Therefore, update the IORT header file to:
- increment IORT table revision to 6
- add support for DeviceId valid flag

Signed-off-by: Swatisri Kantamsetti <swatisrik@nvidia.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/IndustryStandard/IoRemappingTable.h

index f48a4a95cd71a147098dff33eff3096b52021990..544aa67a05d0e147501f11a6ad6da5a0a9ffda1a 100644 (file)
@@ -9,6 +9,8 @@
   @par Reference(s):\r
   - IO Remapping Table, Platform Design Document, Revision E.d, Feb 2022\r
     (https://developer.arm.com/documentation/den0049/)\r
+  - IO Remapping Table, Platform Design Document, Revision E.e, Sept 2022\r
+      (https://developer.arm.com/documentation/den0049/)\r
 \r
   @par Glossary:\r
   - Ref  : Reference\r
@@ -24,6 +26,7 @@
 #define EFI_ACPI_IO_REMAPPING_TABLE_REVISION_00  0x0\r
 #define EFI_ACPI_IO_REMAPPING_TABLE_REVISION_04  0x4   // Deprecated\r
 #define EFI_ACPI_IO_REMAPPING_TABLE_REVISION_05  0x5\r
+#define EFI_ACPI_IO_REMAPPING_TABLE_REVISION_06  0x6\r
 \r
 #define EFI_ACPI_IORT_TYPE_ITS_GROUP     0x0\r
 #define EFI_ACPI_IORT_TYPE_NAMED_COMP    0x1\r
@@ -59,6 +62,7 @@
 #define EFI_ACPI_IORT_SMMUv3_FLAG_COHAC_OVERRIDE    BIT0\r
 #define EFI_ACPI_IORT_SMMUv3_FLAG_HTTU_OVERRIDE     BIT1\r
 #define EFI_ACPI_IORT_SMMUv3_FLAG_PROXIMITY_DOMAIN  BIT3\r
+#define EFI_ACPI_IORT_SMMUv3_FLAG_DEVICEID_VALID    BIT4\r
 \r
 #define EFI_ACPI_IORT_SMMUv3_MODEL_GENERIC           0x0\r
 #define EFI_ACPI_IORT_SMMUv3_MODEL_HISILICON_HI161X  0x1\r