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

2016-08-11 Thread Michael Ellerman
Michael Ellerman writes: > Radim Krčmář 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

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

2016-08-10 Thread Michael Ellerman
Radim Krčmář 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

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

2016-08-10 Thread Radim Krčmář
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_subc

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

2016-08-03 Thread Daniel Axtens
Paolo Bonzini writes: > 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 a

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

2016-08-03 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_64_HANDLER rather than CONFIG_PPC_BOOK3S_64. The sibling_subcore_state is also included in struct paca_stru