diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-02-09 17:09:49 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-03-09 04:22:24 +0000 |
commit | f8cfbce1bb85984d2601a18e8f21dacc1b79dce3 (patch) | |
tree | 82a1d4ace25eb2bc717f35e7015a52cfc842079b /security/yama | |
parent | 2a1044f8b7bfd99296774f5f90abf8f96013a997 (diff) | |
download | talos-op-linux-f8cfbce1bb85984d2601a18e8f21dacc1b79dce3.tar.gz talos-op-linux-f8cfbce1bb85984d2601a18e8f21dacc1b79dce3.zip |
KVM: arm/arm64: vgic-v2: Do not save an LR known to be empty
On exit, any empty LR will be signaled in GICH_ELRSR*. Which
means that we do not have to save it, and we can just clear
its state in the in-memory copy.
Take this opportunity to move the LR saving code into its
own function.
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions