]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/arm64/kvm/hyp/vgic-v3-sr.c
arm64: KVM: vgic-v3: Do not save an LR known to be empty
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 9 Feb 2016 17:09:49 +0000 (17:09 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 9 Mar 2016 04:24:07 +0000 (04:24 +0000)
commit84e8b9c88d5fe9c9a59ed24ae44d7ac0983df92b
tree84a22a8961fd7f97b4df927712565ce2148dc336
parentb4344545cf85d2a6ad546ec21dab5f76487e020e
arm64: KVM: vgic-v3: Do not save an LR known to be empty

On exit, any empty LR will be signaled in ICH_ELRSR_EL2. Which
means that we do not have to save it, and we can just clear
its state in the in-memory copy.

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