]> Git Repo - qemu.git/commit
target/arm: Fix reported EL for mte_check_fail
authorRichard Henderson <[email protected]>
Thu, 8 Oct 2020 16:21:54 +0000 (11:21 -0500)
committerPeter Maydell <[email protected]>
Tue, 20 Oct 2020 15:12:00 +0000 (16:12 +0100)
commit50244cc76abcac3296cff3d84826f5ff71808c80
tree405be2f634aa69ace7537ca6ef67cf1f94c526b7
parent4aedfc0f633fd06dd2a5dc8ffa93f4c56117e37f
target/arm: Fix reported EL for mte_check_fail

The reporting in AArch64.TagCheckFail only depends on PSTATE.EL,
and not the AccType of the operation.  There are two guest
visible problems that affect LDTR and STTR because of this:

(1) Selecting TCF0 vs TCF1 to decide on reporting,
(2) Report "data abort same el" not "data abort lower el".

Reported-by: Vincenzo Frascino <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Vincenzo Frascino <[email protected]>
Tested-by: Vincenzo Frascino <[email protected]>
Message-id: 20201008162155[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/mte_helper.c
This page took 0.026921 seconds and 4 git commands to generate.