arm-trusted-firmware/include
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
..
arch runtime_exceptions: Update AT speculative workaround 2020-08-18 10:49:27 +01:00
bl1 Specify signed-ness of constants 2020-08-14 11:36:05 +00:00
bl2 BL2_AT_EL3: Enable pointer authentication support 2019-02-27 11:58:09 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 Use correct type when reading SCR register 2020-01-28 11:10:48 +00:00
bl32 spd: tlkd: support new TLK SMCs for RPMB service 2020-03-21 19:00:05 -07:00
common dualroot: add chain of trust for Platform owned SPs 2020-08-12 14:30:31 +01:00
drivers dualroot: add chain of trust for Platform owned SPs 2020-08-12 14:30:31 +01:00
dt-bindings dts: bindings: stm32mp1: define SCMI clock and reset domain IDs 2020-07-16 17:35:19 +02:00
export tbbr/dualroot: Add fw_config image in chain of trust 2020-06-24 08:44:26 +01:00
lib el3_runtime: Rearrange context offset of EL1 sys registers 2020-08-18 10:49:27 +01:00
plat Merge changes from topic "sp_dual_signing" into integration 2020-08-14 15:58:04 +00:00
services FFA Version interface update 2020-06-23 15:08:48 +01:00
tools_share cert_create: add Platform owned secure partitions support 2020-08-12 14:30:18 +01:00