This series refactors the EFI runtime PSCI reset handling:

1. Introduce EFI_PSCI_RESET_RUNTIME config to control PSCI-based EFI reset
   logic in U-Boot. This allows platforms to disable U-Boot’s runtime reset
   handling when the kernel needs to manage specialized reboot modes.

2. Disable CONFIG_EFI_PSCI_RESET_RUNTIME in qcom_defconfig so that the
   kernel retains full control over reset modes (e.g., EDL, bootloader),
   ensuring correct behavior for advanced reboot requests.

Signed-off-by: Aswin Murugan <[email protected]>
---
Changes in v2:
- As per review comments made default y for EFI_PSCI_RESET_RUNTIME config
- Disabled the EFI_PSCI_RESET_RUNTIME config for qualcomm platforms
- Link to v1: 
https://lore.kernel.org/all/[email protected]/
---

Aswin Murugan (2):
  firmware: psci: Refactor EFI runtime PSCI reset handling
  qcom_defconfig: Disable CONFIG_EFI_PSCI_RESET_RUNTIME

 configs/qcom_defconfig  |  1 +
 drivers/firmware/psci.c |  4 ++--
 lib/efi_loader/Kconfig  | 11 +++++++++++
 3 files changed, 14 insertions(+), 2 deletions(-)

-- 
2.34.1

Reply via email to