aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorNick Hu <[email protected]>2024-07-17 11:17:14 +0800
committerPalmer Dabbelt <[email protected]>2024-08-01 07:15:43 -0700
commit3908ba2e0b2476e2ec13e15967bf6a37e449f2af (patch)
treeb5f3c71ec344334b85f3b842eecdcc8632db907c /tools/perf/scripts/python/stackcollapse.py
parent0c710050c47d45eb77b28c271cddefc5c785cb40 (diff)
RISC-V: Enable the IPI before workqueue_online_cpu()
Sometimes the hotplug cpu stalls at the arch_cpu_idle() for a while after workqueue_online_cpu(). When cpu stalls at the idle loop, the reschedule IPI is pending. However the enable bit is not enabled yet so the cpu stalls at WFI until watchdog timeout. Therefore enable the IPI before the workqueue_online_cpu() to fix the issue. Fixes: 63c5484e7495 ("workqueue: Add multiple affinity scopes and interface to select them") Signed-off-by: Nick Hu <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions