Re: [linux-yocto] [linux-yocto PATCH] drivers: mpam: Drop the improper assertions

2023-08-11 Thread Bruce Ashfield
In message: [linux-yocto PATCH] drivers: mpam: Drop the improper assertions on 11/08/2023 Kevin Hao wrote: > From: Kevin Hao > > The mpam_reprogram_ris_partid() and mpam_reset_ris() may be invoked on a > specific CPU by smp_call_on_cpu(). According to the implementation of >

[linux-yocto] [linux-yocto PATCH] drivers: mpam: Drop the improper assertions

2023-08-11 Thread Kevin Hao
From: Kevin Hao The mpam_reprogram_ris_partid() and mpam_reset_ris() may be invoked on a specific CPU by smp_call_on_cpu(). According to the implementation of smp_call_on_cpu(), that also means these functions would be executed in the worker kthread context. Both the