Re: [PATCH 0/6 v2] Cleanup and fixes related to helper SPRN_XX functions

Alexander Graf
2014-07-17T13:46:04Z

On 17.07.14 13:31, Bharat Bhushan wrote:
> These are primarily the cleanup patches, where shared struct get/set
> helper function are enhanced to handle shadow registers and uses those
> helper functions.
> Eventually this also fix SRR0/1 synchronization from userspace
>
> v1->v2
> - Compilation fix for book3s

Thanks, applied all to kvm-ppc-queue.

(resend without triple-x again)

Alex

>
> Bharat Bhushan (6):
> kvm: ppc: bookehv: Added wrapper macros for shadow registers
> kvm: ppc: booke: Use the shared struct helpers of SRR0 and SRR1
> kvm: ppc: booke: Use the shared struct helpers of SPRN_DEAR
> kvm: ppc: booke: Add shared struct helpers of SPRN_ESR
> kvm: ppc: booke: Use the shared struct helpers for SPRN_SPRG0-7
> kvm: ppc: Add SPRN_EPR get helper function
>
> arch/powerpc/include/asm/kvm_ppc.h | 55 ++++++++++++++++---
> arch/powerpc/kvm/booke.c | 108 ++++++++++---------------------------
> arch/powerpc/kvm/booke_emulate.c | 8 +--
> 3 files changed, 80 insertions(+), 91 deletions(-)
>