diff options
| author | Jintack Lim <[email protected]> | 2017-02-03 15:20:03 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2017-02-08 15:13:34 +0000 |
| commit | a91d18551e7b35e34a04b6fd199ca8568e7e9315 (patch) | |
| tree | 77f47ef83c6ce0d35fbaf25e993ad6f264330d5f /include/kvm/arm_arch_timer.h | |
| parent | KVM: arm/arm64: Add the EL1 physical timer context (diff) | |
| download | kernel-a91d18551e7b35e34a04b6fd199ca8568e7e9315.tar.gz kernel-a91d18551e7b35e34a04b6fd199ca8568e7e9315.zip | |
KVM: arm/arm64: Initialize the emulated EL1 physical timer
Initialize the emulated EL1 physical timer with the default irq number.
Signed-off-by: Jintack Lim <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'include/kvm/arm_arch_timer.h')
| -rw-r--r-- | include/kvm/arm_arch_timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h index 6445a3d9a6e2..f1d2fba0b9c6 100644 --- a/include/kvm/arm_arch_timer.h +++ b/include/kvm/arm_arch_timer.h @@ -58,7 +58,8 @@ struct arch_timer_cpu { int kvm_timer_hyp_init(void); int kvm_timer_enable(struct kvm_vcpu *vcpu); int kvm_timer_vcpu_reset(struct kvm_vcpu *vcpu, - const struct kvm_irq_level *irq); + const struct kvm_irq_level *virt_irq, + const struct kvm_irq_level *phys_irq); void kvm_timer_vcpu_init(struct kvm_vcpu *vcpu); void kvm_timer_flush_hwstate(struct kvm_vcpu *vcpu); void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu); |
