arm: Check TLB stage 2 permissions in AArch64
authorDylan Johnson <Dylan.Johnson@ARM.com>
Tue, 2 Aug 2016 09:38:03 +0000 (10:38 +0100)
committerDylan Johnson <Dylan.Johnson@ARM.com>
Tue, 2 Aug 2016 09:38:03 +0000 (10:38 +0100)
commitc15711725db358a2222de5964b8ba4c3216b0572
treed96254db896f4f2ec98da5cd6a7e1cac2f79dfe2
parentbce923c1891d85b9503523cb66fcf1511f30cd9d
arm: Check TLB stage 2 permissions in AArch64

This fixes a bug where stage 2 lookups used the AArch32
permissions rules even if we were executing in AArch64 mode.

Change-Id: Ia40758f0599667ca7ca15268bd3bf051342c24c1
src/arch/arm/stage2_lookup.cc