On aarch64 systems, Linux only has managed to push almost everyone to using PSCI as standardized interface for CPU start/stop operations. Fortunately PSCI also gives us a nicely abstracted interface to reset and power off the system.
This patch set adds support for generic PSCI reset/shutdown support and ties it up to EFI Run Time Services, so that an OS like Linux will magically have reset and shutdown work. Alexander Graf (5): efi_loader: Allow boards to implement get_time and reset_system arm: Disable HVC PSCI calls by default arm: Add PSCI shutdown function arm: Provide common PSCI based reset handler efi_loader: Add generic PSCI RTS arch/arm/cpu/armv8/Kconfig | 18 ++++++++ arch/arm/cpu/armv8/fwcall.c | 59 ++++++++++++++++++++++-- arch/arm/include/asm/system.h | 12 +---- arch/arm/mach-meson/board.c | 5 --- board/xilinx/zynqmp/zynqmp.c | 5 --- cmd/bootefi.c | 4 ++ include/efi_loader.h | 18 ++++++++ lib/efi_loader/efi_runtime.c | 101 +++++++++++++++++++++++++++++++++++++----- 8 files changed, 187 insertions(+), 35 deletions(-) -- 1.8.5.6 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot