Skip to content

Commit f61c394

Browse files
stilorrafaeljw
authored andcommitted
ACPICA: Interpret SIDP structures in DMAR
ACPICA commit af51f730e0bccf789686cea68e116d5f0b27aacb Added in revision 3.4 of the VT-d spec. To support SIDP, part of the previously reserved field in the device scope structure was used to create a 1-byte "Flags" field. Link: acpica/acpica@af51f730 Signed-off-by: Alexey Neyman <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 12b6602 commit f61c394

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

include/acpi/actbl1.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,15 +819,17 @@ enum acpi_dmar_type {
819819
ACPI_DMAR_TYPE_HARDWARE_AFFINITY = 3,
820820
ACPI_DMAR_TYPE_NAMESPACE = 4,
821821
ACPI_DMAR_TYPE_SATC = 5,
822-
ACPI_DMAR_TYPE_RESERVED = 6 /* 6 and greater are reserved */
822+
ACPI_DMAR_TYPE_SIDP = 6,
823+
ACPI_DMAR_TYPE_RESERVED = 7 /* 7 and greater are reserved */
823824
};
824825

825826
/* DMAR Device Scope structure */
826827

827828
struct acpi_dmar_device_scope {
828829
u8 entry_type;
829830
u8 length;
830-
u16 reserved;
831+
u8 flags;
832+
u8 reserved;
831833
u8 enumeration_id;
832834
u8 bus;
833835
};
@@ -923,6 +925,15 @@ struct acpi_dmar_satc {
923925
u8 reserved;
924926
u16 segment;
925927
};
928+
929+
/* 6: so_c Integrated Device Property Reporting Structure */
930+
931+
struct acpi_dmar_sidp {
932+
struct acpi_dmar_header header;
933+
u16 reserved;
934+
u16 segment;
935+
};
936+
926937
/*******************************************************************************
927938
*
928939
* DRTM - Dynamic Root of Trust for Measurement table

0 commit comments

Comments
 (0)