diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-07-06 09:11:50 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-19 21:05:22 +0000 |
commit | ee7930490a8f84570e96268f5736e99570b58307 (patch) | |
tree | a517617fdf0cf02dcea998a8347b5dc93a5f14f6 /virt/kvm | |
parent | 49a57857aeea06ca831043acbb0fa5e0f50602fd (diff) | |
download | linux-stable-ee7930490a8f84570e96268f5736e99570b58307.tar.gz linux-stable-ee7930490a8f84570e96268f5736e99570b58307.tar.bz2 linux-stable-ee7930490a8f84570e96268f5736e99570b58307.zip |
clocksource/arm_arch_timer: Store physical timer IRQ number for KVM on VHE
A host running in VHE mode gets the EL2 physical timer as its time
source (accessed using the EL1 sysreg accessors, which get re-directed
to the EL2 sysregs by VHE).
The EL1 physical timer remains unused by the host kernel, allowing us to
pass that on directly to a KVM guest and saves us from emulating this
timer for the guest on VHE systems.
Store the EL1 Physical Timer's IRQ number in
struct arch_timer_kvm_info on VHE systems to allow KVM to use it.
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions