[PATCH v5 10/34] arm_mpam: Add probe/remove for mpam msc driver and kbuild boiler plate

Shaopeng Tan (Fujitsu) tan.shaopeng at fujitsu.com
Mon Nov 17 21:19:11 PST 2025


> From: James Morse <james.morse at arm.com>
> 
> Probing MPAM is convoluted. MSCs that are integrated with a CPU may only be
> accessible from those CPUs, and they may not be online.
> Touching the hardware early is pointless as MPAM can't be used until the
> system-wide common values for num_partid and num_pmg have been
> discovered.
> 
> Start with driver probe/remove and mapping the MSC.
> 
> Cc: Carl Worth <carl at os.amperecomputing.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> Reviewed-by: Fenghua Yu <fenghuay at nvidia.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>
> Tested-by: Carl Worth <carl at os.amperecomputing.com>
> Tested-by: Gavin Shan <gshan at redhat.com>
> Tested-by: Zeng Heng <zengheng4 at huawei.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