commit | cc1daf0b82f12040065bb1a77dd7945b9ef821f8 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Tue Feb 09 17:36:09 2016 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Wed Mar 09 04:23:56 2016 +0000 |
tree | 4b8281877b69e56c540d28e3648786d5f89d8e9a | |
parent | d6400d77463d5c3dd386c27d07a236a07daaf33e [diff] |
KVM: arm/arm64: vgic-v2: 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 lot 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>