]> git.karo-electronics.de Git - linux-beck.git/commit
arm64: KVM: vgic-v3: Only wipe LRs on vcpu exit
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 9 Feb 2016 17:36:09 +0000 (17:36 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 9 Mar 2016 04:24:16 +0000 (04:24 +0000)
commitb40c4892d175874d118860c8282a85ee7b64bcbb
tree407775d1301cab464839669a1446d3e41c92cb4f
parent0d98d00b8d80bfdee95cf7e85f20f107377e2662
arm64: KVM: vgic-v3: Only wipe LRs on vcpu exit

So far, we're always writing all possible LRs, setting the empty
ones with a zero value. This is obvious doing a low of work for
nothing, and we're better off clearing those we've actually
dirtied on the exit path (it is very rare to inject more than one
interrupt at a time anyway).

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/vgic-v3-sr.c