Skip to content

Commit aa475a5

Browse files
Erik Schmaussrafaeljw
authored andcommitted
ACPICA: ACPI 6.3: SRAT: add Generic Affinity Structure subtable
ACPICA commit 8c9eba7811a939a387d93d6c2a572d0887e64f2c Link: acpica/acpica@8c9eba78 Signed-off-by: Erik Schmauss <erik.schmauss@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent f00175d commit aa475a5

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

include/acpi/actbl3.h

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ enum acpi_srat_type {
190190
ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,
191191
ACPI_SRAT_TYPE_GICC_AFFINITY = 3,
192192
ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */
193-
ACPI_SRAT_TYPE_RESERVED = 5 /* 5 and greater are reserved */
193+
ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5, /* ACPI 6.3 */
194+
ACPI_SRAT_TYPE_RESERVED = 6 /* 5 and greater are reserved */
194195
};
195196

196197
/*
@@ -271,6 +272,22 @@ struct acpi_srat_gic_its_affinity {
271272
u32 its_id;
272273
};
273274

275+
/* 5: Generic Initiator Affinity Structure (ACPI 6.3) */
276+
277+
struct acpi_srat_generic_affinity {
278+
struct acpi_subtable_header header;
279+
u8 reserved;
280+
u8 device_handle_type;
281+
u32 proximity_domain;
282+
u8 device_handle[16];
283+
u32 flags;
284+
u32 reserved1;
285+
};
286+
287+
/* Flags for struct acpi_srat_generic_affinity */
288+
289+
#define ACPI_SRAT_GENERIC_AFFINITY_ENABLED (1) /* 00: Use affinity structure */
290+
274291
/*******************************************************************************
275292
*
276293
* STAO - Status Override Table (_STA override) - ACPI 6.0

0 commit comments

Comments
 (0)