[PATCH 20/33] arm_mpam: Extend reset logic to allow devices to be reset any time
Fenghua Yu
fenghuay at nvidia.com
Thu Nov 13 12:24:42 PST 2025
On 11/7/25 04:34, Ben Horgan wrote:
> 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: Fenghua Yu <fenghuay at nvidia.com>
Thanks.
-Fenghua
More information about the linux-arm-kernel
mailing list