]> git.baikalelectronics.ru Git - uboot.git/commit
ARMv8: Allow SiP service extensions on top of PSCI code
authorChee Hong Ang <chee.hong.ang@intel.com>
Tue, 12 Feb 2019 08:27:02 +0000 (00:27 -0800)
committerTom Rini <trini@konsulko.com>
Mon, 22 Apr 2019 22:13:21 +0000 (18:13 -0400)
commitd60ee66fcdcc3e37f55f465bb67cd0f644e9515a
tree0353879dafac67aaf703f21f6831c5bcd1789e9e
parent67bf147cb61c7feb3c1db2af30045a4f88d8a73b
ARMv8: Allow SiP service extensions on top of PSCI code

Allow PSCI layer to handle any SiP service functions added by
platform vendors. PSCI layer will look for SiP service function
in the SiP function table located in '._secure_svc_tbl_entries'
section if the SMC function identifier is not found in the PSCI
standard functions table. Use DECLARE_SECURE_SVC macro to declare
and add platform specific SiP service function.
This new section '._secure_svc_tbl_entries' is located next to
'._secure.text' section. Refer to arch/arm/cpu/armv8/u-boot.lds.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
arch/arm/cpu/armv8/psci.S
arch/arm/cpu/armv8/u-boot.lds
arch/arm/include/asm/secure.h