summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic.h
diff options
context:
space:
mode:
authorKarimAllah Ahmed <karahmed@amazon.de>2020-03-16 12:39:06 +0300
committerMarc Zyngier <maz@kernel.org>2020-03-16 19:24:17 +0300
commit76a5db107273b1ad01471e48c49635e2b944a7f4 (patch)
treecf99272908843cc46ef919b1f1d2b0a556b7a1b7 /virt/kvm/arm/vgic/vgic.h
parent98d54f81e36ba3bf92172791eba5ca5bd813989b (diff)
downloadlinux-76a5db107273b1ad01471e48c49635e2b944a7f4.tar.xz
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: KarimAllah Ahmed <karahmed@amazon.de> [maz: amended commit log] Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Fixes: 84135d3d18da ("KVM: arm/arm64: consolidate arch timer trap handlers") Link: https://lore.kernel.org/r/1584351546-5018-1-git-send-email-karahmed@amazon.de
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
0 files changed, 0 insertions, 0 deletions