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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5365C433EF for ; Wed, 29 Sep 2021 14:44:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96847613D3 for ; Wed, 29 Sep 2021 14:44:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245396AbhI2Opy (ORCPT ); Wed, 29 Sep 2021 10:45:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:35202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244878AbhI2Opy (ORCPT ); Wed, 29 Sep 2021 10:45:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC2DE613CD; Wed, 29 Sep 2021 14:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632926653; bh=KDeH4Oq7N91SAJ92j6g8VLFdgZePjlYp+OIhj/hPpQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YhJ0yBEgr1JT6AeXNNCwP7pMEN51qs+wSNIm63I3d8Ijqg/ZECwKvlIvYBFVd/IHb n6gGb64KIZaM5knIGeavMny6Pu6o+4Y/dGUl6ZHDLOt6a3U2D5xucaPkzB1v+0fLDP 2zrLrZkt7L2If1rf0i+2SMRFA41F2NfFR2liN/7hW5S1eWJm/klF2Mo1JeYwNEqsj5 gO2BMqPcya3TylBSTIjocPzTB7H2PyHSfTMTTV7i+UCOH7gYmthWhdgziXgSVcpQuG 8uRy1bvvxsO00ptb6RQZFeMH6cC1XsoBQW81tflEJWRqzSjZpthnsuoLMnUh1pBnps QNLr47W1Kxgng== Date: Wed, 29 Sep 2021 15:43:23 +0100 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Shuah Khan , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, misono.tomohiro@fujitsu.com Subject: Re: [PATCH v2 0/4] selftests: arm64: vec-syscfg updates Message-ID: <20210929144323.GQ4199@sirena.org.uk> References: <20210917120855.13858-1-broonie@kernel.org> <20210929143113.GA22029@willie-the-truck> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7kD9y3RnPUgTZee0" Content-Disposition: inline In-Reply-To: <20210929143113.GA22029@willie-the-truck> X-Cookie: 98% lean. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org --7kD9y3RnPUgTZee0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 29, 2021 at 03:31:14PM +0100, Will Deacon wrote: > With this series applied, I see a test failing under qemu with: > # selftests: arm64: vec-syscfg > # TAP version 13 > # 1..10 > # ok 1 SVE default vector length 64 > # ok 2 # SKIP Need to be root to write to /proc > # ok 3 # SKIP Need to be root to write to /proc AFAICT this is due to running as a non-root user, the testsuite was already having serious issues before then... > # ok 4 SVE current VL is 64 > # ok 5 SVE set VL 64 and have VL 64 > # ok 6 # SKIP SVE only one VL supported > # ok 7 # SKIP SVE only one VL supported > # ok 8 # SKIP SVE only one VL supported > # ok 9 # SKIP SVE only one VL supported > # # SVE VL 272 returned 256 not maximum 0 ...as it's starting off by testing an interface that's only writable by root and then relying on that information, the existing tests were also not working usefully. qemu by default supports way more than one vector length. In any case it's just the test added by the last patch that's causing the output here, the first four patches should be fine and fix issues. I'm not sure it's a particularly good idea to run kselftest as a non-root user TBH, it's going to cause you to skip a lot of tests. --7kD9y3RnPUgTZee0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFUe4sACgkQJNaLcl1U h9DBfQf9HNL8PZN0AtWCqD1wZf94yN/NDZBjC7dAhHnPvds0UmoA1Oba1db4VkLD Qz/6MSjljl/twcINqAmlsAUV8wo2/evGdf3U0cVSglt8g34Vcii5w3n0eSNevvdJ oLpGtOWqZKrl3tULCbCAYS+tQAYiKgFj2mtG9QU2T8zEkFLUbfNBj1qaLXT+Uw7w 53nZlTRwD90Gb5lhjR7ArEF41kCONsMBBf6Ph2g4MMryM2ldlpRMvHZM72FQ51cw 56pjUM5+BZJtTEHaBMQMHIWLFOg8EKWxd1WxW8fqOjfJxRzFpvbo/DH+mdoKW+ry +BzSGBgCN4qyTGcgASu4SkZLC1bi8Q== =BntX -----END PGP SIGNATURE----- --7kD9y3RnPUgTZee0-- 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1ADCEC433F5 for ; Wed, 29 Sep 2021 14:46:10 +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 11612613CE for ; Wed, 29 Sep 2021 14:46:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 11612613CE 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=pdiLAqd8ixrAJYbkq2yAuZWi47pM4clqYKhn795l5TQ=; b=GLaHq1hDQymmP1+JbWTPAInziC /U1d3OmJCakdeJDNGJWqFXrIb1ZSCHZ7PnqzWwAtNNqnx6n0+xHtBpuw+4EIprCh9ou2dV6syji6m /YTbE5JikK72m6yH2nFy5U9pxungt9w/JUpZcbG4LXI0aJrq9mSGCHUTZdwXLhw0Xnd8O2Ho4g/33 HNrjg6oPShSUPp5fVgvqFx8Wv7kHyrUBHhN5OJNqEQzTHWssdyfILnrELEdCsvu0otluRlnpskNDE nFMyNr2/SB7atZMPkbEaQLFNzv9SbuH0ZvDMoSUCiWVqaJFSqgKwNkoAOidwbNUjzOQpoPvVRbrBc 8VA6LNfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mVaok-00BLiE-2w; Wed, 29 Sep 2021 14:44:18 +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 1mVaoh-00BLhd-0g for linux-arm-kernel@lists.infradead.org; Wed, 29 Sep 2021 14:44:16 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id CC2DE613CD; Wed, 29 Sep 2021 14:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632926653; bh=KDeH4Oq7N91SAJ92j6g8VLFdgZePjlYp+OIhj/hPpQs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YhJ0yBEgr1JT6AeXNNCwP7pMEN51qs+wSNIm63I3d8Ijqg/ZECwKvlIvYBFVd/IHb n6gGb64KIZaM5knIGeavMny6Pu6o+4Y/dGUl6ZHDLOt6a3U2D5xucaPkzB1v+0fLDP 2zrLrZkt7L2If1rf0i+2SMRFA41F2NfFR2liN/7hW5S1eWJm/klF2Mo1JeYwNEqsj5 gO2BMqPcya3TylBSTIjocPzTB7H2PyHSfTMTTV7i+UCOH7gYmthWhdgziXgSVcpQuG 8uRy1bvvxsO00ptb6RQZFeMH6cC1XsoBQW81tflEJWRqzSjZpthnsuoLMnUh1pBnps QNLr47W1Kxgng== Date: Wed, 29 Sep 2021 15:43:23 +0100 From: Mark Brown To: Will Deacon Cc: Catalin Marinas , Shuah Khan , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, misono.tomohiro@fujitsu.com Subject: Re: [PATCH v2 0/4] selftests: arm64: vec-syscfg updates Message-ID: <20210929144323.GQ4199@sirena.org.uk> References: <20210917120855.13858-1-broonie@kernel.org> <20210929143113.GA22029@willie-the-truck> MIME-Version: 1.0 In-Reply-To: <20210929143113.GA22029@willie-the-truck> X-Cookie: 98% lean. 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-20210929_074415_102255_390F9965 X-CRM114-Status: GOOD ( 13.58 ) 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="===============7464514747309533626==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7464514747309533626== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7kD9y3RnPUgTZee0" Content-Disposition: inline --7kD9y3RnPUgTZee0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 29, 2021 at 03:31:14PM +0100, Will Deacon wrote: > With this series applied, I see a test failing under qemu with: > # selftests: arm64: vec-syscfg > # TAP version 13 > # 1..10 > # ok 1 SVE default vector length 64 > # ok 2 # SKIP Need to be root to write to /proc > # ok 3 # SKIP Need to be root to write to /proc AFAICT this is due to running as a non-root user, the testsuite was already having serious issues before then... > # ok 4 SVE current VL is 64 > # ok 5 SVE set VL 64 and have VL 64 > # ok 6 # SKIP SVE only one VL supported > # ok 7 # SKIP SVE only one VL supported > # ok 8 # SKIP SVE only one VL supported > # ok 9 # SKIP SVE only one VL supported > # # SVE VL 272 returned 256 not maximum 0 ...as it's starting off by testing an interface that's only writable by root and then relying on that information, the existing tests were also not working usefully. qemu by default supports way more than one vector length. In any case it's just the test added by the last patch that's causing the output here, the first four patches should be fine and fix issues. I'm not sure it's a particularly good idea to run kselftest as a non-root user TBH, it's going to cause you to skip a lot of tests. --7kD9y3RnPUgTZee0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmFUe4sACgkQJNaLcl1U h9DBfQf9HNL8PZN0AtWCqD1wZf94yN/NDZBjC7dAhHnPvds0UmoA1Oba1db4VkLD Qz/6MSjljl/twcINqAmlsAUV8wo2/evGdf3U0cVSglt8g34Vcii5w3n0eSNevvdJ oLpGtOWqZKrl3tULCbCAYS+tQAYiKgFj2mtG9QU2T8zEkFLUbfNBj1qaLXT+Uw7w 53nZlTRwD90Gb5lhjR7ArEF41kCONsMBBf6Ph2g4MMryM2ldlpRMvHZM72FQ51cw 56pjUM5+BZJtTEHaBMQMHIWLFOg8EKWxd1WxW8fqOjfJxRzFpvbo/DH+mdoKW+ry +BzSGBgCN4qyTGcgASu4SkZLC1bi8Q== =BntX -----END PGP SIGNATURE----- --7kD9y3RnPUgTZee0-- --===============7464514747309533626== 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 --===============7464514747309533626==--