WARN include/linux/trace_recursion.h:162 (powerpc)

Sachin Sant sachinp at linux.ibm.com
Fri Feb 3 01:01:18 AEDT 2023


>> ---[ end trace 0000000000000000 ]---
>> ------------[ cut here ]------------
>> RCU not on for: shared_cede_loop+0xc/0x170
>> 
>> The code in question was added by
>> commit d099dbfd330686a8c09cd8944bcc77a56f9e7815
>>    cpuidle: tracing: Warn about !rcu_is_watching()
> 
> Note that by selecting ARCH_WANTS_NO_INSTR you effectively state to
> abide by its rules.
> 
>  41b7a347bf14 ("powerpc: Book3S 64-bit outline-only KASAN support")
> 
> AFAICT the power code does not even attempt to do this.
> 
> For your idle path you want at least something like the below, but given
> you don't have build time validation of noinstr I can't really tell and
> you'll just have to run chase the stragglers.
> 

Thanks for the feedback Peter. With the interim patch submitted by
Michael, I no longer see this warning.



More information about the Linuxppc-dev mailing list