Re: [PATCH] KVM: arm/arm64: Don't enable/disable physical timer access on VHE

2017-11-20 Thread Jintack Lim
On Mon, Nov 20, 2017 at 6:16 AM, Christoffer Dall wrote: > 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 >

[PATCH] KVM: arm/arm64: Don't enable/disable physical timer access on VHE

2017-11-20 Thread Christoffer Dall
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