arm-trusted-firmware/lib
Manish V Badarkhe 3b8456bd1c runtime_exceptions: Update AT speculative workaround
As per latest mailing communication [1], we decided to
update AT speculative workaround implementation in order to
disable page table walk for lower ELs(EL1 or EL0) immediately
after context switching to EL3 from lower ELs.

Previous implementation of AT speculative workaround is available
here: 45aecff00

AT speculative workaround is updated as below:
1. Avoid saving and restoring of SCTLR and TCR registers for EL1
   in context save and restore routine respectively.
2. On EL3 entry, save SCTLR and TCR registers for EL1.
3. On EL3 entry, update EL1 system registers to disable stage 1
   page table walk for lower ELs (EL1 and EL0) and enable EL1
   MMU.
4. On EL3 exit, restore SCTLR and TCR registers for EL1 which
   are saved in step 2.

[1]:
https://lists.trustedfirmware.org/pipermail/tf-a/2020-July/000586.html

Change-Id: Iee8de16f81dc970a8f492726f2ddd57e7bd9ffb5
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2020-08-18 10:49:27 +01:00
..
aarch32 TF-A Aarch32: optimise memcpy4() 2020-07-23 18:35:49 +01:00
aarch64 Read-only xlat tables for BL31 memory 2020-02-24 16:52:56 +00:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import popcountdi2.c and popcountsi2.c files 2020-01-20 11:32:59 +01:00
coreboot coreboot: Add memory range parsing 2020-04-07 07:35:26 +00:00
cpus lib: cpus: denver: add some MIDR values 2020-08-08 18:53:23 -07:00
debugfs cert_create: add Platform owned secure partitions support 2020-08-12 14:30:18 +01:00
el3_runtime runtime_exceptions: Update AT speculative workaround 2020-08-18 10:49:27 +01:00
extensions TF-A AMU: remove AMU enable info print 2020-08-13 14:26:43 +02:00
fconf lib/fconf: Update 'set_fw_config_info' function 2020-07-23 02:11:13 +00:00
libc libc: add memrchr 2019-12-11 08:51:26 +01:00
libfdt Upgrade libfdt source files 2020-06-27 11:32:02 -05:00
locks locks: bakery: use is_dcache_enabled() helper 2020-04-07 09:33:13 +02:00
optee Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
romlib Use abspath to dereference $BUILD_BASE 2020-08-04 18:02:02 +01:00
semihosting MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
stack_protector Disable stack protection explicitly 2019-10-20 14:59:09 -04:00
utils MISRA cleanup in mem_region and semihosting files 2020-08-07 19:11:23 -05:00
xlat_tables Aarch32 xlat_tables lib: Fix MISRA-2012 defects 2020-07-29 12:48:34 +00:00
xlat_tables_v2 locks: bakery: use is_dcache_enabled() helper 2020-04-07 09:33:13 +02:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00