arch-arm: Hyp routed undef fault need to change its syndrome
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 1 Dec 2017 13:24:29 +0000 (13:24 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 21 Dec 2017 13:25:24 +0000 (13:25 +0000)
commit0049df179f3b5f57218b91e98390c1aacaa27c2e
tree4830ffae7fe4f758e58ef7ad06a1f8d8853d2efb
parentf9d6cf7eff123724a31e95195abcabc560481dda
arch-arm: Hyp routed undef fault need to change its syndrome

If undefined instruction has to be routed to EL2, the HSR register
must change the HSR.EC and HSR.ISS accordingly, which means not using
the EL1 exception syndrome, but the unknown reason one (EC=0, ISS=0)

Change-Id: I1540c713ab545bf307c1dad3ae305de4178443f4
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/6621
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/arch/arm/faults.cc
src/arch/arm/faults.hh