From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Fri, 11 Nov 2011 16:01:56 +0000 Subject: Re: [PATCH] powerpc kvm: fix kvmppc_start_thread() for CONFIG_SMP=N Message-Id: <4EBD46F4.5040503@suse.de> List-Id: References: <12283.1320977000@neuling.org> In-Reply-To: <12283.1320977000@neuling.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Neuling Cc: Paul Mackerras , kvm-ppc , linuxppc-dev@ozlabs.org On 11/11/2011 03:03 AM, Michael Neuling wrote: > Currently kvmppc_start_thread() tries to wake other SMT threads via > xics_wake_cpu(). Unfortunately xics_wake_cpu only exists when > CONFIG_SMP=Y so when compiling with CONFIG_SMP=N we get: > > arch/powerpc/kvm/built-in.o: In function `.kvmppc_start_thread': > book3s_hv.c:(.text+0xa1e0): undefined reference to `.xics_wake_cpu' > > The following should be fine since kvmppc_start_thread() shouldn't > called to start non-zero threads when SMP=N since threads_per_core=1. > > Signed-off-by: Michael Neuling Thanks, applied to kvm-ppc-next. Please CC kvm-ppc@vger next time :). Alex From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx2.suse.de", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 965D31007D4 for ; Sat, 12 Nov 2011 03:01:43 +1100 (EST) Message-ID: <4EBD46F4.5040503@suse.de> Date: Fri, 11 Nov 2011 17:01:56 +0100 From: Alexander Graf MIME-Version: 1.0 To: Michael Neuling Subject: Re: [PATCH] powerpc kvm: fix kvmppc_start_thread() for CONFIG_SMP=N References: <12283.1320977000@neuling.org> In-Reply-To: <12283.1320977000@neuling.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Paul Mackerras , kvm-ppc , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 11/11/2011 03:03 AM, Michael Neuling wrote: > Currently kvmppc_start_thread() tries to wake other SMT threads via > xics_wake_cpu(). Unfortunately xics_wake_cpu only exists when > CONFIG_SMP=Y so when compiling with CONFIG_SMP=N we get: > > arch/powerpc/kvm/built-in.o: In function `.kvmppc_start_thread': > book3s_hv.c:(.text+0xa1e0): undefined reference to `.xics_wake_cpu' > > The following should be fine since kvmppc_start_thread() shouldn't > called to start non-zero threads when SMP=N since threads_per_core=1. > > Signed-off-by: Michael Neuling Thanks, applied to kvm-ppc-next. Please CC kvm-ppc@vger next time :). Alex