@samitouri / QOSamiQemu / commits / 9b3e7f881b

target/arm: Enable FEAT_FGWTE3 for -cpu max

Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20260806172709.333300-7-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Richard Henderson committed Aug 6, 2026 at 10:27 UTC 9b3e7f881b63415344018b8ef9077e47c8ccea50
2 files changed +2
docs/system/arm/emulation.rst
+1
@@ -78,6 +78,7 @@ the following architecture extensions:
78 - FEAT_FAMINMAX (Floating-point maximum and minimum absolute value instructions)
79 - FEAT_FCMA (Floating-point complex number instructions)
80 - FEAT_FGT (Fine-Grained Traps)
81 +- FEAT_FGWTE3 (Fine-Grained Write Trap EL3)
82 - FEAT_FHM (Floating-point half-precision multiplication instructions)
83 - FEAT_FP (Floating Point extensions)
84 - FEAT_FP16 (Half-precision floating-point data processing)
target/arm/tcg/cpu64.c
+1
@@ -1466,6 +1466,7 @@ void aarch64_max_v9_tcg_initfn(Object *obj)
1466
1467 t = GET_IDREG(isar, ID_AA64MMFR4);
1468 t = FIELD_DP64(t, ID_AA64MMFR4, ASID2, 1); /* v9.4: FEAT_ASID2 */
1469 + t = FIELD_DP64(t, ID_AA64MMFR4, FGWTE3, 1); /* v9.4: FEAT_FGWTE3 */
1470 SET_IDREG(isar, ID_AA64MMFR4, t);
1471
1472 t = GET_IDREG(isar, ID_AA64ZFR0);