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)
commit00dafa0fcfe9fb1d863f08dc45d6f05ac9505d46
treee39a89e27af52f1bd04ca869ef8cd1b9c28ed262
parentf6769581e90ba2535b3e587fe15b74f6cbc4aaab
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