target-arm: Set exception target EL in tlb_fill

Set the exception target EL for MMU faults in tlb_fill.

Backports commit 863b6589d738d0b4c8b283297b0ff228f3d3fb14 from qemu
This commit is contained in:
Peter Maydell 2018-02-12 22:29:24 -05:00 committed by Lioncash
parent 171bf0fc3e
commit 99dfc46ffe
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -110,6 +110,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write, int mmu_idx,
}
env->exception.syndrome = syn;
env->exception.target_el = exception_target_el(env);
env->exception.vaddress = addr;
env->exception.fsr = ret;
raise_exception(env, exc);