From: Alexander Graf Date: Tue, 16 Aug 2016 21:08:44 +0200 Subject: [U-Boot] [PATCH 0/5] armv8: Add generic PSCI client support Message-ID: <1471374529-61610-1-git-send-email-agraf@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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