axxia: use udelay instead of usleep in cpuhotplug routine
In addition to the changes in commit ee2c9b00 ("axxia: use udelay instead of usleep in kexec/kdump routine") to fix a bug as below: BUG: scheduling while atomic: cpuhotplug03.sh/798/0x00000000 Modules linked in: sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 fuse configfs CPU: 14 PID: 798 Comm: cpuhotplug03.sh Tainted: G W 5.15.74-yocto-standard #1 Hardware name: INTEL Axxia [<c0411bec>] (unwind_backtrace) from [<c040bba0>] (show_stack+0x18/0x1c) [<c040bba0>] (show_stack) from [<c0f041e4>] (dump_stack_lvl+0x40/0x4c) [<c0f041e4>] (dump_stack_lvl) from [<c045a1a8>] (__schedule_bug+0x74/0x88) [<c045a1a8>] (__schedule_bug) from [<c0f0c530>] (__schedule+0x49c/0x774) [<c0f0c530>] (__schedule) from [<c0f0c8b4>] (schedule+0xac/0x110) [<c0f0c8b4>] (schedule) from [<c0f11c10>] (schedule_timeout+0xa4/0x1b0) [<c0f11c10>] (schedule_timeout) from [<c0f0d520>] (wait_for_completion_timeout+0x90/0xfc) [<c0f0d520>] (wait_for_completion_timeout) from [<c040f350>] (__cpu_up+0x100/0x174) [<c040f350>] (__cpu_up) from [<c042bfb4>] (bringup_cpu+0x24/0x2dc) [<c042bfb4>] (bringup_cpu) from [<c042c7d4>] (cpuhp_invoke_callback+0x19c/0x948) [<c042c7d4>] (cpuhp_invoke_callback) from [<c042cfec>] (cpuhp_invoke_callback_range+0x6c/0xac) [<c042cfec>] (cpuhp_invoke_callback_range) from [<c042dfe0>] (_cpu_up+0x118/0x2a8) [<c042dfe0>] (_cpu_up) from [<c042e1d0>] (cpu_up+0x60/0x94) [<c042e1d0>] (cpu_up) from [<c0b16640>] (device_online+0x74/0x98) [<c0b16640>] (device_online) from [<c0b1672c>] (online_store+0xc8/0xd8) [<c0b1672c>] (online_store) from [<c06ddc88>] (kernfs_fop_write_iter+0x114/0x1d4) [<c06ddc88>] (kernfs_fop_write_iter) from [<c062bc34>] (vfs_write+0x310/0x444) [<c062bc34>] (vfs_write) from [<c062d1e8>] (ksys_write+0x6c/0xe4) [<c062d1e8>] (ksys_write) from [<c0400060>] (ret_fast_syscall+0x0/0x40) Signed-off-by:Liwei Song <liwei.song@windriver.com> Signed-off-by:
Bruce Ashfield <bruce.ashfield@gmail.com>
Loading
Please register or sign in to comment