Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp44153rwl; Thu, 23 Mar 2023 12:26:03 -0700 (PDT) X-Google-Smtp-Source: AK7set/D7BYiQaMiV2Npci0+BAaNODKyUDpvHBzx3C0Sysx1HDmugWW6E6gNzXhEcADpBpwmBsVi X-Received: by 2002:a05:6a20:9146:b0:db:c5c:e0a3 with SMTP id x6-20020a056a20914600b000db0c5ce0a3mr4270708pzc.10.1679599563001; Thu, 23 Mar 2023 12:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679599562; cv=none; d=google.com; s=arc-20160816; b=J+10huGk+o+89fHeci0c9iB2jXv4AQ0gJxF8nK6iufqUrVfNl7jQUIJKVYP6CamBwb TrhuFsm1RHEG7420XnckYTlwFAcjoDI4fym2biMforMou4nnqIg3jZLPGX1VM9HXdhDp 4WSDmegopTLhueCeodgSdGN4re+0HKDc+nrJYPiVQFtL8j5CPsPdOFle976yuXas1XxZ 3kUpmQHyZBWuHz/ZP12z/J8q403Os/6Xd1GR+wwLps9wkwwW0y+TdSACms3K7RK2BxuJ os55aekSbke9V2O7qqCBKSpv5SmU/CacokL53U3ktufWt52ZbTZLvcoo+E096yPTLRYT 9Vkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=ICoBRC5p7C47vzNPhCu4TQTxzhqKflbzynhlXLr/MKk=; b=WiHoJtuHBfhEAxNzWrAvqYe8W19g8qrKBicpQE4vP9HU+AR+JoC7YapIyYAqWb2g0Z 6o9BCe6AT4Oy7MZFRkp9KTfif+/3DahYiXn2tn8YMj9mTjNzLUPcLpLlBOjOqn3Tt3iu AmLHnjnr4XJQyxqX1CG1kg2EWaFac3e9U5JxS4HA+4urkHjeu6zjlsPEGOjhGCQgkuKy YaYP5eRKE4INhNe6jKe/Nl9ObeCZPjzdRMXSb3htKuJKj7wVsNyvjFstJmbxXq/3pxwu My0zawktrC+fvxGNZ/o6LLdRVa5ME8BcBkTBohwj1JhD7NN4R4hxTGHsbjIB9KIRtucv BZzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NTv4v6z3; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x5-20020a654145000000b00503005a4f2fsi18362673pgp.857.2023.03.23.12.25.49; Thu, 23 Mar 2023 12:26:02 -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; dkim=pass header.i=@google.com header.s=20210112 header.b=NTv4v6z3; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231547AbjCWTWO (ORCPT + 99 others); Thu, 23 Mar 2023 15:22:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231540AbjCWTVq (ORCPT ); Thu, 23 Mar 2023 15:21:46 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FC6ACDC9 for ; Thu, 23 Mar 2023 12:21:28 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 205-20020a2503d6000000b00b7411408308so4189948ybd.1 for ; Thu, 23 Mar 2023 12:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679599287; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ICoBRC5p7C47vzNPhCu4TQTxzhqKflbzynhlXLr/MKk=; b=NTv4v6z3Ry7/x16aUR6VsSc2k8sA9zVbyAhVQTlCenK4TKyrTtLzcVCpKnXXpMYMvz mnCi5FW6Ux9aGdiAkPcCiBPO4+hnZ4FncMdfsiCKN/qpAFzVrkRDXdsL2DgYYoOvBTJ+ 5d+Yacn36i26RyuFzNCVISlOJXf4MCzBjg/H95LHGb5HfwiQplhxgCzA+3YAKjzwTVcC KxdILpoPITXk1FkOALG7PUQAKKiH8bCcArW2Et3dbd/CtwpnZrnPDgURtyQng8zxIHWp ktEMzP1HbudPxSO69jZzUQC+v2yrGNGQsS2uBYTaXmsD6t/brrNCuwsbHF3SBl9CwKMm 0izw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679599287; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ICoBRC5p7C47vzNPhCu4TQTxzhqKflbzynhlXLr/MKk=; b=SHTXGkGORKL/LsoqNhLlLv0zcYR+kbJmojxB76BrzGduzOpDKvquu8dBt61nFGWCps lIUAPVSKNrGYIcjRtRBcVuSfoRILnDa5qSW0Hj4MGBsjZEEIj6K3pmYaToWp0WfntL04 1zl/PDdXwnjOJhMOWCX/gh/XFJ673hGnZpU4qBeWGtFG1MklEXkFpDpimN8j4NGNDQEj nDd1LXIuyheJM5aQBSIuhS4QcTRvZrPDuuysnKhKJsEyNRjufY9NASdk1FvpFy9d2ayi F79bTqc3Dx8zQvvUGESSL8ojH5W9okQGZBR8+hG1SQorwNzAGD73OTn1iH9+ZFfWszwR pE9g== X-Gm-Message-State: AAQBX9fVLq7fLSUOCcGQMXQPtkQDXjlDywZ70++14VM/KBlAL+rnORxK mPN2Mn7ZZzZApFNZdiceaMgoqUaia+O5 X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:e705:3a3d:46e5:fb50]) (user=irogers job=sendgmr) by 2002:a05:6902:70a:b0:b21:5fb4:c6e6 with SMTP id k10-20020a056902070a00b00b215fb4c6e6mr2790224ybt.11.1679599287786; Thu, 23 Mar 2023 12:21:27 -0700 (PDT) Date: Thu, 23 Mar 2023 12:20:25 -0700 In-Reply-To: <20230323192028.135759-1-irogers@google.com> Message-Id: <20230323192028.135759-7-irogers@google.com> Mime-Version: 1.0 References: <20230323192028.135759-1-irogers@google.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Subject: [PATCH v2 6/9] perf vendor events: Jaketown v23 events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Zhengjun Xing , Kan Liang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Edward Baker , Dan Williams , perry.taylor@intel.com, caleb.biggers@intel.com, samantha.alt@intel.com, weilin.wang@intel.com Cc: Ian Rogers Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 Adds BR_MISP_EXEC.INDIRECT event. Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/jaketown/pipeline.json | 8 ++++++++ tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json b/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json index 85c04fe7632a..d0edfdec9f01 100644 --- a/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json +++ b/tools/perf/pmu-events/arch/x86/jaketown/pipeline.json @@ -202,6 +202,14 @@ "SampleAfterValue": "200003", "UMask": "0xc4" }, + { + "BriefDescription": "Speculative mispredicted indirect branches", + "EventCode": "0x89", + "EventName": "BR_MISP_EXEC.INDIRECT", + "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).", + "SampleAfterValue": "200003", + "UMask": "0xe4" + }, { "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.", "EventCode": "0x89", diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index e1a609401fff..e41c289fa427 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -16,7 +16,7 @@ GenuineIntel-6-(7D|7E|A7),v1.17,icelake,core GenuineIntel-6-6[AC],v1.19,icelakex,core GenuineIntel-6-3A,v23,ivybridge,core GenuineIntel-6-3E,v22,ivytown,core -GenuineIntel-6-2D,v22,jaketown,core +GenuineIntel-6-2D,v23,jaketown,core GenuineIntel-6-(57|85),v10,knightslanding,core GenuineIntel-6-A[AC],v1.01,meteorlake,core GenuineIntel-6-1[AEF],v3,nehalemep,core -- 2.40.0.348.gf938b09366-goog