Thread (5 messages) flat view 5 messages, 4 authors, 2016-08-11

Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2016-08-11 11:07:57
Also in: kvm, lkml

Michael Ellerman [off-list ref] writes:
Radim Kr=C4=8Dm=C3=A1=C5=99 [off-list ref] writes:
quoted
2016-08-03 13:36+0200, Paolo Bonzini:
quoted
hmi.c functions are unused unless sibling_subcore_state is nonzero, and
that in turn happens only if KVM is in use.  So move the code to
arch/powerpc/kvm/, putting it under CONFIG_KVM_BOOK3S_64_HANDLER
rather than CONFIG_PPC_BOOK3S_64.  The sibling_subcore_state is also
included in struct paca_struct only if KVM is supported by the kernel.
=20
Cc: Paul Mackerras <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Mahesh Salgaonkar <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: kvm-ppc@vger.kernel.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
	It would be nice to have this in 4.8, to minimize any 4.9 conflicts.
	Build-tested only, with and without KVM enabled.
If you agree with the change, would you prefer to have this patch merged
through the PowerPC tree?
Yeah I'll pull it into my fixes branch.
And then I pulled it out again:

  (.text+0x157fc): undefined reference to `.wait_for_subcore_guest_exit'
  (.text+0x15834): undefined reference to `.wait_for_tb_resync'
  make[1]: *** [vmlinux] Error 1

http://kisskb.ellerman.id.au/kisskb/buildresult/12775422/

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help