diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-02-07 13:15:34 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-14 10:32:05 +0100 |
commit | 93f16a1ab78ca56e3cd997d1ea54c214774781ac (patch) | |
tree | 63b39f67d2102f59f7c6ad3d15aa8f48eff62912 /tools/perf/scripts/python/task-analyzer.py | |
parent | 582077c94052bd69a544b3f9d7619c9c6a67c34b (diff) |
x86/boot: Mark start_secondary() with __noendbr
The handoff between the boot stubs and start_secondary() are before IBT is
enabled and is definitely not subject to kCFI. As such, suppress all that for
this function.
Notably when the ENDBR poison would become fatal (ud1 instead of nop) this will
trigger a tripple fault because we haven't set up the IDT to handle #UD yet.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20250207122546.509520369@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions