[PATCH 20/33] arm_mpam: Extend reset logic to allow devices to be reset any time

Shaopeng Tan (Fujitsu) tan.shaopeng at fujitsu.com
Thu Nov 13 18:52:20 PST 2025


> From: James Morse <james.morse at arm.com>
> 
> cpuhp callbacks aren't the only time the MSC configuration may need to be
> reset. Resctrl has an API call to reset a class.
> If an MPAM error interrupt arrives it indicates the driver has misprogrammed an
> MSC. The safest thing to do is reset all the MSCs and disable MPAM.
> 
> Add a helper to reset RIS via their class. Call this from mpam_disable(), which
> can be scheduled from the error interrupt handler.
> 
> Signed-off-by: James Morse <james.morse at arm.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
> Reviewed-by: Ben Horgan <ben.horgan at arm.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: 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