summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2022-01-20 12:09:15 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-01-20 20:27:08 +0300
commitc78f94f35cf6486c4057317e8de3ddc4c62e12c7 (patch)
treeda587266b5f6184ea6d71dad6b86588e5a904259 /tools/perf/scripts/python/export-to-sqlite.py
parent410bb20a698d4c95c63e7f2b6f6f7d8da43795f5 (diff)
downloadlinux-c78f94f35cf6486c4057317e8de3ddc4c62e12c7.tar.xz
RISC-V: Use __cpu_up_stack/task_pointer only for spinwait method
The __cpu_up_stack/task_pointer array is only used for spinwait method now. The per cpu array based lookup is also fragile for platforms with discontiguous/sparse hartids. The spinwait method is only used for M-mode Linux or older firmwares without SBI HSM extension. For general Linux systems, ordered booting method is preferred anyways to support cpu hotplug and kexec. Make sure that __cpu_up_stack/task_pointer is only used for spinwait method. Take this opportunity to rename it to __cpu_spinwait_stack/task_pointer to emphasize the purpose as well. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions