Re: [PATCH v2 01/29] ACPI / PPTT: Add a helper to fill a cpumask from a processor container

From: James Morse
Date: Fri Oct 10 2025 - 12:55:27 EST


Hi Fenghua,

On 02/10/2025 04:35, Fenghua Yu wrote:
> On 9/10/25 13:42, James Morse wrote:
>> The ACPI MPAM table uses the UID of a processor container specified in
>> the PPTT to indicate the subset of CPUs and cache topology that can
>> access each MPAM System Component (MSC).
>>
>> This information is not directly useful to the kernel. The equivalent
>> cpumask is needed instead.
>>
>> Add a helper to find the processor container by its id, then walk
>> the possible CPUs to fill a cpumask with the CPUs that have this
>> processor container as a parent.
>>
>> CC: Dave Martin <dave.martin@xxxxxxx>
>> Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxx>
>> Signed-off-by: James Morse <james.morse@xxxxxxx>
>
> Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>


Thanks!

James