[PATCH v2 16/29] arm_mpam: Add a helper to touch an MSC from any CPU
James Morse
james.morse at arm.com
Wed Oct 1 02:50:49 PDT 2025
Hi Jonathan,
On 12/09/2025 12:57, Jonathan Cameron wrote:
> On Wed, 10 Sep 2025 20:42:56 +0000
> James Morse <james.morse at arm.com> wrote:
>
>> Resetting RIS entries from the cpuhp callback is easy as the
>> callback occurs on the correct CPU. This won't be true for any other
>> caller that wants to reset or configure an MSC.
>>
>> Add a helper that schedules the provided function if necessary.
>>
>> Callers should take the cpuhp lock to prevent the cpuhp callbacks from
>> changing the MSC state.
>>
>> Signed-off-by: James Morse <james.morse at arm.com>
>> Reviewed-by: Ben Horgan <ben.horgan at arm.com>
> Reviewed-by: Jonathan Cameron <jonathan.cameron at huawei.com>
Thanks!
James
More information about the linux-arm-kernel
mailing list