Message ID | C40CA3A1-2397-423B-96B3-CBEE4EA7EA30@suse.de |
---|---|
State | New, archived |
Headers | show |
On 12/24/2011 07:05 PM, Alexander Graf wrote: > I was actually thinking of: > > commit dfc209648daf8ba4197e71376b76c95fd26fd272 > Author: Andreas Schwab <schwab@linux-m68k.org> > Date: Tue Nov 8 07:17:39 2011 +0000 > > KVM: PPC: protect use of kvmppc_h_pr > > kvmppc_h_pr is only available if CONFIG_KVM_BOOK3S_64_PR. > > Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> > Signed-off-by: Alexander Graf <agraf@suse.de> > > diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c > index 72559b0..aaefe19 100644 > --- a/arch/powerpc/kvm/book3s_pr.c > +++ b/arch/powerpc/kvm/book3s_pr.c > @@ -660,10 +660,12 @@ program_interrupt: > ulong cmd = kvmppc_get_gpr(vcpu, 3); > int i; > > +#ifdef CONFIG_KVM_BOOK3S_64_PR > if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) { > r = RESUME_GUEST; > break; > } > +#endif > > run->papr_hcall.nr = cmd; > for (i = 0; i < 9; ++i) { > > But yes :). I guess we need to make sure this commit also lands in 3.2 :(. > > Please post it ASAP, I'm preparing a pull request for 3.2.
Alexander Graf hat am Sat 24. Dec, 18:05 (+0100) geschrieben: > On 24.12.2011, at 12:13, Jörg Sommer wrote: > > Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben: > >> Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben: > >>> On 20.12.2011, at 21:27, Jörg Sommer wrote: > >>>> > >>>> I'm so sorry to have to report a new bug in one of your patches. It was > >>>> covered by the one above. I've picked the commit for it from your git > >>>> repository and now, the kernel build fails with this error: > >>>> > >>>> BOOTCC arch/powerpc/boot/fdt_strerror.o > >>>> BOOTAR arch/powerpc/boot/wrapper.a > >>>> WRAP arch/powerpc/boot/zImage.pmac > >>>> WRAP arch/powerpc/boot/zImage.coff > >>>> ERROR: "kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! > >>>> make[3]: *** [__modpost] Fehler 1 > >>>> make[2]: *** [modules] Fehler 2 > >>>> make[2]: *** Warte auf noch nicht beendete Prozesse... > >>>> WRAP arch/powerpc/boot/zImage.miboot > >>>> make[1]: *** [deb-pkg] Fehler 2 > >>>> make: *** [deb-pkg] Fehler 2 > I was actually thinking of: > > commit dfc209648daf8ba4197e71376b76c95fd26fd272 > Author: Andreas Schwab <schwab@linux-m68k.org> > Date: Tue Nov 8 07:17:39 2011 +0000 > But yes :). I guess we need to make sure this commit also lands in 3.2 :(. So there are at least two commits they must go into 3.2 to make the kernel build again, from my point of view: • KVM: PPC: protect use of kvmppc_h_pr • KVM: PPC: move compute_tlbie_rb to book3s_64 common header Bye, Jörg.
On 25.12.2011, at 12:01, Jörg Sommer wrote: > Alexander Graf hat am Sat 24. Dec, 18:05 (+0100) geschrieben: >> On 24.12.2011, at 12:13, Jörg Sommer wrote: >>> Jörg Sommer hat am Sat 24. Dec, 11:31 (+0100) geschrieben: >>>> Alexander Graf hat am Fri 23. Dec, 14:50 (+0100) geschrieben: >>>>> On 20.12.2011, at 21:27, Jörg Sommer wrote: >>>>>> >>>>>> I'm so sorry to have to report a new bug in one of your patches. It was >>>>>> covered by the one above. I've picked the commit for it from your git >>>>>> repository and now, the kernel build fails with this error: >>>>>> >>>>>> BOOTCC arch/powerpc/boot/fdt_strerror.o >>>>>> BOOTAR arch/powerpc/boot/wrapper.a >>>>>> WRAP arch/powerpc/boot/zImage.pmac >>>>>> WRAP arch/powerpc/boot/zImage.coff >>>>>> ERROR: "kvmppc_h_pr" [arch/powerpc/kvm/kvm.ko] undefined! >>>>>> make[3]: *** [__modpost] Fehler 1 >>>>>> make[2]: *** [modules] Fehler 2 >>>>>> make[2]: *** Warte auf noch nicht beendete Prozesse... >>>>>> WRAP arch/powerpc/boot/zImage.miboot >>>>>> make[1]: *** [deb-pkg] Fehler 2 >>>>>> make: *** [deb-pkg] Fehler 2 > >> I was actually thinking of: >> >> commit dfc209648daf8ba4197e71376b76c95fd26fd272 >> Author: Andreas Schwab <schwab@linux-m68k.org> >> Date: Tue Nov 8 07:17:39 2011 +0000 > >> But yes :). I guess we need to make sure this commit also lands in 3.2 :(. > > So there are at least two commits they must go into 3.2 to make the > kernel build again, from my point of view: > > • KVM: PPC: protect use of kvmppc_h_pr > • KVM: PPC: move compute_tlbie_rb to book3s_64 common header Yup, thanks :). All compile fixes that piled up in my tree are now with Avi to push to 3.2 :). Alex -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index 72559b0..aaefe19 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c @@ -660,10 +660,12 @@ program_interrupt: ulong cmd = kvmppc_get_gpr(vcpu, 3); int i; +#ifdef CONFIG_KVM_BOOK3S_64_PR if (kvmppc_h_pr(vcpu, cmd) == EMULATE_DONE) { r = RESUME_GUEST; break; } +#endif run->papr_hcall.nr = cmd; for (i = 0; i < 9; ++i) {