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

2016-09-12 Thread Michael Ellerman
Paul Mackerras 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

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

2016-09-12 Thread Michael Ellerman
Paul Mackerras 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

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

2016-09-11 Thread Paul Mackerras
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

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

2016-09-11 Thread Paul Mackerras
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

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

2016-08-18 Thread Benjamin Herrenschmidt
On Thu, 2016-08-18 at 10:53 +0200, Paolo Bonzini wrote: > > On 11/08/2016 15:07, 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

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

2016-08-18 Thread Benjamin Herrenschmidt
On Thu, 2016-08-18 at 10:53 +0200, Paolo Bonzini wrote: > > On 11/08/2016 15:07, 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

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

2016-08-18 Thread Paolo Bonzini
On 11/08/2016 15:07, 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

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

2016-08-18 Thread Paolo Bonzini
On 11/08/2016 15:07, 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

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

2016-08-11 Thread 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_HV_POSSIBLE rather than CONFIG_PPC_BOOK3S_64. The sibling_subcore_state is also included in struct

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

2016-08-11 Thread 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_HV_POSSIBLE rather than CONFIG_PPC_BOOK3S_64. The sibling_subcore_state is also included in struct