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

Shaopeng Tan (Fujitsu) tan.shaopeng at fujitsu.com
Tue Nov 11 21:45:32 PST 2025


> From: James Morse <james.morse at arm.com>
> 
> 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 at arm.com>
> Reviewed-by: Sudeep Holla <sudeep.holla at arm.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> Reviewed-by: Fenghua Yu <fenghuay at nvidia.com>
> Reviewed-by: Gavin Shan <gshan at redhat.com>
> Tested-by: Fenghua Yu <fenghuay at nvidia.com>
> Tested-by: Shaopeng Tan <tan.shaopeng at jp.fujitsu.com>
> Tested-by: Peter Newman <peternewman at google.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> Signed-off-by: Ben Horgan <ben.horgan at arm.com>

Reviewed-by: Shaopeng Tan <tan.shaopeng at jp.fujitsu.com>



More information about the linux-arm-kernel mailing list