[PATCH 2/2] arm64: efi: Pass reboot cmd parameter to efi_reboot()
From: Sumit Garg
Date: Fri Nov 14 2025 - 03:51:25 EST
From: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
EFI ResetSystem runtime service allows for platform specific reset type
allowing the OS to pass reset data for the UEFI implementation to take
corresponding action. So lets pass the reboot cmd parameter for the EFI
driver to determine whether it's a platform specific reset requested or
not.
Signed-off-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
---
arch/arm64/kernel/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c
index fba7ca102a8c..51784986c568 100644
--- a/arch/arm64/kernel/process.c
+++ b/arch/arm64/kernel/process.c
@@ -136,7 +136,7 @@ void machine_restart(char *cmd)
* ResetSystem().
*/
if (efi_enabled(EFI_RUNTIME_SERVICES))
- efi_reboot(reboot_mode, NULL);
+ efi_reboot(reboot_mode, cmd);
/* Now call the architecture specific reboot code. */
do_kernel_restart(cmd);
--
2.48.1