diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-08-07 18:27:04 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-07 20:41:04 +0200 |
commit | 8b63cba746f86a754d66e302c43209cc9b9b6e39 (patch) | |
tree | 62f16d7fea57b63d048c80b505333bc2621aaa91 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d7156b986d4cc0657fa6dc05c9fcf51c3d55a0fe (diff) |
x86/decompressor: Store boot_params pointer in callee save register
Instead of pushing and popping %RSI several times to preserve the struct
boot_params pointer across the execution of the startup code, move it
into a callee save register before the first call into C, and copy it
back when 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-8-ardb@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions