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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 DC091C433ED for ; Mon, 10 May 2021 15:25:49 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 4F85161107 for ; Mon, 10 May 2021 15:25:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4F85161107 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=desiato.20200630; 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=eZrGk80k8b17XzlpvNEK1JWE/ORpHlEBanXkaBrmfLo=; b=HX3CMpXL3Rmd5v9Lc9eEJrCGy Tjn4WnAvtFes3N6urT+LMcffd6iRxGIyk+LnHBz7AtbZrKFJAQMVXDgflW9bj/TIaK7MFXwRT1X/L mYvqmQYawL9OBN3duIAClHei8q8aN13sd8818uvWiBi+cQLQ0KUUiqJ3f4XIl5MmlAiSGFUglgls2 0UkvgId3WriYl7/V/+lA+ig2Q/PsWbcjD3CWs5CIrkjajeXFZPZLTof1L87Gm0SO+ElGmWrsf6LVZ YAEOUyuTFxXTbBphCE1AQk/cP4CWMsvsQ53nYoXbfHCKFzhofCEfH91r0t6cHECeaUg8cys2ZUAg6 +u5XJ/YqQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg7kv-00EmEi-L0; Mon, 10 May 2021 15:23:37 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg7kt-00EmEc-QY for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 15:23:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Yn/rWLTZh1AW+m6cA1XMlONQ7gCV/oJRLOIOF7iu3VI=; b=F6O1PBD/Zi+1p1WfgtGHvQH4Mx IMqN96ns6jDZSk2yipp1dHCDFlcQtN2LPvFOSqsTiFVrM4uEfnpTehPWgHywgPE1kj5i2EtFMTOi1 ssRyn0TfJjYLJJk6T/vwL9gOfWt7d4179cKZjcUWFGyAMg+j7Knfc4xf2fhKY5GynkJb+kn+pMexa JlahYykppIhehVMTkcH6NLHbPoS/g5Ld0il55k8QGpS06NW2b6ekjc4M1jK91SN1KeNkQZAS1opOi dEuT+EEaewMaFCi5L30c49ssWFPiZvivXZY2q7PojwTeIHClooTdz09P9Wd8dz+Ui/U6ipOS+SoVe CEKk+e7Q==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg7kr-008rlE-8p for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 15:23:34 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3175561139; Mon, 10 May 2021 15:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620660212; bh=7BjOgdnUbFiaXHhjQLqZLSrD9Uu5UC1JQAJWBroX4Dw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hKu9a0lzHygWAdyMOg+p+Rb+B3QaYs8NrVYRpzhj9Mv2cJIdT+3+zVVFOtcPEhtgy NkKqzTrmHUknZ3I9C+dpBzYYwbspKcDMt/R9zzzT8IdzfXwc+UyDVuUo851aIaeRgY VkKW5veBYwdI+v10tjtN8b40tlHO5uvrbP5qJ40eLIbCteg7ZBjHQqvz/PI7m07FNn JvJ4QgMgjChHfGywH/r9jUHu3uEAyTsvHiE+X1NwpvgzmvkGdbyrfU4TL3fYzMXple Bouwe7p82PfYTS1jOAULv5RP/buveugaXUIdVRDRO+79MeBV+5NUceJEIEIXYiRx8A C3tNCqfzObndA== Date: Mon, 10 May 2021 16:22:53 +0100 From: Mark Brown To: Dave P Martin Cc: Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v1 1/3] arm64/sve: Split _sve_flush macro into separate Z, P and FFR flushes Message-ID: <20210510152253.GB4496@sirena.org.uk> References: <20210510122348.56443-1-broonie@kernel.org> <20210510122348.56443-2-broonie@kernel.org> <20210510145710.GB18631@e103592.cambridge.arm.com> MIME-Version: 1.0 In-Reply-To: <20210510145710.GB18631@e103592.cambridge.arm.com> X-Cookie: Beam me up, Scotty! 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-20210510_082333_356569_285712F4 X-CRM114-Status: GOOD ( 15.14 ) 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="===============2890206817617527460==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2890206817617527460== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oLBj+sq0vYjzfsbl" Content-Disposition: inline --oLBj+sq0vYjzfsbl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 10, 2021 at 03:57:11PM +0100, Dave P Martin wrote: > > +.macro sve_flush_ffr > > _sve_wrffr 0 > This doesn't flush the FFR as advertised, but writes whatever happens to > be in P0 to the FFR. Oh, bother - the way the macros work mean the argument isn't super clear there, it looks like it writes an immediate value, and then of course the generated code looks identical. Will fix. > Thinking about it, is there ever a situation when we would want to flush > the P-regs and not the FFR (or vice-versa)? I can't see where we would > want to do that myself. > If not, can we keep these combined? We could either keep the name > sve_flush_p (since the FFR is a predicate register, if a weird kind of > one), or go with something more descriptive such as sve_flush_p_and_ffr. Not right now but I do expect to build on this in the not too distant future. --oLBj+sq0vYjzfsbl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCZT80ACgkQJNaLcl1U h9B+9gf/WJshlQstKKQkvLVJxRg4qFhjeuMx+F1Y1H/kUglF4ckMVFs/5n3LEKVq D3wc3iFhijPlHRvq1TgNjmfgpoI2nagBGuZCSqzLOGAJqim+cZMpH4Ow8k4hmWwj 2H9wf8BafA3abxuZo+z/jz0iPLaSwltXKPNhqNM1KgJAUDABRVGQvicEpCDVVWz1 1pqQ5c4tQR2EwdYpjhOfT+3dnrCVRt8MXa26LjPlL1z7aI8yrz0KSdIw4YIETrJu 6cPBLavGA28v9Eas7P94yAuNaMxfKZ7vXi5VIOFLUbTfLGSW/Hh5v+CbOafmvnO6 yk8nGx0VtP8I2mYIx7DE3QAwQZ0KvQ== =NP4n -----END PGP SIGNATURE----- --oLBj+sq0vYjzfsbl-- --===============2890206817617527460== 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 --===============2890206817617527460==--