diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-02-24 13:37:11 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-02-26 13:48:52 +0100 |
commit | b815f6877d8063482fe745f098eeef632679aa8a (patch) | |
tree | 2317f3d3986ea9a7cd5c4cf6e23157cd8b01776e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 97e59672a9d2aec0c27f6cd6a6b0edfdd6e5a85c (diff) |
x86/bhi: Add BHI stubs
Add an array of code thunks, to be called from the FineIBT preamble,
clobbering the first 'n' argument registers for speculative execution.
Notably the 0th entry will clobber no argument registers and will never
be used, it exists so the array can be naturally indexed, while the 7th
entry will clobber all the 6 argument registers and also RSP in order to
mess up stack based arguments.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250224124200.717378681@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions