arm-trusted-firmware/include/lib/xlat_tables
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 xlat lib: Fix some types 2017-07-26 09:28:23 +01:00
aarch64 xlat: Make function to calculate TCR PA bits public 2017-11-08 18:05:14 +00:00
xlat_mmu_helpers.h Add comments about mismatched TCR_ELx and xlat tables 2018-02-27 09:55:01 +00:00
xlat_tables.h include: add U()/ULL() macros for constants 2017-06-14 17:00:30 -07:00
xlat_tables_arch.h xlat lib: Reorganize architectural defs 2017-07-25 13:09:00 +01:00
xlat_tables_defs.h xlat: Set AP[1] to 1 when it is RES1 2018-04-26 12:59:08 +01:00
xlat_tables_v2.h Fix some MISRA defects in SPM code 2018-04-17 15:10:18 +01:00
xlat_tables_v2_helpers.h bl2-el3: Add BL2_EL3 image 2018-01-18 09:42:35 +00:00