Skip to content
Commit 76a5db10 authored by KarimAllah Ahmed's avatar KarimAllah Ahmed Committed by Marc Zyngier
Browse files

KVM: arm64: Use the correct timer structure to access the physical counter



Use the physical timer structure when reading the physical counter
instead of using the virtual timer structure. Thankfully, nothing is
accessing this code path yet (at least not until we enable save/restore
of the physical counter). It doesn't hurt for this to be correct though.

Signed-off-by: default avatarKarimAllah Ahmed <karahmed@amazon.de>
[maz: amended commit log]
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Reviewed-by: default avatarZenghui Yu <yuzenghui@huawei.com>
Fixes: 84135d3d ("KVM: arm/arm64: consolidate arch timer trap handlers")
Link: https://lore.kernel.org/r/1584351546-5018-1-git-send-email-karahmed@amazon.de
parent 98d54f81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment