Commit 091c4af3 authored by Ben Horgan's avatar Ben Horgan Committed by Rafael J. Wysocki
Browse files

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: https://github.com/acpica/acpica/commit/a9ec9105f552


Signed-off-by: default avatarBen Horgan <ben.horgan@arm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1851677.VLH7GnMWUR@rafael.j.wysocki
parent 026ad376
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2953,6 +2953,15 @@ struct acpi_pptt_cache {
/* 1: Cache Type Structure for PPTT version 3 */

struct acpi_pptt_cache_v1 {
	struct acpi_subtable_header header;
	u16 reserved;
	u32 flags;
	u32 next_level_of_cache;
	u32 size;
	u32 number_of_sets;
	u8 associativity;
	u8 attributes;
	u16 line_size;
	u32 cache_id;
};