diff options
author | Bharat Bhushan <Bharat.Bhushan@freescale.com> | 2014-07-21 11:23:26 +0530 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-28 15:23:14 +0200 |
commit | 99e99d19a86dc596703ed79dcecf9ca6b32a6a8a (patch) | |
tree | 9b7f2622633ad9f922a569b3403d18b83f7ede6f /arch/powerpc/include/asm | |
parent | f5250471b2d6ad27d536cb34ce39d76b91b2b36b (diff) | |
download | linux-99e99d19a86dc596703ed79dcecf9ca6b32a6a8a.tar.gz linux-99e99d19a86dc596703ed79dcecf9ca6b32a6a8a.tar.bz2 linux-99e99d19a86dc596703ed79dcecf9ca6b32a6a8a.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 855ba4d9539d..562f685d1678 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -587,6 +587,7 @@ struct kvm_vcpu_arch { u32 mmucfg; u32 eptcfg; u32 epr; + u64 sprg9; u32 pwrmgtcr0; u32 crit_save; /* guest debug registers*/ |