]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm-vgic: Support CPU interface reg access
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 23 Sep 2013 21:55:57 +0000 (14:55 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 21 Dec 2013 18:02:10 +0000 (10:02 -0800)
commit1624f98d9296f9c5b70ef9768e7bac95e6a4365f
treeeb547e3490340335770449ad81d13b9c9f0e5031
parenta8d1355e0369498444a9d4f1a38b4a07e209a815
KVM: arm-vgic: Support CPU interface reg access

Implement support for the CPU interface register access driven by MMIO
address offsets from the CPU interface base address.  Useful for user
space to support save/restore of the VGIC state.

This commit adds support only for the same logic as the current VGIC
support, and no more.  For example, the active priority registers are
handled as RAZ/WI, just like setting priorities on the emulated
distributor.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c