* [PATCH v1 2/3] x86/boot: the decompressor must supply boot_param from RDI
@ 2025-06-23 8:16 Khalid Ali
0 siblings, 0 replies; only message in thread
From: Khalid Ali @ 2025-06-23 8:16 UTC (permalink / raw)
To: tglx, mingo, bp, dave.hansen, ubizjak
Cc: x86, hpa, linux-efi, linux-kernel, Khalid Ali
From: Khalid Ali <khaliidcaliy@gmail.com>
This adjusts the decompressor to supply arguments from RDI instead RSI.
Signed-off-by: Khalid Ali <khaliidcaliy@gmail.com>
---
arch/x86/boot/compressed/head_64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index d9dab940ff62..07dcc3ac5b6d 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -471,7 +471,7 @@ SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated)
/*
* Jump to the decompressed kernel.
*/
- movq %r15, %rsi
+ movq %r15, %rdi
jmp *%rax
SYM_FUNC_END(.Lrelocated)
--
2.49.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-23 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-23 8:16 [PATCH v1 2/3] x86/boot: the decompressor must supply boot_param from RDI Khalid Ali
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®