Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3191225pxp; Tue, 8 Mar 2022 09:18:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzumqBWeA3Ay6ZEhuh1IBb0K5iQjSLpOV+ztuzC42xN3CcA+CUo/pczJO3e21Ue1sBqnrcq X-Received: by 2002:a05:6402:510d:b0:416:7790:ac40 with SMTP id m13-20020a056402510d00b004167790ac40mr3053780edd.404.1646759906372; Tue, 08 Mar 2022 09:18:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646759906; cv=none; d=google.com; s=arc-20160816; b=OKEjWfJ5C1jbZylwM0vf2LFX1yfb/O8YJ2NyJLHCocyMc5HNKtZYyRNBA0jG7W3sAK mlw8ebMhXwXZp/+P7Cu6NzcH9gPyNWNHjzPsGStrZaR3lw1KNL8QpkkFccNj1DwDB3m9 L2Ab3ykEgVUe85qrF5Dg29fonR1PW7pOffL2w0X7UppCmxiASnkyFqRTFAo9qQ/Dg2rB wVkI0K0esO9qMFF6xgajz/ozttbyl1yx4Phg7VOhrIJ8VLR3ogoBNPixp+UjEkExXmtN 5mXlAFeYmL/LAgZxTBx2mcx6JHZM9UT7N92I07rLJGMJjIPczgz/HAfumF15jGyU6r4s 9r4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=iOnNOIqgLPTazq0S8O+41ZSz/Qp62x8qyJNjvWgvGLc=; b=QAaVNF8Ou+ZOvc1UCo0qYtpWPXKugJsG7PPm324pkul/Fnhx2gwFLkRWxBO5jeKxo7 62wtnUn2dkQLj0WfuARL69c37lWnklSW018V5MbaS2zwdF2dBiNZScSGOpPJaifKn9Zu MvUA3TxCphca2+kq9oczpxOJVVQf6duc2zPnW8ciWcStAXZpZdg98BWxextk7KW4iSec 6rGowozzu31MfoRAcxEvC5KD9SWG8A1OQG/u9xSYr98M2YXEymCRbwwtj7aSemTYej1D yKiX2HWRLghJJsueq0o4hvC8IwEC2ADeNoPqp6OPHi5GRVwJG/cV+Nr4gbQw2sZPhwPz 2HpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=EEwodP8V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k23-20020aa7c057000000b00412d12ce714si10318560edo.225.2022.03.08.09.18.03; Tue, 08 Mar 2022 09:18:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=EEwodP8V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241089AbiCHLOF (ORCPT + 99 others); Tue, 8 Mar 2022 06:14:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346512AbiCHLMu (ORCPT ); Tue, 8 Mar 2022 06:12:50 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 814E847562 for ; Tue, 8 Mar 2022 03:11:48 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4KCXhf24X2z4xvN; Tue, 8 Mar 2022 22:11:46 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1646737906; bh=iOnNOIqgLPTazq0S8O+41ZSz/Qp62x8qyJNjvWgvGLc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=EEwodP8VRsJMZ4ffsI9EmVSQOs8C3WFFNy4JpJ6ZToIS0d6cxIC1Czn6mE6bo0br8 arsIVqYL/xPOLwfAB7vNYXmexnJdv8b/68+doGciVv8nwb/zURT2fuW4gP3SP0Vee+ Vpc4xOU9bKu9WdHhvT9gCzs2sj96SOVW3FPUfoGoBu6nYn8NpmL2D+tJxD7gysi8of NVzPZaNTWijzxT5IYegCP7NxggqUHAQ6IvOb4HPbNbieTHP6eExQsFmWMwfvmZf/Jz CaT1h8vA4elOL7fHFbFd771g/6/6oqC9JzXXrjx3Wv7Cu5gjDxu1MfGqB7gHggdUqI u6c4eutuIm0tA== From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras Cc: "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" Subject: Re: [PATCH v1 1/4] powerpc: Cleanup asm-prototypes.c In-Reply-To: References: <3ed660a585df2080ea8412ec20fbf652f5bf013a.1646413435.git.christophe.leroy@csgroup.eu> Date: Tue, 08 Mar 2022 22:11:45 +1100 Message-ID: <87y21kn1fy.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Le 04/03/2022 =C3=A0 18:04, Christophe Leroy a =C3=A9crit=C2=A0: >> Last call to sys_swapcontext() from ASM was removed by >> commit fbcee2ebe8ed ("powerpc/32: Always save non volatile GPRs at >> syscall entry") >>=20 >> sys_debug_setcontext() prototype not needed anymore since >> commit f3675644e172 ("powerpc/syscalls: signal_{32, 64} - switch >> to SYSCALL_DEFINE") >>=20 >> sys_switch_endian() prototype not needed anymore since >> commit 81dac8177862 ("powerpc/64: Make sys_switch_endian() traceable") >>=20 >> _mount() prototype is already in asm/ftrace.h >>=20 >> Signed-off-by: Christophe Leroy >> --- > > I see this series in next-test branch. > > Can you #include in asm/asm-prototypes.h so that=20 > _mcount() still gets versionned. I just left the existing _mcount() prototype in asm-prototypes.h. I've run that through some build tests, and want to push it for tomorrow's next, so I'd rather not change it now. Send me a follow-up patch to add the include of ftrace.h and drop the _mcount() prototype. cheers