From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C2DAC7EE3A for ; Thu, 2 Mar 2023 10:56:07 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4PS7Ls5Y1nz3cND for ; Thu, 2 Mar 2023 21:56:05 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=hBuzTjYp; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2a00:1450:4864:20::42b; helo=mail-wr1-x42b.google.com; envelope-from=philmd@linaro.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=hBuzTjYp; dkim-atps=neutral Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4PS7Kr2G6dz30Ky for ; Thu, 2 Mar 2023 21:55:09 +1100 (AEDT) Received: by mail-wr1-x42b.google.com with SMTP id j2so16066538wrh.9 for ; Thu, 02 Mar 2023 02:55:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677754507; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0kjxBm4+DoG4C2wkKxFrUZYN+G/AbIQR/qTtaSDrIN0=; b=hBuzTjYp86bobqv1AUnivhVAB+fHkcybJMfFnoYq5XxuLSFuQ3+Sy3NgfNej+EWd8B rh/AkNcHBS3Yyc69bMdn4gfRP9Go7vFqJDDurq08i7r8d8ynDwGpH01/IyritVt7KvTY Pgq22XljboE6G7BIjTINZLIsIAXm27P5W832BnwJWH8hNceGeY3zNOvq6P9HXbBgd6Fo u0+ij6GUonTNAW5Y0yW374P5yAZwWVrcTnOX7QmHSPKCVVIOn+HPFGc3Isr4kkCx4mMn gNgtlu8hv+yOLeF4bf8hlj7lu1Xd8My1dGp5plqQYeSOH8AO3nmB5lc+T1ClqzKx+d58 2B9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677754507; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0kjxBm4+DoG4C2wkKxFrUZYN+G/AbIQR/qTtaSDrIN0=; b=Ee8IvTXWDcK7qdTLxOJ6WuF3CgbSDxWZ4aYo64QLnaOxmrs/0rKaDMyv4gZULafFFV KD4aJq1IHT75AksIAmFdrGGboV7p7FKWR3ogXFWYW3iO/dTTPZj1MYe1Fz9IgEetrcOR pd/Kv1hv3EU++iTcDEPGV9ZtRpJ9vBGytK6e0d4neHd02PYe1sO72QxblCgT5A7Dmhkk wy3Uiv+MKSO8zZ4oy5jHTyCi4zJn/E0eUdJlhFQO0rMhvN1jbJ4F7oUYQt/HHHdvWms3 g05U/i+qymEuN+4mM8gdL6HHVVJbyzm2htv0GCwfkzICOIH5+IKrHugV1ceHdUebRAwq FYUg== X-Gm-Message-State: AO0yUKX8HTgw8SagXQJSOsEXBrQhNxUMnCLxJ6GL62FNydwGWlrmbUgG 6jsiKCh8+uDmbphRIYKgiNGQ6g== X-Google-Smtp-Source: AK7set9yfancJC9F/8+0XfOWQfqS1+KlikHyR2NYbUWgAu3Rsx3a/IRK/+MfzAe0tCHzWfXDpMcIqA== X-Received: by 2002:a5d:6b10:0:b0:2c5:55cf:b1ab with SMTP id v16-20020a5d6b10000000b002c555cfb1abmr7109270wrw.48.1677754506664; Thu, 02 Mar 2023 02:55:06 -0800 (PST) Received: from [192.168.74.175] (89.red-88-28-21.dynamicip.rima-tde.net. [88.28.21.89]) by smtp.gmail.com with ESMTPSA id k28-20020a5d525c000000b002c556a4f1casm14839206wrc.42.2023.03.02.02.55.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Mar 2023 02:55:06 -0800 (PST) Message-ID: Date: Thu, 2 Mar 2023 11:54:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v2.1 09/24] mips/cpu: Expose play_dead()'s prototype definition Content-Language: en-US To: Josh Poimboeuf References: <39835bc75af2e812fce56400533cb2ab41bcf0e2.1676358308.git.jpoimboe@kernel.org> <080a5ccb-7fa0-1a75-538f-a09dc146fc4e@linaro.org> <20230214181101.3a2tscbmwdnwbqpu@treble> <20230216184249.ogaqsaykottpxtcb@treble> <20230301181639.ajqdeh7g3m3fpqhk@treble> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20230301181639.ajqdeh7g3m3fpqhk@treble> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: juri.lelli@redhat.com, dalias@libc.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, peterz@infradead.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, x86@kernel.org, jiaxun.yang@flygoat.com, linux-mips@vger.kernel.org, bsegall@google.com, jcmvbkbc@gmail.com, guoren@kernel.org, hpa@zytor.com, sparclinux@vger.kernel.org, kernel@xen0n.name, will@kernel.org, vschneid@redhat.com, f.fainelli@gmail.com, vincent.guittot@linaro.org, ysato@users.sourceforge.jp, chenhuacai@kernel.org, linux@armlinux.org.uk, linux-csky@vger.kernel.org, mingo@redhat.com, bcm-kernel-feedback-list@broadcom.com, mgorman@suse.de, mattst88@gmail.com, linux-xtensa@linux-xtensa.org, paulmck@kernel.org, richard.henderson@linaro.org, npiggin@gmail.com, ink@jurassic.park.msu.ru, rostedt@goodmis.org, loongarch@lists.linux.dev, tglx@linutronix.de, dietmar.eggemann@arm.com, linux-arm-kernel@lists.infradead.org, jgross@suse.com, chris@zankel.net, tsbogend@alpha.franken.de, bristot@redhat.com, linux-kern el@vger.kernel.org, linux-alpha@vger.kernel.org, bp@alien8.de, linuxppc-dev@lists.ozlabs.org, davem@davemloft.net Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 1/3/23 19:16, Josh Poimboeuf wrote: > The latest version of this patch triggered a new kbuild warning which is > fixed by the below patch. If there are no objections I'll bundle it in > with the rest of the set for merging. > > ---8<--- > > Subject: [PATCH] mips/smp: Add CONFIG_SMP guard for raw_smp_processor_id() > Content-type: text/plain > > Without CONFIG_SMP, raw_smp_processor_id() is not expected to be defined > by the arch. > > Reported-by: kernel test robot > Link: https://lore.kernel.org/oe-kbuild-all/202302220755.HM8J8GOR-lkp@intel.com/ > Signed-off-by: Josh Poimboeuf > --- > arch/mips/include/asm/smp.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/include/asm/smp.h b/arch/mips/include/asm/smp.h > index 4eee29b7845c..cf992b8b1e46 100644 > --- a/arch/mips/include/asm/smp.h > +++ b/arch/mips/include/asm/smp.h > @@ -25,6 +25,7 @@ extern cpumask_t cpu_sibling_map[]; > extern cpumask_t cpu_core_map[]; > extern cpumask_t cpu_foreign_map[]; > > +#ifdef CONFIG_SMP > static inline int raw_smp_processor_id(void) > { > #if defined(__VDSO__) > @@ -36,6 +37,7 @@ static inline int raw_smp_processor_id(void) > #endif > } > #define raw_smp_processor_id raw_smp_processor_id > +#endif > > /* Map from cpu id to sequential logical cpu number. This will only > not be idempotent when cpus failed to come on-line. */ Reviewed-by: Philippe Mathieu-Daudé