ppc patch queue 2013-01-06 for 3.8
Subsystems (3)
Hi Marcelo / Gleb,
This is my current patch queue for ppc against 3.8. It contains a compile fix for Book3S HV KVM.
Please pull.
Alex
The following changes since commit 18eb54cf4a9cd4b74f926209be208366415edfa8:
Gleb Natapov (1):
Merge branch 'kvm-ppc-3.8' of https://github.com/agraf/linux-2.6 into master
are available in the git repository at:
git://github.com/agraf/linux-2.6.git kvm-ppc-3.8
Alexander Graf (1):
Merge commit 'origin/master' into kvm-ppc-3.8
Andreas Schwab (1):
KVM: PPC: Book3S HV: Fix compilation without CONFIG_PPC_POWERNV
arch/powerpc/kvm/book3s_hv_ras.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
PATCH 1/1 KVM: PPC: Book3S HV: Fix compilation without CONFIG_PPC_POWERNV
From: Andreas Schwab <[email protected]>
Fixes this build breakage:
arch/powerpc/kvm/book3s_hv_ras.c: In function ‘kvmppc_realmode_mc_power7’:arch/powerpc/kvm/book3s_hv_ras.c:126:23: error: ‘struct paca_struct’ has no member named ‘opal_mc_evt’
--- arch/powerpc/kvm/book3s_hv_ras.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/powerpc/kvm/book3s_hv_ras.c +4 -0
@@ -79,7 +79,9 @@ static void flush_tlb_power7(struct kvm_vcpu *vcpu)static long kvmppc_realmode_mc_power7 (struct kvm_vcpu *vcpu) {unsigned long srr1 = vcpu->arch.shregs.msr; +#ifdef CONFIG_PPC_POWERNV struct opal_machine_check_event *opal_evt; +#endif long handled =1 ;if (srr1 &SRR1_MC_LDSTERR ) {
@@ -117,6 +119,7 @@ static long kvmppc_realmode_mc_power7(struct kvm_vcpu *vcpu) handled =0 ; } +#ifdef CONFIG_PPC_POWERNV /* * See if OPAL has already handled the condition. * We assume that if the condition is recovered then OPAL
@@ -131,6 +134,7 @@ static long kvmppc_realmode_mc_power7(struct kvm_vcpu *vcpu)if (handled) opal_evt->in_use =0 ; +#endif return handled; }
Signature · 1 line
1.6.0.2