arch-arm: Implement ARMv8.1-HPD, Hierarchical permission disable
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 18 Jul 2019 10:05:12 +0000 (11:05 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 19 Jul 2019 15:44:07 +0000 (15:44 +0000)
commit16eeee5356585441a49d05c78abc328ef09f7ace
treee0e1e4293ccdaaa37e085e4fe4caeca5ca2b3746
parent075b8ea6e8f113f58a534834fea7e85a49fdc18d
arch-arm: Implement ARMv8.1-HPD, Hierarchical permission disable

According to the armarm:
ARMv8.1-HPD introduces the facility to disable the hierarchical
attributes, APTable, PXNTable, and UXNTable, in the translation tables.
This disable has no effect on the NSTable bit.  This feature is
mandatory in ARMv8.1 implementations.

This feature is added only to the VMSAv8-64 translation regimes. ARMv8.2
extends this to the AArch32 translation regimes, see ARMv8.2-AA32HPD.

The ID_AA64MMFR1_EL1.HPDS field identifies the support for ARMv8.1-HPD.

Change-Id: Ibbf589b82f2c1e4437b43252f8f633e8f6fb0b80
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19610
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/ArmISA.py
src/arch/arm/table_walker.cc
src/arch/arm/table_walker.hh