summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2023-02-22 06:30:17 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-23 18:46:59 +0300
commitd0db02c628793e389538c0e5c3f6491141ea6200 (patch)
treea8de780ad28436a3e10357172aad59da7ee16b75 /scripts/stackusage
parent8574bf8d0ddd46f0bc393381563f59a6f4418a3e (diff)
downloadlinux-d0db02c628793e389538c0e5c3f6491141ea6200.tar.xz
riscv: entry: Add noinstr to prevent instrumentation inserted
Without noinstr the compiler is free to insert instrumentation (think all the k*SAN, KCov, GCov, ftrace etc..) which can call code we're not yet ready to run this early in the entry path, for instance it could rely on RCU which isn't on yet, or expect lockdep state. (by peterz) Link: https://lore.kernel.org/linux-riscv/YxcQ6NoPf3AH0EXe@hirez.programming.kicks-ass.net/ Reviewed-by: Björn Töpel <bjorn@rivosinc.com> Suggested-by: Peter Zijlstra <peterz@infradead.org> Tested-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@kernel.org> Link: https://lore.kernel.org/r/20230222033021.983168-4-guoren@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions