Skip to content

Commit 091c4af

Browse files
benhor01rafaeljw
authored andcommitted
ACPICA: ACPI 6.4: PPTT: include all fields in subtable type1
In PPTT version 3 an extra field, Cache ID, was added to the Cache Type Structure. The struct, struct acpi_pptt_cache_v1, contains only this field. This differs from the treatment of other versioned structures and is unexpected for linux which reuses the actbl2.h header file. Include all the fields of the new Cache Type Structure in struct acpi_pptt_cache_v1 and fix up all uses. Link: acpica/acpica@a9ec9105f552 Signed-off-by: Ben Horgan <ben.horgan@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/1851677.VLH7GnMWUR@rafael.j.wysocki
1 parent 026ad37 commit 091c4af

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

include/acpi/actbl2.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,6 +2953,15 @@ struct acpi_pptt_cache {
29532953
/* 1: Cache Type Structure for PPTT version 3 */
29542954

29552955
struct acpi_pptt_cache_v1 {
2956+
struct acpi_subtable_header header;
2957+
u16 reserved;
2958+
u32 flags;
2959+
u32 next_level_of_cache;
2960+
u32 size;
2961+
u32 number_of_sets;
2962+
u8 associativity;
2963+
u8 attributes;
2964+
u16 line_size;
29562965
u32 cache_id;
29572966
};
29582967

0 commit comments

Comments
 (0)