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

Michael Ellerman mpe at ellerman.id.au
Tue Sep 13 11:46:21 AEST 2016


Paul Mackerras <paulus at ozlabs.org> writes:

> On Thu, Aug 11, 2016 at 03:07:43PM +0200, Paolo Bonzini wrote:
>> 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_HV_POSSIBLE
>> 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.
>> 
>> Cc: Daniel Axtens <dja at axtens.net>
>> Cc: Michael Ellerman <mpe at ellerman.id.au>
>> Cc: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
>> Cc: Paul Mackerras <paulus at samba.org>
>> Cc: linuxppc-dev at lists.ozlabs.org
>> Cc: kvm-ppc at vger.kernel.org
>> Cc: kvm at vger.kernel.org
>> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
>
> Thanks, patch applied to my kvm-ppc-infrastructure branch, which is
> merged into my kvm-ppc-next branch.

Ben already merged this into the powerpc tree, which has since gone to
Linus:

  https://git.kernel.org/torvalds/c/7c379526d7e7

cheers


More information about the Linuxppc-dev mailing list