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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 296B6C4332F for ; Mon, 13 Sep 2021 13:20:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 163E66113B for ; Mon, 13 Sep 2021 13:20:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240449AbhIMNVQ (ORCPT ); Mon, 13 Sep 2021 09:21:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:34836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240357AbhIMNU2 (ORCPT ); Mon, 13 Sep 2021 09:20:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4020660FA0; Mon, 13 Sep 2021 13:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631539124; bh=mA+0CsuIfJkgDiC6lErrWJ/d7egZo8invcZOmdXVmcw=; h=From:To:Cc:Subject:Date:From; b=X1Itwk8uzhl9R5+P/dW4Ty3ZUvVN9iRMP04zXoWvWN8vn7xIeIF6Xfw89tIN6vNKY sM+7eh/L6vG2qLUV+ikepRGUVJBTYlaB9oDL+TGR/6WCd/zasJHoGo6YLRUnKZyhms cgk1dwI++stNjPFycgb1Eghoh/Jw7qQoz9btfOLHOhDbJfAKGC2W2fFCcaSHU/sKNc 3/jB/L/Tiwihj/4BoYYlp1ITnn/Scg0HdM7uvSNORimx7wUzaX9fqKg28zzbWutzOA +w0hYVjBdeJYliJWNFcttd+LPYzvXqQ6qLsyTP/uVgPl8T+RiXvshFpCBK2VQUw1cT ravae1dlJJFwA== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH v1 0/8] selftests: arm64: SVE ptrace test rework Date: Mon, 13 Sep 2021 13:54:57 +0100 Message-Id: <20210913125505.52619-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1539; h=from:subject; bh=mA+0CsuIfJkgDiC6lErrWJ/d7egZo8invcZOmdXVmcw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhP0oiwiuP5irtY9k38zY4yBBsYwbYq2TmgQuPNY+O pjmsYKiJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYT9KIgAKCRAk1otyXVSH0O0iB/ 9V3eyvh7j1+KeRJpClTv14LVGGsLF9j7CERN9Cob41AL5+pfO60khtw6Q3epB7JU7kBZmOkaFJetDw SydpnAQPOclqmvfqWRp0DyGkUHAn1iEjHfMBeaG/jLbP/97crl6P2GsmPkMKlai9Twd90v0PljXOSJ rZIP32EfCZBorqv0GSp3JxrqoEz6NLoFQKC1uybVXo7IM1cGFwd1P16MEsBLLhFZFBiRxlhTitHJRN MGa4r9ukpXhXKmVnqR2n4EO2/IuplRqt5AzLIVafteHvg7I29Gsx1k9IApbwg7uwlZc4zXLcyHQboR WgouZIfFVHoVtSpvFbcGBB8ClzNxOg X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org This series overhauls the selftests we have for the SVE ptrace interface to make them much more comprehensive than they are currently, making the coverage of the data read and written more complete. The new coverage for setting data on all vector lengths showed the issue with using the wrong buffer size with ptrace reported and fixed by: https://lore.kernel.org/linux-arm-kernel/20210909165356.10675-1-broonie@kernel.org/ (arm64/sve: Use correct size when reinitialising SVE state). Mark Brown (8): selftests: arm64: Use a define for the number of SVE ptrace tests to be run selftests: arm64: Don't log child creation as a test in SVE ptrace test selftests: arm64: Remove extraneous register setting code selftests: arm64: Document what the SVE ptrace test is doing selftests: arm64: Clarify output when verifying SVE register set selftests: arm64: Verify interoperation of SVE and FPSIMD register sets selftests: arm64: More comprehensively test the SVE ptrace interface selftests: arm64: Move FPSIMD in SVE ptrace test into a function tools/testing/selftests/arm64/fp/Makefile | 2 +- tools/testing/selftests/arm64/fp/TODO | 9 +- .../selftests/arm64/fp/sve-ptrace-asm.S | 33 -- tools/testing/selftests/arm64/fp/sve-ptrace.c | 460 ++++++++++++------ 4 files changed, 321 insertions(+), 183 deletions(-) delete mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace-asm.S base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f -- 2.20.1 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=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 CE731C433EF for ; Mon, 13 Sep 2021 13:20:38 +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 9EA07610FB for ; Mon, 13 Sep 2021 13:20:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9EA07610FB 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8X4diWri9ssZIyGgVumJtY4SGGX96vlcKEd2W+QnXUg=; b=yfoMtLSG5YrntL bnttFpshux8BofvOdQ04t3uIouJzgbsYq33rrRJJ9d529ZUuWm9ODfEqiaTImqbAooqwfmpZ3I7Vx GTb5kvZEHQG1A/sPcnthnSWMyxuPBFCwwnkg60/KFocwYC/SXVXGpFx56RHUBWgMV0fQE9Me/BLmm J0ll3A2XmbWz72dPt9NAhfCOAkDqPluYcQNg/JiAFFaYxJPlpwWQrt/TwlFC+RjD/1/6L4kX5p3b1 MyGIE+CxIOHCCSeSQBfbvvuoj/HKJ/7JwwzQl2DXdQzqmNjm+JAsjbE15yyGCZKkcXzzrMMZvU6mB kqYNTk0Zs/WTDBe/U97Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mPlrH-001kss-IV; Mon, 13 Sep 2021 13:18:51 +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 1mPlrB-001kqv-6X for linux-arm-kernel@lists.infradead.org; Mon, 13 Sep 2021 13:18:47 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4020660FA0; Mon, 13 Sep 2021 13:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631539124; bh=mA+0CsuIfJkgDiC6lErrWJ/d7egZo8invcZOmdXVmcw=; h=From:To:Cc:Subject:Date:From; b=X1Itwk8uzhl9R5+P/dW4Ty3ZUvVN9iRMP04zXoWvWN8vn7xIeIF6Xfw89tIN6vNKY sM+7eh/L6vG2qLUV+ikepRGUVJBTYlaB9oDL+TGR/6WCd/zasJHoGo6YLRUnKZyhms cgk1dwI++stNjPFycgb1Eghoh/Jw7qQoz9btfOLHOhDbJfAKGC2W2fFCcaSHU/sKNc 3/jB/L/Tiwihj/4BoYYlp1ITnn/Scg0HdM7uvSNORimx7wUzaX9fqKg28zzbWutzOA +w0hYVjBdeJYliJWNFcttd+LPYzvXqQ6qLsyTP/uVgPl8T+RiXvshFpCBK2VQUw1cT ravae1dlJJFwA== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH v1 0/8] selftests: arm64: SVE ptrace test rework Date: Mon, 13 Sep 2021 13:54:57 +0100 Message-Id: <20210913125505.52619-1-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1539; h=from:subject; bh=mA+0CsuIfJkgDiC6lErrWJ/d7egZo8invcZOmdXVmcw=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBhP0oiwiuP5irtY9k38zY4yBBsYwbYq2TmgQuPNY+O pjmsYKiJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYT9KIgAKCRAk1otyXVSH0O0iB/ 9V3eyvh7j1+KeRJpClTv14LVGGsLF9j7CERN9Cob41AL5+pfO60khtw6Q3epB7JU7kBZmOkaFJetDw SydpnAQPOclqmvfqWRp0DyGkUHAn1iEjHfMBeaG/jLbP/97crl6P2GsmPkMKlai9Twd90v0PljXOSJ rZIP32EfCZBorqv0GSp3JxrqoEz6NLoFQKC1uybVXo7IM1cGFwd1P16MEsBLLhFZFBiRxlhTitHJRN MGa4r9ukpXhXKmVnqR2n4EO2/IuplRqt5AzLIVafteHvg7I29Gsx1k9IApbwg7uwlZc4zXLcyHQboR WgouZIfFVHoVtSpvFbcGBB8ClzNxOg X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210913_061845_298140_AC86A89B X-CRM114-Status: UNSURE ( 8.60 ) X-CRM114-Notice: Please train this message. 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series overhauls the selftests we have for the SVE ptrace interface to make them much more comprehensive than they are currently, making the coverage of the data read and written more complete. The new coverage for setting data on all vector lengths showed the issue with using the wrong buffer size with ptrace reported and fixed by: https://lore.kernel.org/linux-arm-kernel/20210909165356.10675-1-broonie@kernel.org/ (arm64/sve: Use correct size when reinitialising SVE state). Mark Brown (8): selftests: arm64: Use a define for the number of SVE ptrace tests to be run selftests: arm64: Don't log child creation as a test in SVE ptrace test selftests: arm64: Remove extraneous register setting code selftests: arm64: Document what the SVE ptrace test is doing selftests: arm64: Clarify output when verifying SVE register set selftests: arm64: Verify interoperation of SVE and FPSIMD register sets selftests: arm64: More comprehensively test the SVE ptrace interface selftests: arm64: Move FPSIMD in SVE ptrace test into a function tools/testing/selftests/arm64/fp/Makefile | 2 +- tools/testing/selftests/arm64/fp/TODO | 9 +- .../selftests/arm64/fp/sve-ptrace-asm.S | 33 -- tools/testing/selftests/arm64/fp/sve-ptrace.c | 460 ++++++++++++------ 4 files changed, 321 insertions(+), 183 deletions(-) delete mode 100644 tools/testing/selftests/arm64/fp/sve-ptrace-asm.S base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel