target/arm: Correct the encoding of MDCCSR_EL0
PATCH 1/1 target/arm: Correct the encoding of MDCCSR_EL0
Signed-off-by Nick Hudson <[email protected]>
--- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/arm/helper.c +1 -1
@@ -6330,7 +6330,7 @@ static const ARMCPRegInfo debug_cp_reginfo[] = {* We don't implement the configurable EL0 access. */ { .name = "MDCCSR_EL0", .state = ARM_CP_STATE_BOTH, - .cp = 14, .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, + .cp = 14, .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 1, .opc2 = 0, .type = ARM_CP_ALIAS, .access = PL1_R, .accessfn = access_tda, .fieldoffset = offsetof(CPUARMState, cp15.mdscr_el1), },
Signature · 1 line
2.31.1
target/arm/helper.c static const ARMCPRegInfo debug_cp_reginfo[] = { · line 6333
Quoted 3 lines · Nick Hudson
{ .name = "MDCCSR_EL0", .state = ARM_CP_STATE_BOTH,target/arm/helper.c +1
-1- .cp = 14, .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, + .cp = 14, .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 1, .opc2 = 0,
Reviewed-by Richard Henderson <[email protected]>
r~
Quoted 20 lines · Nick Hudson
Signed-off-by Nick Hudson <[email protected]>--- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/arm/helper.c +1
-2@@ -6330,7 +6330,7 @@ static const ARMCPRegInfo debug_cp_reginfo[] = {* We don't implement the configurable EL0 access. */ { .name = "MDCCSR_EL0", .state = ARM_CP_STATE_BOTH, - .cp = 14, .opc0 = 2, .opc1 = 0, .crn = 0, .crm = 1, .opc2 = 0, + .cp = 14, .opc0 = 2, .opc1 = 3, .crn = 0, .crm = 1, .opc2 = 0, .type = ARM_CP_ALIAS, .access = PL1_R, .accessfn = access_tda, .fieldoffset = offsetof(CPUARMState, cp15.mdscr_el1), }, --
Quoted 1 line
2.31.1
Is this just a repost of the same version you sent previously, or am I missing something ?
thanks
-- PMM