Re: [PATCH v4 09/10] ARM: gic-v3: Introduce 32-to-64-bit mappings for GICv3 cpu registers

2016-09-22 Thread Marc Zyngier
On 12/09/16 15:49, Vladimir Murzin wrote: > 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

Re: [PATCH v4 09/10] ARM: gic-v3: Introduce 32-to-64-bit mappings for GICv3 cpu registers

2016-09-13 Thread Christoffer Dall
On Mon, Sep 12, 2016 at 03:49:23PM +0100, Vladimir Murzin wrote: > 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

[PATCH v4 09/10] ARM: gic-v3: Introduce 32-to-64-bit mappings for GICv3 cpu registers

2016-09-12 Thread Vladimir Murzin
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