arm-trusted-firmware/lib/xlat_tables_v2
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 lib/xlat_tables: Add support for ARMv8.4-TTST 2019-01-30 11:17:38 +00:00
aarch64 SPM: Move shim layer to TTBR1_EL1 2019-04-03 10:51:31 +01:00
xlat_tables.mk xlat: Fix compatibility between v1 and v2 2018-10-26 14:55:30 +01:00
xlat_tables_context.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
xlat_tables_core.c Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
xlat_tables_private.h lib/xlat_tables: Add support for ARMv8.4-TTST 2019-01-30 11:17:38 +00:00
xlat_tables_utils.c xlat_table_v2: Fix enable WARMBOOT_ENABLE_DCACHE_EARLY config 2019-10-18 10:26:34 +01:00