Skip to content

efi/reboot: Enable platform specific reset on arm64

Sumit Garg linux-arm-kernel linux-arm-msm linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2efi/reboot: Add support for EFI_RESET_PLATFORM_SPECIFICdrivers/firmware/efi/reboot.c include/linux/efi.h+18 -122 replies
2/2arm64: efi: Pass reboot cmd parameter to efi_reboot()arch/arm64/kernel/process.c+1 -17 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKonrad Dybcio
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] efi/reboot: Enable platform specific reset on arm64

From: Sumit Garg <[email protected]>

Vendor/platform specific reset types are common on arm64 platforms as can be seen from this patch-set [1]. EFI runtime ResetSystem service provide an alternate method known as EFI_RESET_PLATFORM_SPECIFIC [2]. It should be able to handle these reset scenarios where the platform specific UEFI implementation will decode the reboot command as reset data passed as a parameter.

On UEFI systems, it is rather a better abstracted interface for the OS to use EFI platform specific runtime reset method rather than overriding PSCI reset method with DT based overrides on arm64 platforms.

[1] https://lore.kernel.org/all/20251109-arm-psci-system_reset2-vendor-reboots-v17-0-46e085bca4cc@oss.qualcomm.com/
[2] https://uefi.org/specs/UEFI/2.10/08_Services_Runtime_Services.html?highlight=resetsystem#resetsystem

Sumit Garg (2):
efi/reboot: Add support for EFI_RESET_PLATFORM_SPECIFIC
arm64: efi: Pass reboot cmd parameter to efi_reboot()

 arch/arm64/kernel/process.c   |  2 +-
 drivers/firmware/efi/reboot.c | 25 +++++++++++++++----------
 include/linux/efi.h           |  5 +++--
 3 files changed, 19 insertions(+), 13 deletions(-)
Signature · 1 line
2.48.1