diff options
Diffstat (limited to 'arch/arm/kvm')
-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 3c8f2f0b4c5e..d43cfb5b37c4 100644 --- a/arch/arm/kvm/interrupts_head.S +++ b/arch/arm/kvm/interrupts_head.S | |||
@@ -497,6 +497,10 @@ vcpu .req r0 @ vcpu pointer always in r0 | |||
497 | add r5, vcpu, r4 | 497 | add r5, vcpu, r4 |
498 | strd r2, r3, [r5] | 498 | strd r2, r3, [r5] |
499 | 499 | ||
500 | @ Ensure host CNTVCT == CNTPCT | ||
501 | mov r2, #0 | ||
502 | mcrr p15, 4, r2, r2, c14 @ CNTVOFF | ||
503 | |||
500 | 1: | 504 | 1: |
501 | #endif | 505 | #endif |
502 | @ Allow physical timer/counter access for the host | 506 | @ Allow physical timer/counter access for the host |