arm-trusted-firmware/bl31/aarch64
Jayanth Dodderi Chidanand f8a35797b9 fix(smccc): check smc_fid [23:17] bits
As per SMCCC spec Table 2.1 bit 23:17 must be zero (MBZ),
for all Fast Calls, when bit[31] == 1.
Adding this check to ensure SMC FIDs when get to the SMC handler
have these bits (23:17) cleared, if not capture and report them
as an unknown SMCs at the core.

Also the C runtime stack is copied to the stackpointer well in
advance, to leverage the existing el3_exit routine for unknown SMC.

Change-Id: I9972216db5ac164815011177945fb34dadc871b0
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
2023-03-20 10:12:38 +00:00
..
bl31_entrypoint.S feat(bl31): aarch64: RESET_TO_BL31_WITH_PARAMS 2022-04-29 22:54:23 +02:00
crash_reporting.S refactor(aarch64): remove weak links to el3_panic 2023-02-21 17:26:01 +00:00
ea_delegate.S Merge changes from topic "panic_cleanup" into integration 2023-02-23 23:38:26 +01:00
runtime_exceptions.S fix(smccc): check smc_fid [23:17] bits 2023-03-20 10:12:38 +00:00