linux-sg2042/virt/kvm/arm/hyp
Christoffer Dall ec6449a9c2 KVM: arm/arm64: Don't enable/disable physical timer access on VHE
After the timer optimization rework we accidentally end up calling
physical timer enable/disable functions on VHE systems, which is neither
needed nor correct, since the CNTHCTL_EL2 register format is
different when HCR_EL2.E2H is set.

The CNTHCTL_EL2 is initialized when CPUs become online in
kvm_timer_init_vhe() and we don't have to call these functions on VHE
systems, which also allows us to inline the non-VHE functionality.

Reported-by: Jintack Lim <jintack@cs.columbia.edu>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2017-11-29 16:46:09 +01:00
..
timer-sr.c KVM: arm/arm64: Don't enable/disable physical timer access on VHE 2017-11-29 16:46:09 +01:00
vgic-v2-sr.c KVM: arm/arm64: vgic: Get rid of MISR and EISR fields 2017-04-09 07:49:10 -07:00
vgic-v3-sr.c KVM: arm/arm64: GICv4: Enable virtual cpuif if VLPIs can be delivered 2017-11-10 09:43:56 +01:00