Skip to content

armv8: Add generic PSCI client support

Alexander Graf u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5efi_loader: Allow boards to implement get_time and reset_systemcmd/bootefi.c include/efi_loader.h lib/efi_loader/efi_runtime.c+112 -111 reply
1/5efi_loader: Allow boards to implement get_time and reset_system+0 -01 reply
1/5efi_loader: Allow boards to implement get_time and reset_system+0 -01 reply
1/5efi_loader: Allow boards to implement get_time and reset_system+0 -00 replies
2/5arm: Disable HVC PSCI calls by defaultarch/arm/cpu/armv8/fwcall.c arch/arm/include/asm/system.h arch/arm/mach-meson/board.c +1 more+14 -151 reply
2/5arm: Disable HVC PSCI calls by default+0 -00 replies
3/5arm: Add PSCI shutdown functionarch/arm/cpu/armv8/fwcall.c arch/arm/include/asm/system.h+16 -01 reply
3/5arm: Add PSCI shutdown function+0 -00 replies
4/5arm: Provide common PSCI based reset handlerarch/arm/cpu/armv8/Kconfig arch/arm/cpu/armv8/fwcall.c arch/arm/mach-meson/board.c +1 more+25 -102 replies
4/5arm: Provide common PSCI based reset handler+0 -01 reply
4/5arm: Provide common PSCI based reset handler+0 -00 replies
5/5efi_loader: Add generic PSCI RTSarch/arm/cpu/armv8/fwcall.c+26 -51 reply
5/5efi_loader: Add generic PSCI RTS+0 -01 reply
5/5efi_loader: Add generic PSCI RTS+0 -00 replies

Reviews trailers per patch

10 of 14 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/5
1/5
1/5
1/5
2/5R-b
2/5R-b
3/5R-b
3/5R-b
4/5R-b
4/5R-b
4/5R-b
5/5R-b
5/5R-b
5/5R-b

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/5] armv8: Add generic PSCI client support

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(-)
Signature · 1 line
1.8.5.6