]> git.baikalelectronics.ru Git - arm-tf.git/commit
lib/xlat_tables: Add support for ARMv8.4-TTST
authorSathees Balya <sathees.balya@arm.com>
Fri, 25 Jan 2019 11:36:01 +0000 (11:36 +0000)
committerSathees Balya <sathees.balya@arm.com>
Wed, 30 Jan 2019 11:17:38 +0000 (11:17 +0000)
commitcedfa04ba58841b5c547b409e435c0bdafa4c912
treef7de45c25aed76ee15d2ee3930e3bbdeb624fd65
parent83a2285ec8d5e4bdbf12481b441489eed5bb6018
lib/xlat_tables: Add support for ARMv8.4-TTST

ARMv8.4-TTST (Small Translation tables) relaxes the lower limit on the
size of translation tables by increasing the maximum permitted value
of the T1SZ and T0SZ fields in TCR_EL1, TCR_EL2, TCR_EL3, VTCR_EL2 and
VSTCR_EL2.

This feature is supported in AArch64 state only.

This patch adds support for this feature to both versions of the
translation tables library. It also removes the static build time
checks for virtual address space size checks to runtime assertions.

Change-Id: I4e8cebc197ec1c2092dc7d307486616786e6c093
Signed-off-by: Sathees Balya <sathees.balya@arm.com>
13 files changed:
include/arch/aarch64/arch.h
include/arch/aarch64/arch_features.h
include/lib/xlat_tables/aarch32/xlat_tables_aarch32.h
include/lib/xlat_tables/aarch64/xlat_tables_aarch64.h
include/lib/xlat_tables/xlat_tables_arch.h
include/lib/xlat_tables/xlat_tables_v2_helpers.h
lib/xlat_tables/aarch32/xlat_tables.c
lib/xlat_tables/aarch64/xlat_tables.c
lib/xlat_tables/xlat_tables_private.h
lib/xlat_tables_v2/aarch32/xlat_tables_arch.c
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c
lib/xlat_tables_v2/xlat_tables_core.c
lib/xlat_tables_v2/xlat_tables_private.h