arm-trusted-firmware/bl32/tsp
Antonio Nino Diaz 883d1b5d4a Add comments about mismatched TCR_ELx and xlat tables
When the MMU is enabled and the translation tables are mapped, data
read/writes to the translation tables are made using the attributes
specified in the translation tables themselves. However, the MMU
performs table walks with the attributes specified in TCR_ELx. They are
completely independent, so special care has to be taken to make sure
that they are the same.

This has to be done manually because it is not practical to have a test
in the code. Such a test would need to know the virtual memory region
that contains the translation tables and check that for all of the
tables the attributes match the ones in TCR_ELx. As the tables may not
even be mapped at all, this isn't a test that can be made generic.

The flags used by enable_mmu_xxx() have been moved to the same header
where the functions are.

Also, some comments in the linker scripts related to the translation
tables have been fixed.

Change-Id: I1754768bffdae75f53561b1c4a5baf043b45a304
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-02-27 09:55:01 +00:00
..
aarch64 Merge pull request #1054 from jwerner-chromium/JW_crash_x30 2017-08-22 18:25:55 +01:00
tsp.ld.S Add comments about mismatched TCR_ELx and xlat tables 2018-02-27 09:55:01 +00:00
tsp.mk Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tsp_interrupt.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tsp_main.c Merge pull request #925 from dp-arm/dp/spdx 2017-05-04 16:35:19 +01:00
tsp_private.h Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tsp_timer.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00