arm: Fix EL perceived at TLB for address translation instructions
authorDylan Johnson <Dylan.Johnson@ARM.com>
Tue, 2 Aug 2016 09:38:02 +0000 (10:38 +0100)
committerDylan Johnson <Dylan.Johnson@ARM.com>
Tue, 2 Aug 2016 09:38:02 +0000 (10:38 +0100)
commitfc6879097b04643f6345adad39e54f44afb85d2f
tree046cd5dd4701d0098160f9d46c9b158cc9548fe0
parent2950a95672599a9baf9007c18faf210ff9c3e392
arm: Fix EL perceived at TLB for address translation instructions

During address translation instructions (such as AT S1E1R_Xt) the exception
level can be different than the current exception level. This patch fixes
how the TLB determines what EL to use during these instructions.

Change-Id: Ia9ce229404de9e284bc1f7479fd2c580efd55f8f
src/arch/arm/isa.cc
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh