New warning in v6.11-rc1: BUG: using smp_processor_id() in preemptible [00000000] code: rtcwake/2121
Hi,
Just to make sure everyone is aware. I just updated the ath.git main branch to v6.11-rc1 and I see a new warning in our suspend tests:
[ 546.233940] BUG: using smp_processor_id() in preemptible [00000000] code: rtcwake/2121 [ 546.233960] caller is debug_smp_processor_id+0x17/0x20 [ 546.233970] CPU: 5 UID: 0 PID: 2121 Comm: rtcwake Not tainted 6.11.0-rc1 #1685 [ 546.233975] Hardware name: Intel(R) Client Systems NUC8i7HVK/NUC8i7HVB, BIOS HNKBLi70.86A.0067.2021.0528.1339 05/28/2021 [ 546.233978] Call Trace: [ 546.233981] <TASK> [ 546.233985] dump_stack_lvl+0xa4/0xe0 [ 546.233991] dump_stack+0x10/0x20 [ 546.233995] check_preemption_disabled+0xce/0xe0 [ 546.234003] debug_smp_processor_id+0x17/0x20 [ 546.234008] hotplug_cpu__broadcast_tick_pull+0x20/0x280 [ 546.234017] takedown_cpu+0x197/0x410
There's a fix already which hopefully will be in v6.11-rc2:
Subject: [PATCH] tick/broadcast: Move per CPU pointer access into the atomic section
https://lore.kernel.org/all/87ttg56ers.ffs@tglx/
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Quoted 20 lines · Kalle Valo
Hi,
Just to make sure everyone is aware. I just updated the ath.git main branch to v6.11-rc1 and I see a new warning in our suspend tests:
[ 546.233940] BUG: using smp_processor_id() in preemptible [00000000] code: rtcwake/2121 [ 546.233960] caller is debug_smp_processor_id+0x17/0x20 [ 546.233970] CPU: 5 UID: 0 PID: 2121 Comm: rtcwake Not tainted 6.11.0-rc1 #1685 [ 546.233975] Hardware name: Intel(R) Client Systems NUC8i7HVK/NUC8i7HVB, BIOS HNKBLi70.86A.0067.2021.0528.1339 05/28/2021 [ 546.233978] Call Trace: [ 546.233981] <TASK> [ 546.233985] dump_stack_lvl+0xa4/0xe0 [ 546.233991] dump_stack+0x10/0x20 [ 546.233995] check_preemption_disabled+0xce/0xe0 [ 546.234003] debug_smp_processor_id+0x17/0x20 [ 546.234008] hotplug_cpu__broadcast_tick_pull+0x20/0x280 [ 546.234017] takedown_cpu+0x197/0x410
Quoted 5 lines
There's a fix already which hopefully will be in v6.11-rc2:
Subject: [PATCH] tick/broadcast: Move per CPU pointer access into the atomic section
I now updated ath.git main branch to v6.11-rc2 and the issue is fixed.
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches