]> Git Repo - qemu.git/commitdiff
target-arm: Mark CNTHP_TVAL_EL2 as ARM_CP_NO_RAW
authorEdgar E. Iglesias <[email protected]>
Fri, 26 Feb 2016 12:45:39 +0000 (13:45 +0100)
committerPeter Maydell <[email protected]>
Fri, 26 Feb 2016 15:09:42 +0000 (15:09 +0000)
Mark CNTHP_TVAL_EL2 as ARM_CP_NO_RAW due to the register not
having any underlying state. This fixes an issue with booting
KVM enabled kernels when EL2 is on.

Signed-off-by: Edgar E. Iglesias <[email protected]>
Message-id: 1456490739[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
target-arm/helper.c

index ef3f1ce9bceb4b948dbc8eb1615ab572b81e3e5e..2b43cdc0379fd058df75d60d80364a31725e69bb 100644 (file)
@@ -3672,7 +3672,7 @@ static const ARMCPRegInfo el2_cp_reginfo[] = {
       .writefn = gt_hyp_cval_write, .raw_writefn = raw_write },
     { .name = "CNTHP_TVAL_EL2", .state = ARM_CP_STATE_BOTH,
       .opc0 = 3, .opc1 = 4, .crn = 14, .crm = 2, .opc2 = 0,
-      .type = ARM_CP_IO, .access = PL2_RW,
+      .type = ARM_CP_NO_RAW | ARM_CP_IO, .access = PL2_RW,
       .resetfn = gt_hyp_timer_reset,
       .readfn = gt_hyp_tval_read, .writefn = gt_hyp_tval_write },
     { .name = "CNTHP_CTL_EL2", .state = ARM_CP_STATE_BOTH,
This page took 0.037237 seconds and 4 git commands to generate.