summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic.h
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2016-09-12 15:49:23 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2016-09-22 13:22:16 +0200
commita078bedf17c2e43819fea54bdfd5793845142e3a (patch)
tree965c0a99970ce33f84761f4f476691a22ab5d586 /virt/kvm/arm/vgic/vgic.h
parent4f2546384150e78cad8045e59a9587fabcd9f9fe (diff)
ARM: gic-v3: Introduce 32-to-64-bit mappings for GICv3 cpu registers
vgic-v3 save/restore routines are written in such way that they map arm64 system register naming nicely, but it does not fit to arm world. To keep virt/kvm/arm/hyp/vgic-v3-sr.c untouched we create a mapping with a function for each register mapping the 32-bit to the 64-bit accessors. Please, note that 64-bit wide ICH_LR is split in two 32-bit halves (ICH_LR and ICH_LRC) accessed independently. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
0 files changed, 0 insertions, 0 deletions