Skip to content

Commit 6143f96

Browse files
davejiangrafaeljw
authored andcommitted
ACPICA: HMAT: Add extended linear address mode to MSCIS
ACPICA commit aaa08569b81aa4d9ff59f91f00e589e98d499e6c Redefine the 2 reserved bytes at offset 28 of Memory Side Cache Information Structure as "Address Mode" and add defines of the new value. * 0 - Reserved (Unkown Address Mode) * 1 - Extended-linear (N direct-map aliases linearly mapped) * 2..65535 - Reserved (Unknown Address Mode) Link: acpica/acpica@aaa08569 Signed-off-by: Dave Jiang <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5506544 commit 6143f96

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/acpi/actbl1.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ struct acpi_hmat_cache {
17961796
u32 reserved1;
17971797
u64 cache_size;
17981798
u32 cache_attributes;
1799-
u16 reserved2;
1799+
u16 address_mode;
18001800
u16 number_of_SMBIOShandles;
18011801
};
18021802

@@ -1808,6 +1808,9 @@ struct acpi_hmat_cache {
18081808
#define ACPI_HMAT_WRITE_POLICY (0x0000F000)
18091809
#define ACPI_HMAT_CACHE_LINE_SIZE (0xFFFF0000)
18101810

1811+
#define ACPI_HMAT_CACHE_MODE_UNKNOWN (0)
1812+
#define ACPI_HMAT_CACHE_MODE_EXTENDED_LINEAR (1)
1813+
18111814
/* Values for cache associativity flag */
18121815

18131816
#define ACPI_HMAT_CA_NONE (0)

0 commit comments

Comments
 (0)