]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic: Get rid of live_lrs
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 22 Dec 2016 23:04:59 +0000 (00:04 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:45:31 +0000 (07:45 -0700)
commitc55bd174a0846d5f7a69de6cdb5894c663d00064
treee39a89e27af52f1bd04ca869ef8cd1b9c28ed262
parente964cee6902539f4a9a8d14ac9f58ee78dc5df7e
KVM: arm/arm64: vgic: Get rid of live_lrs

There is no need to calculate and maintain live_lrs when we always
populate the lowest numbered LRs first on every entry and clear all LRs
on every exit.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/hyp/vgic-v2-sr.c
virt/kvm/arm/hyp/vgic-v3-sr.c