arch-arm: updateMiscReg not setting isHyp in aarch64
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 1 Apr 2019 13:38:14 +0000 (14:38 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 26 Apr 2019 16:13:04 +0000 (16:13 +0000)
commitf5ea783de1128c371f40da7bf3675428aad92109
treebf40263aaa460d4869d679de73709243f120ce54
parenta5f06abe9821161930ee50e3a7d71d43937dbf6f
arch-arm: updateMiscReg not setting isHyp in aarch64

The isHyp flag should be set for a TLB::NormalTran when in EL2.  This
was happening in aarch32 only, where the CPSR mode is checked, while
aarch64 was only using it for explicit EL2 translations, like for AT
instructions.

Change-Id: I54605811e9dde75b5cf8868190b0f4c2a8d46570
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18394
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/tlb.cc