RE: [PATCH 01/33] ACPI / PPTT: Add a helper to fill a cpumask from a processor container
From: Shaopeng Tan (Fujitsu)
Date: Wed Nov 12 2025 - 00:45:35 EST
> From: James Morse <james.morse@xxxxxxx>
>
> 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>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
> Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
> Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>
> Tested-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
> Tested-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>
> Tested-by: Peter Newman <peternewman@xxxxxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
Reviewed-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>