diff options
author | Patrick Delaunay | 2021-05-07 14:50:35 +0200 |
---|---|---|
committer | Tom Rini | 2021-06-07 10:48:40 -0400 |
commit | ade4e0428f4d85454fdb3818702facc7728a274a (patch) | |
tree | 09d104dbed9bf79b7e4d05a799e18cc9485836ff /include/console.h | |
parent | 7dc6068fc10d699558176da364a3e7a6cfccdaa1 (diff) |
stm32mp: don't map the reserved region with no-map property
No more map the reserved region with "no-map" property by marking
the corresponding TLB entries with invalid entry (=0) to avoid
speculative access.
The device tree parsing done in lmb_init_and_reserve() takes a
long time when it is executed without data cache, so it is called in
enable_caches() before to disable it.
This patch fixes an issue where predictive read access on secure DDR
OP-TEE reserved area are caught by firewall.
Series-cc: marex
Series-cc: pch
Series-cc: marek.bykowski@gmail.com
Series-cc: Ard Biesheuvel <ardb@kernel.org>
Series-cc: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/console.h')
0 files changed, 0 insertions, 0 deletions