diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-08-07 18:26:59 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-07 19:20:32 +0200 |
commit | 2f69a81ad6873231a2ae78d5ade3263ec54a4c9c (patch) | |
tree | 9d4e19ac99c62eb614a41a618caad7b81aaf5224 /tools/perf/scripts/python | |
parent | 264b82fdb4989cf6a44a2bcd0c6ea05e8026b2ac (diff) |
x86/head_64: Store boot_params pointer in callee save register
Instead of pushing/popping %RSI to/from the stack every time a function
is called from startup_64(), store it in a callee preserved register
and grab it from there when its value is actually needed.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230807162720.545787-3-ardb@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions