diff options
author | Chee Hong Ang | 2019-02-12 00:27:02 -0800 |
---|---|---|
committer | Tom Rini | 2019-04-22 18:13:21 -0400 |
commit | f6b0115a966cc0f0eb816a1570ccd99dd5611b3f (patch) | |
tree | 0353879dafac67aaf703f21f6831c5bcd1789e9e /arch/arm/cpu/armv8/u-boot.lds | |
parent | 833443165142799cdb6bda1e73cefc9689e18db6 (diff) |
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>
Diffstat (limited to 'arch/arm/cpu/armv8/u-boot.lds')
-rw-r--r-- | arch/arm/cpu/armv8/u-boot.lds | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/u-boot.lds b/arch/arm/cpu/armv8/u-boot.lds index 53de80f745e..2554980595b 100644 --- a/arch/arm/cpu/armv8/u-boot.lds +++ b/arch/arm/cpu/armv8/u-boot.lds @@ -58,6 +58,10 @@ SECTIONS AT(ADDR(.__secure_start) + SIZEOF(.__secure_start)) { *(._secure.text) + . = ALIGN(8); + __secure_svc_tbl_start = .; + KEEP(*(._secure_svc_tbl_entries)) + __secure_svc_tbl_end = .; } .secure_data : AT(LOADADDR(.secure_text) + SIZEOF(.secure_text)) |