From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938584AbcHJSlf (ORCPT ); Wed, 10 Aug 2016 14:41:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50940 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936544AbcHJSlc (ORCPT ); Wed, 10 Aug 2016 14:41:32 -0400 Date: Wed, 10 Aug 2016 20:41:27 +0200 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paul Mackerras , Michael Ellerman , Mahesh Salgaonkar , linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org Subject: Re: [PATCH] powerpc: move hmi.c to arch/powerpc/kvm/ Message-ID: <20160810184127.GA27257@potion> References: <1470224194-15412-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1470224194-15412-1-git-send-email-pbonzini@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 10 Aug 2016 18:41:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Michael Ellerman > Cc: Mahesh Salgaonkar > Cc: linuxppc-dev@lists.ozlabs.org > Cc: kvm-ppc@vger.kernel.org > Cc: kvm@vger.kernel.org > Signed-off-by: Paolo Bonzini > --- > 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? (There are no expected conflicts with -rc2 KVM tree.) Thanks.