Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460137

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

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/
Date 2016-08-11 04:10 +0200
Message-ID <s4NBv-505-7@gated-at.bofh.it> (permalink)
References <s2307-24s-161@gated-at.bofh.it> <s4GJI-j6-75@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Radim Krčmář <rkrcmar@redhat.com> writes:

> 2016-08-03 13:36+0200, Paolo Bonzini:
>> 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.
>> 
>> Cc: Paul Mackerras <paulus@samba.org>
>> Cc: Michael Ellerman <mpe@ellerman.id.au>
>> Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>> 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.

cheers

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Paolo Bonzini <pbonzini@redhat.com> - 2016-08-03 14:00 +0200
  Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Daniel Axtens <dja@axtens.net> - 2016-08-04 05:20 +0200
  Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Radim Krčmář <rkrcmar@redhat.com> - 2016-08-10 20:50 +0200
    Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Michael Ellerman <mpe@ellerman.id.au> - 2016-08-11 04:10 +0200
      Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Michael Ellerman <mpe@ellerman.id.au> - 2016-08-11 13:10 +0200

csiph-web