Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4057848iob; Tue, 17 May 2022 12:58:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3InAiYUx5E8PFF5iuTGKqeKAGtIlFkyal9h3Fvyz1+1j2zwlHRnQTOAk2ANhRZxbYn8Av X-Received: by 2002:a05:6a00:2985:b0:510:66a4:375d with SMTP id cj5-20020a056a00298500b0051066a4375dmr24259719pfb.18.1652817530188; Tue, 17 May 2022 12:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652817530; cv=none; d=google.com; s=arc-20160816; b=jxvNNEs0Zp81/4RSUsJ8KNbjz0vSdUQyZDj8tH1tOYtrGY9NRrpz3y1ICujr+jj+21 hIUAecDe0L9Wu2yGIEM4kmVcK1fFNH65yFaDW37YUYtgH5TgePGxC3d6UYGVjF03DBeh z9l9dIKVJYYrkfw5gd7LUGiEbE5TkdCoJ5pJKKo8gVoPslZrXj9M3NPLcO2yVIdMpXQ+ yfDLHPnmJSgr0f4dniJHGkrv0LCrcqM8hAx4l4xg217o6Vcyat25vN4OqzRk5fJ6Jfqk qogD2ahSPwqLUglSE8++Lmef1Owm53/CUlbjvyKuFRLoPHE1J2n95gNFFO+9tWMeyazk x9tQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Pyc9rIzWEsJVbLjP7T+zO7v8WDPL9llvlOk4YElLJLY=; b=RB0ktWsxhnl0cUQeBBl1NVeZs6w8+29EpJxYlsa/uAZXkB0TA4hf9mdKRD1iG+XgOk yrWHkLHiyo7HAooMEEKABd0Ctgj5vE6ChoDHFT7GsueadWnJ2Dvhs679gmAXzVeedHtt QXiCzI1DnwN92yxwfl8eszF+ywLqM6C82J616xiEJDsKOgAhzenBL64JKgPBYUNEbMvJ h+gT0sXMiV/gbYGjjC+X7/rNcQY3/mrTKdHbDWjZY7jAqEMlCh3+UZMtVFGr4hFOh+UZ V0H0P+XV0JmTCzhmdra5/H141S2mT0QOJLEhpOq3YA0bh0QaL3CfcGu5nsBQKHoInKfD ++Hg== 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 z13-20020a056a00240d00b004fa68de219csi472730pfh.38.2022.05.17.12.58.16; Tue, 17 May 2022 12:58:50 -0700 (PDT) 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 S1343977AbiEQKXJ (ORCPT + 99 others); Tue, 17 May 2022 06:23:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344810AbiEQKV6 (ORCPT ); Tue, 17 May 2022 06:21:58 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E22084BFD0; Tue, 17 May 2022 03:20:19 -0700 (PDT) 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 AF2B912FC; Tue, 17 May 2022 03:20:19 -0700 (PDT) Received: from e121896.warwick.arm.com (e121896.warwick.arm.com [10.32.33.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 3F8EC3F66F; Tue, 17 May 2022 03:20:17 -0700 (PDT) From: James Clark To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, broonie@kernel.org, acme@kernel.org Cc: german.gomez@arm.com, leo.yan@linaro.org, mathieu.poirier@linaro.org, john.garry@huawei.com, James Clark , Will Deacon , Mike Leach , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/4] perf tools: arm64: Copy perf_regs.h from the kernel Date: Tue, 17 May 2022 11:20:02 +0100 Message-Id: <20220517102005.3022017-2-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20220517102005.3022017-1-james.clark@arm.com> References: <20220517102005.3022017-1-james.clark@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Get the updated header for the newly added VG register. Signed-off-by: James Clark --- tools/arch/arm64/include/uapi/asm/perf_regs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/arch/arm64/include/uapi/asm/perf_regs.h b/tools/arch/arm64/include/uapi/asm/perf_regs.h index d54daafa89e3..fd157f46727e 100644 --- a/tools/arch/arm64/include/uapi/asm/perf_regs.h +++ b/tools/arch/arm64/include/uapi/asm/perf_regs.h @@ -36,6 +36,11 @@ enum perf_event_arm_regs { PERF_REG_ARM64_LR, PERF_REG_ARM64_SP, PERF_REG_ARM64_PC, - PERF_REG_ARM64_MAX, + + /* Extended/pseudo registers */ + PERF_REG_ARM64_VG = 46, // SVE Vector Granule + + PERF_REG_ARM64_MAX = PERF_REG_ARM64_PC + 1, + PERF_REG_ARM64_EXTENDED_MAX = PERF_REG_ARM64_VG + 1 }; #endif /* _ASM_ARM64_PERF_REGS_H */ -- 2.28.0