[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/62] target/arm: Fix MTE check in sve_ldnfff1_r
From: |
Richard Henderson |
Subject: |
[PATCH 03/62] target/arm: Fix MTE check in sve_ldnfff1_r |
Date: |
Sun, 3 Jul 2022 13:53:20 +0530 |
The comment was correct, but the test was not:
disable mte if tagged is *not* set.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/sve_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/arm/sve_helper.c b/target/arm/sve_helper.c
index 1654c0bbf9..db15d03ded 100644
--- a/target/arm/sve_helper.c
+++ b/target/arm/sve_helper.c
@@ -5986,7 +5986,7 @@ void sve_ldnfff1_r(CPUARMState *env, void *vg, const
target_ulong addr,
* Disable MTE checking if the Tagged bit is not set. Since TBI must
* be set within MTEDESC for MTE, !mtedesc => !mte_active.
*/
- if (arm_tlb_mte_tagged(&info.page[0].attrs)) {
+ if (!arm_tlb_mte_tagged(&info.page[0].attrs)) {
mtedesc = 0;
}
--
2.34.1
- [PATCH 00/62] target/arm: Implement FEAT_HAFDBS, Richard Henderson, 2022/07/03
- [PATCH 01/62] accel/tcg: Introduce PageEntryExtra, Richard Henderson, 2022/07/03
- [PATCH 02/62] target/arm: Enable PageEntryExtra, Richard Henderson, 2022/07/03
- [PATCH 03/62] target/arm: Fix MTE check in sve_ldnfff1_r,
Richard Henderson <=
- [PATCH 04/62] target/arm: Record tagged bit for user-only in sve_probe_page, Richard Henderson, 2022/07/03
- [PATCH 06/62] target/arm: Use PageEntryExtra for BTI, Richard Henderson, 2022/07/03
- [PATCH 05/62] target/arm: Use PageEntryExtra for MTE, Richard Henderson, 2022/07/03
- [PATCH 07/62] include/exec: Remove target_tlb_bitN from MemTxAttrs, Richard Henderson, 2022/07/03
- [PATCH 08/62] target/arm: Create GetPhysAddrResult, Richard Henderson, 2022/07/03