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

From: Shaopeng Tan (Fujitsu)
Date: Tue Nov 18 2025 - 00:27:24 EST


> From: James Morse <james.morse@xxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
> Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
> Tested-by: Fenghua Yu <fenghuay@xxxxxxxxxx>
> Tested-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>
> Tested-by: Peter Newman <peternewman@xxxxxxxxxx>
> Tested-by: Carl Worth <carl@xxxxxxxxxxxxxxxxxxxxxx>
> Tested-by: Gavin Shan <gshan@xxxxxxxxxx>
> Tested-by: Zeng Heng <zengheng4@xxxxxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
> ---

Reviewed-by: Shaopeng Tan <tan.shaopeng@xxxxxxxxxxxxxx>