arm-trusted-firmware/lib
Antonio Nino Diaz 01c0a38ef0 xlat: Set AP[1] to 1 when it is RES1
According to the ARMv8 ARM issue C.a:

    AP[1] is valid only for stage 1 of a translation regime that can
    support two VA ranges. It is RES 1 when stage 1 translations can
    support only one VA range.

This means that, even though this bit is ignored, it should be set to 1
in the EL3 and EL2 translation regimes.

For translation regimes consisting on EL0 and a higher regime this bit
selects between control at EL0 or at the higher Exception level. The
regimes that support two VA ranges are EL1&0 and EL2&0 (the later one
is only available since ARMv8.1).

This fix has to be applied to both versions of the translation tables
library.

Change-Id: If19aaf588551bac7aeb6e9a686cf0c2068e7c181
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2018-04-26 12:59:08 +01:00
..
aarch32 ARMv7: division support for missing __aeabi_*divmod 2017-11-08 14:42:07 +01:00
aarch64 misc_helpers: fix zero_normalmem() for BL2_AT_EL3 2018-02-01 13:17:29 +09:00
compiler-rt Import ctzdi2.c from LLVM compiler-rt 2017-07-26 09:28:23 +01:00
coreboot coreboot: Add support for CBMEM console 2018-01-19 15:21:12 -08:00
cpus Check presence of fix for errata 835769 in Cortex-A53 2018-04-12 12:12:56 +01:00
el3_runtime Rename 'smcc' to 'smccc' 2018-03-21 10:49:27 +00:00
extensions Merge pull request #1282 from robertovargas-arm/misra-changes 2018-02-28 18:53:30 +00:00
libfdt Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
locks Clean usage of void pointers to access symbols 2018-03-27 13:20:27 +01:00
optee optee: print header info before validate 2018-02-08 02:17:24 +09:00
pmf Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
psci Merge pull request #1313 from jonathanwright-ARM/jw/MISRA-switch-statements 2018-03-29 13:20:05 +01:00
semihosting Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stack_protector Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
stdlib stdlib: remove comparison with EOF macro to comply with MISRA 2018-03-15 13:32:54 +00:00
utils Add mem_region utility functions 2017-09-25 13:32:20 +01:00
xlat_tables xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
xlat_tables_v2 xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
zlib zlib: Fix build error when LOG_LEVEL=50 2018-02-08 09:36:48 +01:00