kvm: ppc: bookehv: Save restore SPRN_SPRG9 on guest entry exit
authorBharat Bhushan <Bharat.Bhushan@freescale.com>
Mon, 21 Jul 2014 05:53:26 +0000 (11:23 +0530)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:23:14 +0000 (15:23 +0200)
commit99e99d19a86dc596703ed79dcecf9ca6b32a6a8a
tree9b7f2622633ad9f922a569b3403d18b83f7ede6f
parentf5250471b2d6ad27d536cb34ce39d76b91b2b36b
kvm: ppc: bookehv: Save restore SPRN_SPRG9 on guest entry exit

SPRN_SPRG is used by debug interrupt handler, so this is required for
debug support.

Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kvm/bookehv_interrupts.S