From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4160Bq3CnszDrph for ; Thu, 14 Jun 2018 20:25:55 +1000 (AEST) Received: by mail-pf0-x242.google.com with SMTP id a12-v6so3024610pfi.3 for ; Thu, 14 Jun 2018 03:25:55 -0700 (PDT) Date: Thu, 14 Jun 2018 20:25:46 +1000 From: Nicholas Piggin To: Christophe LEROY Cc: Michael Ellerman , "linuxppc-dev@lists.ozlabs.org" Subject: Re: stacktrace.c:(.text+0x1b0): undefined reference to `.smp_send_safe_nmi_ipi' Message-ID: <20180614202546.24d40e51@roar.ozlabs.ibm.com> In-Reply-To: <0ae99ba5-e721-dada-8d94-b223e41977e9@c-s.fr> References: <0ae99ba5-e721-dada-8d94-b223e41977e9@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 14 Jun 2018 12:06:51 +0200 Christophe LEROY wrote: > See http://kisskb.ellerman.id.au/kisskb/buildresult/13395345/ for details > > Seems like that function only exists when CONFIG_NMI_IPI is defined. > > Problem introduced by commit 5cc05910f26e6fd6da15f052f86f6150e4b91664 > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/arch/powerpc/kernel/stacktrace.c?h=next-20180614&id=5cc05910f26e6fd6da15f052f86f6150e4b91664 > > > What do you recommend to fix that ? We could just do smp_call_function in the case we have no NMI_IPI? Thanks, Nick