arm-trusted-firmware/lib
Artsem Artsemenka 0e7a0540d7 xlat_table_v2: Fix enable WARMBOOT_ENABLE_DCACHE_EARLY config
The WARMBOOT_ENABLE_DCACHE_EARLY allows caches to be turned on early during
the boot. But the xlat_change_mem_attributes_ctx() API did not do the required
cache maintenance after the mmap tables are modified if
WARMBOOT_ENABLE_DCACHE_EARLY is enabled. This meant that when the caches are turned
off during power down, the tables in memory are accessed as part of cache
maintenance for power down, and the tables are not correct at this point which
results in a data abort.
This patch removes the optimization within xlat_change_mem_attributes_ctx()
when WARMBOOT_ENABLE_DCACHE_EARLY is enabled.

Signed-off-by: Artsem Artsemenka <artsem.artsemenka@arm.com>
Change-Id: I82de3decba87dd13e9856b5f3620a1c8571c8d87
2019-10-18 10:26:34 +01:00
..
aarch32 Fix Coverity #261967, Infinite loop 2019-08-06 13:06:03 +01:00
aarch64 Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl_aux_params Introduce lightweight BL platform parameter library 2019-07-18 16:42:40 -07:00
compiler-rt compiler_rt: Import lshrdi3.c file 2018-11-06 15:42:51 +01:00
coreboot Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
cpus Merge "Neoverse N1 Errata Workaround 1542419" into integration 2019-10-07 12:05:26 +00:00
el3_runtime Merge "AArch32: Disable Secure Cycle Counter" into integration 2019-09-27 10:55:15 +00:00
extensions TF-A: Add support for ARMv8.3-PAuth in BL1 SMC calls and BL2U 2019-10-03 14:43:55 +01:00
libc libc: fix sparse warning for __assert() 2019-09-11 11:28:46 +09:00
libfdt libfdt: Downgrade to version 1.4.6-9 2018-10-30 13:42:13 +00:00
locks Fix the CAS spinlock implementation 2019-10-04 10:19:35 +02:00
optee Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
pmf Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci Adding new optional PSCI hook pwr_domain_on_finish_late 2019-09-25 22:06:44 -05:00
romlib Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
semihosting Remove several warnings reported with W=2 2019-04-01 10:43:42 +01:00
sprt SPM: Introduce SPRT C host library 2018-12-11 15:04:24 +00:00
stack_protector Add support for default stack-protector flag 2019-04-30 14:42:40 +01:00
utils plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
xlat_tables Fix Coverity #343008, Side affect in assertion 2019-08-06 13:06:03 +01:00
xlat_tables_v2 xlat_table_v2: Fix enable WARMBOOT_ENABLE_DCACHE_EARLY config 2019-10-18 10:26:34 +01:00
zlib Sanitise includes across codebase 2019-01-04 10:43:17 +00:00