KVM: ARM: vgic: introduce vgic_ops and LR manipulation primitives
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Jun 2013 14:55:02 +0000 (15:55 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:51 +0000 (17:18 +0200)
commit9f92df7009267f1a105e1338def7e99da648417c
tree406b4342230efdfa54478fdcc3b3303fdb394088
parent7f124577d6247ae088a0acb0762297a5bdaeb9a3
KVM: ARM: vgic: introduce vgic_ops and LR manipulation primitives

In order to split the various register manipulation from the main vgic
code, introduce a vgic_ops structure, and start by abstracting the
LR manipulation code with a couple of accessors.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 8d5c6b06a5d5f8ebcf40558e566781d572920740)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c