[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251114085058.2195900-1-sumit.garg@kernel.org>
Date: Fri, 14 Nov 2025 14:20:56 +0530
From: Sumit Garg <sumit.garg@...nel.org>
To: linux-arm-kernel@...ts.infradead.org,
linux-efi@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Cc: catalin.marinas@....com,
will@...nel.org,
ardb@...nel.org,
mark.rutland@....com,
andersson@...nel.org,
konradybcio@...nel.org,
dmitry.baryshkov@....qualcomm.com,
shivendra.pratap@....qualcomm.com,
leif.lindholm@....qualcomm.com,
linux-kernel@...r.kernel.org,
Sumit Garg <sumit.garg@....qualcomm.com>
Subject: [PATCH 0/2] efi/reboot: Enable platform specific reset on arm64
From: Sumit Garg <sumit.garg@....qualcomm.com>
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(-)
--
2.48.1
Powered by blists - more mailing lists