[PATCH] Revert "powerpc/irq: Don't open code irq_soft_mask helpers"

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 2 21:30:53 AEST 2022


On Wed, 31 Aug 2022 23:10:52 +1000, Michael Ellerman wrote:
> This reverts commit ef5b570d3700fbb8628a58da0487486ceeb713cd.
> 
> Zhouyi reported that commit is causing crashes when running rcutorture
> with KASAN enabled:
> 
>   BUG: using smp_processor_id() in preemptible [00000000] code: rcu_torture_rea/100
>   caller is rcu_preempt_deferred_qs_irqrestore+0x74/0xed0
>   CPU: 4 PID: 100 Comm: rcu_torture_rea Tainted: G        W          5.19.0-rc5-next-20220708-dirty #253
>   Call Trace:
>     dump_stack_lvl+0xbc/0x108 (unreliable)
>     check_preemption_disabled+0x154/0x160
>     rcu_preempt_deferred_qs_irqrestore+0x74/0xed0
>     __rcu_read_unlock+0x290/0x3b0
>     rcu_torture_read_unlock+0x30/0xb0
>     rcutorture_one_extend+0x198/0x810
>     rcu_torture_one_read+0x58c/0xc90
>     rcu_torture_reader+0x12c/0x360
>     kthread+0x1e8/0x220
>     ret_from_kernel_thread+0x5c/0x64
> 
> [...]

Applied to powerpc/fixes.

[1/1] Revert "powerpc/irq: Don't open code irq_soft_mask helpers"
      https://git.kernel.org/powerpc/c/684c68d92e2e1b97fa2f31c35c1b0f7671a8618a

cheers


More information about the Linuxppc-dev mailing list