Home
last modified time | relevance | path

Searched hist:"01 c0a38ef0ce4674d0edb0d6fbbe9700d5617a84" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/lib/xlat_tables/
H A Dxlat_tables_defs.h01c0a38ef0ce4674d0edb0d6fbbe9700d5617a84 Thu Apr 26 11:59:08 UTC 2018 Antonio Nino Diaz <antonio.ninodiaz@arm.com> 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>
/rk3399_ARM-atf/lib/xlat_tables/
H A Dxlat_tables_common.c01c0a38ef0ce4674d0edb0d6fbbe9700d5617a84 Thu Apr 26 11:59:08 UTC 2018 Antonio Nino Diaz <antonio.ninodiaz@arm.com> 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>