KVM: PPC: booke(hv): Fix save/restore of guest accessible SPRGs.
authorVarun Sethi <Varun.Sethi@freescale.com>
Wed, 25 Apr 2012 01:27:34 +0000 (01:27 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 6 May 2012 14:19:09 +0000 (16:19 +0200)
commit30124906db8598255fba32c8bf0adb7e8f1503ab
tree5a59fb02e1129c5614ec608739dd1a758db5a091
parent3d4c6826ed2a28e69e8ee14f1d58c4c8622f04b3
KVM: PPC: booke(hv): Fix save/restore of guest accessible SPRGs.

For Guest accessible SPRGs 4-7, save/restore must be handled differently for 64bit and
non-64 bit case. Use the PPC_STD/PPC_LD macros for saving/restoring to/from these registers.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke_interrupts.S
arch/powerpc/kvm/bookehv_interrupts.S