Re: [PATCH 05/33] ACPI / PPTT: Add a helper to fill a cpumask from a cache_id

From: Fenghua Yu

Date: Wed Nov 12 2025 - 15:26:34 EST




On 11/7/25 04:34, Ben Horgan wrote:
From: James Morse <james.morse@xxxxxxx>

MPAM identifies CPUs by the cache_id in the PPTT cache structure.

The driver needs to know which CPUs are associated with the cache.
The CPUs may not all be online, so cacheinfo does not have the
information.

Add a helper to pull this information out of the PPTT.

CC: Rohit Mathew <Rohit.Mathew@xxxxxxx>
Signed-off-by: James Morse <james.morse@xxxxxxx>
Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>

Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
Tested-by: Fenghua Yu <fenghuay@xxxxxxxxxx>

Thanks.

-Fenghua