[PATCH 03/33] ACPI / PPTT: Add acpi_pptt_cache_v1_full to use pptt cache as one structure
Fenghua Yu
fenghuay at nvidia.com
Wed Nov 12 12:22:19 PST 2025
On 11/7/25 04:34, Ben Horgan wrote:
> In actbl2.h, struct acpi_pptt_cache describes the fields in the original
> cache type structure. In PPTT table version 3 a new field was added at the
> end, cache_id. This is described in struct acpi_pptt_cache_v1. Introduce
> the new, acpi_pptt_cache_v1_full to contain both these structures. Update
> the existing code to use this new struct. This simplifies the code, removes
> a non-standard use of ACPI_ADD_PTR and allows using the length in the
> header to check if the cache_id is valid.
>
> Signed-off-by: Ben Horgan <ben.horgan at arm.com>
Reviewed-by: Fenghua Yu <fenghuay at nvidia.com>
Thanks.
-Fenghua
More information about the linux-arm-kernel
mailing list