Skip to content

Commit d62e2ed

Browse files
weiny2davejiang
authored andcommitted
ACPI/CDAT: Add CDAT/DSMAS shared and read only flag values
The Coherent Device Attribute Table (CDAT) Device Scoped Memory Affinity Structure (DSMAS) version 1.04 [1] defines flags to indicate if a DPA range is read only and/or shared. Add read only and shareable flag definitions. This change was merged in ACPICA via PR 976.[2] Link: https://uefi.org/sites/default/files/resources/Coherent%20Device%20Attribute%20Table_1.04%20published_0.pdf [1] Link: acpica/acpica#976 [2] Cc: Robert Moore <[email protected]> Cc: Len Brown <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: [email protected] Cc: [email protected] Acked-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
1 parent 06cf321 commit d62e2ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/acpi/actbl1.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ struct acpi_cdat_dsmas {
403403
/* Flags for subtable above */
404404

405405
#define ACPI_CDAT_DSMAS_NON_VOLATILE (1 << 2)
406+
#define ACPI_CDAT_DSMAS_SHAREABLE (1 << 3)
407+
#define ACPI_CDAT_DSMAS_READ_ONLY (1 << 6)
406408

407409
/* Subtable 1: Device scoped Latency and Bandwidth Information Structure (DSLBIS) */
408410

0 commit comments

Comments
 (0)