Re: [PATCH v2 2/3] powerpc/rtas: allow rescheduling while changing cpu states

2019-08-13 Thread Nathan Lynch
Gautham R Shenoy writes: > On Sat, Aug 3, 2019 at 1:03 AM Nathan Lynch wrote: >> >> rtas_cpu_state_change_mask() potentially operates on scores of cpus, >> so explicitly allow rescheduling in the loop body. >> > > Are we seeing softlockups/rcu stalls while running this ? I have not seen a repor

Re: [PATCH v2 2/3] powerpc/rtas: allow rescheduling while changing cpu states

2019-08-13 Thread Gautham R Shenoy
On Sat, Aug 3, 2019 at 1:03 AM Nathan Lynch wrote: > > rtas_cpu_state_change_mask() potentially operates on scores of cpus, > so explicitly allow rescheduling in the loop body. > Are we seeing softlockups/rcu stalls while running this ? > Signed-off-by: Nathan Lynch Reviewed-by: Gautham R. She

[PATCH v2 2/3] powerpc/rtas: allow rescheduling while changing cpu states

2019-08-02 Thread Nathan Lynch
rtas_cpu_state_change_mask() potentially operates on scores of cpus, so explicitly allow rescheduling in the loop body. Signed-off-by: Nathan Lynch --- arch/powerpc/kernel/rtas.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 0