arch-arm: Respect EL from translation type
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 16 May 2018 15:16:04 +0000 (16:16 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 6 Jun 2018 13:56:18 +0000 (13:56 +0000)
commit072f325b2b5686d2a5b19f17f808810d5afd1944
tree374458b24bbb997408a834828b5a92bc848a30f4
parent7f82aa3d60a1ca0f0b35435d42f875ff1f1bfe0b
arch-arm: Respect EL from translation type

There are cases where instructions request translations in the context
of a lower EL. This is currently not respected in the TLB and the page
table walker. Fix that.

Change-Id: Icd59657a1ecfd8bd75a001bb1a4e41a6f4808a36
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10506
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/table_walker.cc
src/arch/arm/tlb.cc
src/arch/arm/tlb.hh