diff options
Diffstat (limited to 'arch/arm/kvm/interrupts_head.S')
-rw-r--r-- | arch/arm/kvm/interrupts_head.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/kvm/interrupts_head.S b/arch/arm/kvm/interrupts_head.S index 2b44b95a86dd..6f18695a09cb 100644 --- a/arch/arm/kvm/interrupts_head.S +++ b/arch/arm/kvm/interrupts_head.S | |||
@@ -503,6 +503,10 @@ vcpu .req r0 @ vcpu pointer always in r0 | |||
503 | add r5, vcpu, r4 | 503 | add r5, vcpu, r4 |
504 | strd r2, r3, [r5] | 504 | strd r2, r3, [r5] |
505 | 505 | ||
506 | @ Ensure host CNTVCT == CNTPCT | ||
507 | mov r2, #0 | ||
508 | mcrr p15, 4, r2, r2, c14 @ CNTVOFF | ||
509 | |||
506 | 1: | 510 | 1: |
507 | #endif | 511 | #endif |
508 | @ Allow physical timer/counter access for the host | 512 | @ Allow physical timer/counter access for the host |