diff options
author | Shanker Donthineni <shankerd@codeaurora.org> | 2018-02-19 09:38:07 -0600 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2018-02-26 10:48:02 +0100 |
commit | 250be9d61cf8898b1eea140fa31fe7713c49e989 (patch) | |
tree | 2c0988d8b3d131ddae9c0ef6a20e78310bbe729f /mm/quicklist.c | |
parent | b9fb17395b956079e2c3961a310f6a961a7de6e6 (diff) | |
download | linux-250be9d61cf8898b1eea140fa31fe7713c49e989.tar.gz linux-250be9d61cf8898b1eea140fa31fe7713c49e989.tar.bz2 linux-250be9d61cf8898b1eea140fa31fe7713c49e989.zip |
KVM: arm/arm64: No need to zero CNTVOFF in kvm_timer_vcpu_put() for VHE
In AArch64/AArch32, the virtual counter uses a fixed virtual offset
of zero in the following situations as per ARMv8 specifications:
1) HCR_EL2.E2H is 1, and CNTVCT_EL0/CNTVCT are read from EL2.
2) HCR_EL2.{E2H, TGE} is {1, 1}, and either:
— CNTVCT_EL0 is read from Non-secure EL0 or EL2.
— CNTVCT is read from Non-secure EL0.
So, no need to zero CNTVOFF_EL2/CNTVOFF for VHE case.
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'mm/quicklist.c')
0 files changed, 0 insertions, 0 deletions