Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54A86C47082 for ; Tue, 8 Jun 2021 12:44:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1B1A260FF0 for ; Tue, 8 Jun 2021 12:44:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B1A260FF0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fp/Ck4j744yyl4M+P/GPvikv2hzdgNbd9LeBwpvt2wM=; b=w1VZuVH4cTrkrl7P1/+ymwFhP3 OrLHXjPyizIE8TL5J06GXYAYPBjH4RQbZoqG8uFjG7fLhobW0ZV7nLDS0Qnpb7jkPYm++yl8TL12+ qK8AlgrqaK/Ic+AbYQ36onVURks6fCsruCpJCkj96pmNfbr01gboSyh1+TCMxMtYvflR94XLGbxoC 7dMqYVAVvpxn0nL/vptoJ0xJMWCzcECoakSs7oUT/BdzgTuzonHBLWPnJcgCMyz1f4QaFKwOWA015 p8OPIVMlSWl1Ig0lGuROCWWeNAHqe2o6mUGjHEBRFpYiAibvMdtEdG2jQq7aUjlwLz5QiU/0nzmZn t3Hv1gVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqb3R-008QXN-Ks; Tue, 08 Jun 2021 12:42:02 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqarx-008M2o-S6 for linux-arm-kernel@lists.infradead.org; Tue, 08 Jun 2021 12:30:11 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7B7161287; Tue, 8 Jun 2021 12:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623155409; bh=1LQLPHojnQVnZjGYNn571afp0OuKEC21vd8mY6Ex6Ts=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hzmO7fwrExqAKO94mip5hrpTmE7zusUxIB3UBwxlPnqLUu2p2qz4KfxY7hjW+1VAT 5A+fVF2VHCLGzyLhaVK5YOqSB/r5dbQ7FDARjqTfxd6GtQRBHx7X1kKdOOnF+2301c Se8VW3b83IUiT5fOzKTMe7JBf7Q/RwhN00tYsuCKwlR9oIMHZY8nmtdUmWUGqvHFgL yNAO8Er1PmlWL08J24t4AvYn/4JVe/l6cYsztLGjSG10Co6rXuFBlmTRfkWhZ26Kwo oHxOnisUsdahdEUc6JEbxWGgAxXialZ7VLNr88dWgCOGbseMv5eWu74cREoR7aAPQ4 KIa0BHmYkP9Yw== Date: Tue, 8 Jun 2021 13:29:54 +0100 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Lorenzo Pieralisi , Sudeep Holla , linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Marc Zyngier Subject: Re: [PATCH v6] arm64: smccc: Support SMCCC v1.3 SVE register saving hint Message-ID: <20210608122954.GB4200@sirena.org.uk> References: <20210603184118.15090-1-broonie@kernel.org> <20210608121533.GG10174@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20210608121533.GG10174@willie-the-truck> X-Cookie: Auction: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_053009_967067_5D64554E X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7093947561177747883==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7093947561177747883== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 08, 2021 at 01:15:33PM +0100, Will Deacon wrote: > On Thu, Jun 03, 2021 at 07:41:18PM +0100, Mark Brown wrote: > > SMCCC v1.2 requires that all SVE state be preserved over SMC calls which > > introduces substantial overhead in the common case where there is no SVE > > state in the registers. To avoid this SMCCC v1.3 introduces a flag which > > v6: > > - Prototype __arm_smccc_sve_check add add the _arm to the name to fix > > issues with symbol versioning. > Can you elaborate on what was going wrong with symbol versioning, please? > Are we papering over another genksyms bug here? There's a requirement for a prototype to appear in asm-prototypes.h for any symbol that's exported, even if it is never and should never be referenced from C code. I don't know if it's papering over a bug, looks more like it's how things are supposed to work but just not documented well (and symbol versions aren't turned on in defconfig). --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmC/YsEACgkQJNaLcl1U h9AwLwf/TALJjdvqN+2g4H28yhdO8gjma8DUMUtx8KzFj/A33Bng/9g1ssnomV++ 9QAxOBq53gzifj1nWNTvXI9jylCh7WGMMoFnGHW8oX3gWi0GEWGV4g8nfEia0lkX pvyZMZo09z+gfi06mhlDStvN7/4RPNL+qaUcZERMfEew0lYj3MbyLzs3BCVKP73d S9GNXfwb7oL+RCM8mFl8trIAvu+fimagt2CH6a0heT8yN7BjAt5IBQDLMN/oeAy8 FbfEWk5s15BfDcw90QMAoto5Rr6YE9XEOZS/spbN8ouN4F7b5KOeDcntK/cgnmqk dhdtslWbhVejXkdlrakCrvbM6Xze8g== =rzVu -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv-- --===============7093947561177747883== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7093947561177747883==--