[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 20/20] target/arm: Enable FEAT_LSE2 for -cpu max
From: |
Richard Henderson |
Subject: |
[PATCH v3 20/20] target/arm: Enable FEAT_LSE2 for -cpu max |
Date: |
Tue, 30 May 2023 12:14:38 -0700 |
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
docs/system/arm/emulation.rst | 1 +
target/arm/tcg/cpu64.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/docs/system/arm/emulation.rst b/docs/system/arm/emulation.rst
index 7338987875..ecbbd63adf 100644
--- a/docs/system/arm/emulation.rst
+++ b/docs/system/arm/emulation.rst
@@ -50,6 +50,7 @@ the following architecture extensions:
- FEAT_LRCPC (Load-acquire RCpc instructions)
- FEAT_LRCPC2 (Load-acquire RCpc instructions v2)
- FEAT_LSE (Large System Extensions)
+- FEAT_LSE2 (Large System Extensions v2)
- FEAT_LVA (Large Virtual Address space)
- FEAT_MTE (Memory Tagging Extension)
- FEAT_MTE2 (Memory Tagging Extension)
diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c
index 886674a443..2976f94ae4 100644
--- a/target/arm/tcg/cpu64.c
+++ b/target/arm/tcg/cpu64.c
@@ -644,6 +644,7 @@ void aarch64_max_tcg_initfn(Object *obj)
t = FIELD_DP64(t, ID_AA64MMFR2, IESB, 1); /* FEAT_IESB */
t = FIELD_DP64(t, ID_AA64MMFR2, VARANGE, 1); /* FEAT_LVA */
t = FIELD_DP64(t, ID_AA64MMFR2, ST, 1); /* FEAT_TTST */
+ t = FIELD_DP64(t, ID_AA64MMFR2, AT, 1); /* FEAT_LSE2 */
t = FIELD_DP64(t, ID_AA64MMFR2, IDS, 1); /* FEAT_IDST */
t = FIELD_DP64(t, ID_AA64MMFR2, FWB, 1); /* FEAT_S2FWB */
t = FIELD_DP64(t, ID_AA64MMFR2, TTL, 1); /* FEAT_TTL */
--
2.34.1
- [PATCH v3 09/20] target/arm: Load/store integer pair with one tcg operation, (continued)
- [PATCH v3 09/20] target/arm: Load/store integer pair with one tcg operation, Richard Henderson, 2023/05/30
- [PATCH v3 03/20] target/arm: Introduce finalize_memop_{atom,pair}, Richard Henderson, 2023/05/30
- [PATCH v3 08/20] target/arm: Sink gen_mte_check1 into load/store_exclusive, Richard Henderson, 2023/05/30
- [PATCH v3 12/20] target/arm: Pass memop to gen_mte_check1*, Richard Henderson, 2023/05/30
- [PATCH v3 13/20] target/arm: Pass single_memop to gen_mte_checkN, Richard Henderson, 2023/05/30
- [PATCH v3 15/20] target/arm: Add SCTLR.nAA to TBFLAG_A64, Richard Henderson, 2023/05/30
- [PATCH v3 17/20] target/arm: Move mte check for store-exclusive, Richard Henderson, 2023/05/30
- [PATCH v3 16/20] target/arm: Relax ordered/atomic alignment checks for LSE2, Richard Henderson, 2023/05/30
- [PATCH v3 14/20] target/arm: Check alignment in helper_mte_check, Richard Henderson, 2023/05/30
- [PATCH v3 18/20] tests/tcg/aarch64: Use stz2g in mte-7.c, Richard Henderson, 2023/05/30
- [PATCH v3 20/20] target/arm: Enable FEAT_LSE2 for -cpu max,
Richard Henderson <=
- [PATCH v3 19/20] tests/tcg/multiarch: Adjust sigbus.c, Richard Henderson, 2023/05/30