diff options
author | Michael Neuling <mikey@neuling.org> | 2014-01-08 21:25:19 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-01-27 16:00:57 +0100 |
commit | eee7ff9d2cc0eaaa00496bdf4193144104c7dc63 (patch) | |
tree | e7aee083afa0cb8f581d314cb816fbb171a1f6c8 /arch/powerpc/kvm/book3s_hv_interrupts.S | |
parent | 6c85f52b10fd60e45c6e30c5b85d116406bd3c9b (diff) | |
download | op-kernel-dev-eee7ff9d2cc0eaaa00496bdf4193144104c7dc63.zip op-kernel-dev-eee7ff9d2cc0eaaa00496bdf4193144104c7dc63.tar.gz |
KVM: PPC: Book3S HV: Don't set DABR on POWER8
POWER8 doesn't have the DABR and DABRX registers; instead it has
new DAWR/DAWRX registers, which will be handled in a later patch.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_interrupts.S')
-rw-r--r-- | arch/powerpc/kvm/book3s_hv_interrupts.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_hv_interrupts.S b/arch/powerpc/kvm/book3s_hv_interrupts.S index 928142c..00b7ed4 100644 --- a/arch/powerpc/kvm/book3s_hv_interrupts.S +++ b/arch/powerpc/kvm/book3s_hv_interrupts.S @@ -57,9 +57,11 @@ BEGIN_FTR_SECTION std r3, HSTATE_DSCR(r13) END_FTR_SECTION_IFSET(CPU_FTR_ARCH_206) +BEGIN_FTR_SECTION /* Save host DABR */ mfspr r3, SPRN_DABR std r3, HSTATE_DABR(r13) +END_FTR_SECTION_IFCLR(CPU_FTR_ARCH_207S) /* Hard-disable interrupts */ mfmsr r10 |