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 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, 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 B1455C4338F for ; Wed, 28 Jul 2021 10:23:33 +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 77D7A60F93 for ; Wed, 28 Jul 2021 10:23:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 77D7A60F93 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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=t8FBRY4TutI3oGWACepUW5IxdV0cKH6Qy7RmQs5Y3ok=; b=Xu3oKGoUCxAEg75NiJIzDTpa2Z wtl2J/H17NkpzUSY9vL0PWAxbwmrOJ1BRctmOyqRXwamjrcvyHF7tH+NDEpsQTfVCPJiyMLrCoeGu 3QPsSbXwWZSQP3iVqPTMxP1xq5xACQ0ZbBdHIl+4tslCCfy6SVslop5I/0HeWYfwmHMD2dlF8k6CP zmRGc9SY6n1o8BCqOGI1AOPnftVLvoWNzKfXhRDeNg54e2IePiagYBf598MqryE0/z2jBUUzrbIDw SC0dYE1459UfiHiot/ObZUmHvoGW3ShtlKtwwzbBpXV/A1t98/QNM6UL0B7UlBi7FIcSVlIejPF7q PbaeZhlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8ggE-000Mz7-7W; Wed, 28 Jul 2021 10:20:50 +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 1m8ggB-000Myd-62 for linux-arm-kernel@lists.infradead.org; Wed, 28 Jul 2021 10:20:48 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 73AC760524; Wed, 28 Jul 2021 10:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627467645; bh=iaMJUzIxUBOuPqcrzKGYUTf3+HhWvUvyGdH2QoA/lqo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RZivgsZd3pDs+JeDyDwtEXYIAzedRbzriRsmrOFL8iPqtzYKx5t7OXEjBW9J+VqdH Onzsi6FxB2V2ofj0+GJyEgFHx8Tb6p6TX8Ds0omfR3BlP0GDezynABYSxuiv2zMt1+ 8FGWQ/Faa7j/0HHM3nk75mc/rBt/yjjFc7xPhrqONEqbIlGnOyuk6BkWz3eMMIKPAB G+cUPkm//g8EteLvK2RrzjGBiez4IkBnQpF9ne5bio97a/B8Bt43SA7bQMdDtk6O91 +90TMulO8DHn1cIRn50bJsSEzwXZdIE7npuVCJxMprLyPTYZAnDlEUg96FGZg1ZgL6 wRkOD1QTiOnvQ== Date: Wed, 28 Jul 2021 11:20:35 +0100 From: Mark Brown To: Dave Martin Cc: Catalin Marinas , Will Deacon , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 1/3] kselftest/arm64: Provide a helper binary and "library" for SVE RDVL Message-ID: <20210728102035.GB4670@sirena.org.uk> References: <20210727180649.12943-1-broonie@kernel.org> <20210727180649.12943-2-broonie@kernel.org> <20210728094117.GA1724@arm.com> MIME-Version: 1.0 In-Reply-To: <20210728094117.GA1724@arm.com> X-Cookie: Vini, vidi, Linux! 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-20210728_032047_285529_4D980722 X-CRM114-Status: GOOD ( 16.96 ) 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="===============7972997771370641426==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7972997771370641426== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MvEh5MSbieV/1Yst" Content-Disposition: inline --MvEh5MSbieV/1Yst Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 10:41:30AM +0100, Dave Martin wrote: > On Tue, Jul 27, 2021 at 07:06:47PM +0100, Mark Brown wrote: > > SVE provides an instruction RDVL which reports the currently configured > > vector length. In order to validate that our vector length configuration > > interfaces are working correctly without having to build the C code for > > +.globl rdvl_sve > > +rdvl_sve: > > + rdvl x0, #1 > > + ret >=20 > This works, but can we use an ACLE intrinsic for this? I'm pretty GCC > and LLVM have been up to date with that stuff for some time, though > you'd have to check with the compiler folks. If we put SVE into C source files we need to build the C code with SVE support enabled, I felt it was safer to avoid any possibility that we might get some interference with the tests due to interactions with SVE code generated by the compiler. It should be fine, but it's even easier to not have to think about it at all. --MvEh5MSbieV/1Yst Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEBL3MACgkQJNaLcl1U h9AClQf/ckHQsXPvvMFR0BnsJvyGxt/+7KXS75+TqZ0VoM3m2JaVOxnFtGaOcOY/ IfvVOpWsfvtzljRN9Dpmbc0ClWSf1F6ZtlWrT/XjX3S5kvakBdxXyiHgfpxg92PC ztxIeVEqTQEJ/46HFAPyIyzxABM6u/tdL5CJkYBl5OoJ/EN0RmpJAYMbUs11Habh Z2qtpCf4mzhz44jIBFpego9tiJVvQshY1jAdZSjnIWV/TXFLWj4cWhlH7q5houYb vz4Ip8rpWSXXW6vP7Tdg5Mw9sNNxWKZou+N+OG3JJ0DqG9aYLWCXIEKmfYedhSZl GtYqvn4kMmTfAi8fdZwkSuLA5MKKeA== =arev -----END PGP SIGNATURE----- --MvEh5MSbieV/1Yst-- --===============7972997771370641426== 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 --===============7972997771370641426==--