Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8220237rwb; Tue, 13 Dec 2022 03:55:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Zy0OM0vBHFdQi7rNqhOcVHa9IBpGqKDiYE/rHcvKOGjCLJBf+0Ie8bSEgp33Y6VPw1ukC X-Received: by 2002:a17:902:74c6:b0:189:e290:c65f with SMTP id f6-20020a17090274c600b00189e290c65fmr19738640plt.66.1670932521940; Tue, 13 Dec 2022 03:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670932521; cv=none; d=google.com; s=arc-20160816; b=iGHHU69Sk07bw+hWhZrFKRSErU/BIw2dyoN7odihOP42z+2bYs31EclZIYtivdx5v8 4DPthl366SRDcA9jCfkLAnHEkD8WX2XMS+fS75eMS4ajd01KyqFsABT1vSkh/ZB8BWsL ARfX08hJjl6ei1DklybCKnCEApc9rt7hIpuTwUxdwnON2MHtiD41SA/vAZeWsWonOKqO j04kBwuvqtEHBb2WFz7RX8H7MZuRqT0iEc8Ay+J7vJzh5gzVXjYWJwFKED1jFHSHj0y3 DARE3xtK3ndJzgdNyASM41QcUvVdaHj+MFLCeVUPa1ZGwFeKFL1iL11W2vz3Ptf6FC1A 92VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=lcCw8llVW4TGF0NtjJvHAt5nupsclQJbAxlYqbnRWD0=; b=FXDnD+zRKivhlEei5ptV70PB0555t2Vn7Hf8bIqjuYr7vpvV/jYdigS4pD3xNfNrDy 8atOHh4OgGqjH8ebQOsJFx7+7sN99w+rwPSrGYnUap6Mr7uUMXm5MwPsl47PFjaqNF7E Q95DJG+vJ2F7wPEvs608aoADyBziXTtWiO72CXSW+wc8W593h0LQDZdvXp2PT5Eq+eKQ ExZ4Zf6oxdwBNvDd8A13afXM+2cAAEtysG/O7mu7VhJGSnndscalydLsfrCHN7gRvCOM BL+vG98KzWlDeIHjaBKmjCGdWcusg1MMXhZEGkqlHDNn8ssJjclmWS2Pfm1rVDgU9L6/ jXIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a170902778b00b00186c5eb0d48si2108582pll.425.2022.12.13.03.55.12; Tue, 13 Dec 2022 03:55:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235275AbiLMLu1 (ORCPT + 73 others); Tue, 13 Dec 2022 06:50:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235280AbiLMLuY (ORCPT ); Tue, 13 Dec 2022 06:50:24 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 982F710B67; Tue, 13 Dec 2022 03:50:22 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7E0B52F4; Tue, 13 Dec 2022 03:51:02 -0800 (PST) Received: from e126815.warwick.arm.com (e126815.arm.com [10.32.32.26]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4F3EB3F5A1; Tue, 13 Dec 2022 03:50:20 -0800 (PST) From: James Clark To: linux-perf-users@vger.kernel.org Cc: James Clark , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: [PATCH v2 0/4] Add VG register attr test with kernel version and feature detection Date: Tue, 13 Dec 2022 11:47:35 +0000 Message-Id: <20221213114739.2312862-1-james.clark@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I didn't get any feedback on the RFC version of this that I posted a while back [1]. I'd still like to add the test, especially now that 6.1 has been released with this new feature, so I've rebased it onto perf/core and double checked that it's still working. Applies to perf/core (0c3852adae83) Thanks James [1]: https://lore.kernel.org/bpf/20220927154104.869029-1-james.clark@arm.com/ James Clark (4): perf test: Add ability to test exit code for attr tests perf test: Add mechanism for skipping attr tests on auxiliary vector values perf test: Add mechanism for skipping attr tests on kernel versions perf test arm64: Add attr tests for new VG register tools/perf/tests/attr.py | 71 +++++++++++++++++-- .../attr/test-record-user-regs-no-sve-aarch64 | 9 +++ .../test-record-user-regs-old-sve-aarch64 | 10 +++ .../attr/test-record-user-regs-sve-aarch64 | 14 ++++ 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 tools/perf/tests/attr/test-record-user-regs-no-sve-aarch64 create mode 100644 tools/perf/tests/attr/test-record-user-regs-old-sve-aarch64 create mode 100644 tools/perf/tests/attr/test-record-user-regs-sve-aarch64 -- 2.25.1