Re: [PATCH 20/33] arm_mpam: Add a helper to touch an MSC from any CPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ben,

On 28/08/2025 17:13, Ben Horgan wrote:
> On 8/22/25 16:30, James Morse 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.
>> Prevent the cpuhp callbacks from changing the MSC state by taking the
>> cpuhp lock.

> At first, I thought this was referring to something done in the patch.
> Consider changing to something like:
> 
> Callers should take the cpuhp lock to prevent the cpuhp callbacks from
> changing the MSC state.

Yes - that is better,


> Regardless, this looks good to me.
> 
> Reviewed-by: Ben Horgan <ben.horgan@xxxxxxx>


Thanks!

James




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux