[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/11] target/arm: Apply access checks to neoverse-v1 special
From: |
Richard Henderson |
Subject: |
[PATCH v2 07/11] target/arm: Apply access checks to neoverse-v1 special registers |
Date: |
Fri, 11 Aug 2023 14:40:27 -0700 |
There is only one additional EL1 register modeled, which
also needs to use access_actlr_w.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/tcg/cpu64.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/arm/tcg/cpu64.c b/target/arm/tcg/cpu64.c
index bc3db798f0..b0cac05be6 100644
--- a/target/arm/tcg/cpu64.c
+++ b/target/arm/tcg/cpu64.c
@@ -560,7 +560,8 @@ static void define_neoverse_n1_cp_reginfo(ARMCPU *cpu)
static const ARMCPRegInfo neoverse_v1_cp_reginfo[] = {
{ .name = "CPUECTLR2_EL1", .state = ARM_CP_STATE_AA64,
.opc0 = 3, .opc1 = 0, .crn = 15, .crm = 1, .opc2 = 5,
- .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0 },
+ .access = PL1_RW, .type = ARM_CP_CONST, .resetvalue = 0,
+ .accessfn = access_actlr_w },
{ .name = "CPUPPMCR_EL3", .state = ARM_CP_STATE_AA64,
.opc0 = 3, .opc1 = 6, .crn = 15, .crm = 2, .opc2 = 0,
.access = PL3_RW, .type = ARM_CP_CONST, .resetvalue = 0 },
--
2.34.1
- Re: [PATCH v2 04/11] target/arm: When tag memory is not present, set MTE=1, (continued)
- [PATCH v2 08/11] target/arm: Implement RMR_EL3 for neoverse-v1, Richard Henderson, 2023/08/11
- [PATCH v2 09/11] target/arm: Suppress FEAT_TRBE (Trace Buffer Extension), Richard Henderson, 2023/08/11
- [PATCH v2 03/11] target/arm: Support more GM blocksizes, Richard Henderson, 2023/08/11
- [PATCH v2 10/11] target/arm: Implement FEAT_HPDS2 as a no-op, Richard Henderson, 2023/08/11
- [PATCH v2 02/11] target/arm: Allow cpu to configure GM blocksize, Richard Henderson, 2023/08/11
- [PATCH v2 07/11] target/arm: Apply access checks to neoverse-v1 special registers,
Richard Henderson <=
- [PATCH v2 01/11] target/arm: Reduce dcz_blocksize to uint8_t, Richard Henderson, 2023/08/11
- [PATCH v2 05/11] target/arm: Introduce make_ccsidr64, Richard Henderson, 2023/08/11
- [PATCH v2 11/11] target/arm: Implement cortex-a710, Richard Henderson, 2023/08/11
- Re: [PATCH v2 00/11] target/arm: Implement cortex-a710, Peter Maydell, 2023/08/29