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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 27124FD8FE8 for ; Thu, 26 Feb 2026 18:00:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:To:From:Subject:Message-ID:References:Mime-Version:In-Reply-To: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p0sd+ZwPNif80S6gNRMMBCY+IhDOwA5QIZbdK/H8ojY=; b=nEWDW/HX/16gFLlWlygmoGu4PA WCFqR+m0nYVPPUl3LLeAPel0oJj3q6fSDziVDadyAJntYq/z0dxUodmURifRHH9R38kimuJFvDMFZ kaCQScIVblv/wUB3Y2v8H1Omb4sM6qF+rjw3e17LaQNDrTG/0iFdc9ele53pmNpJMGMxLCCXm7pCu 5IIyXYspgibL0J0kK0soR9/RrBrw2c3UtIVnWNNHKstAYLcjLLvVPDII4qspDAIRQ3C3816j4SnPc Mmb3Sf0s9livrTnQ2WZ3zLgeiZGianXrSbpJjMsPVQAtSgwVxCs96eOuD+gABbN724fRJETWlFjf4 wcFn2G5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvfeT-00000006tsV-0z0o; Thu, 26 Feb 2026 17:59:53 +0000 Received: from mail-dl1-x124a.google.com ([2607:f8b0:4864:20::124a]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvfeQ-00000006tqO-1fks for linux-arm-kernel@lists.infradead.org; Thu, 26 Feb 2026 17:59:51 +0000 Received: by mail-dl1-x124a.google.com with SMTP id a92af1059eb24-1275c6fc58aso2427880c88.0 for ; Thu, 26 Feb 2026 09:59:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772128789; x=1772733589; darn=lists.infradead.org; h=content-transfer-encoding:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=p0sd+ZwPNif80S6gNRMMBCY+IhDOwA5QIZbdK/H8ojY=; b=QBqOSzM4X20mNYebXY19qTIgFu/PDQc20dRNC1Ti0KJTPCW9KmM1E6f2mhH3MO4Kwu 8/wVRqURL+Xqypg63z1hKwB/AGPt1ndHEV/yNgpGnluRSR0VkWzXeT084XuvTH6H/mDG oQErvTClL1Uc2mqCwuCOWk4hkJaMq3FbMfgtwGESn7bsZGLUlLg2PTN6I621weBigqoS Zd6gjHj9czvAEpDpd9c+D0SjgkepDbp2MiavoDq5ccqO9GJSJndwDipeF+lVYLeTeLjF 5ljJApFiAZIVBGDy04d72ThrRvn5J1bIL6oaDwzV5p6Ro/W2qaMLp2dV4Olu0K1YGV+E JtxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772128789; x=1772733589; h=content-transfer-encoding:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=p0sd+ZwPNif80S6gNRMMBCY+IhDOwA5QIZbdK/H8ojY=; b=QIBhxTd5M2hqgjMgoHdODG5eq+iKSSS6Hl1r5Qd6Hevliuhn3/uQdCaPa99Vf6iknH stzoL5bUZgdiSbYFM6BFlRlE7wEkAvNNjPSNPmkCK/dtlLBU6rYAGHwz8fA4L/k+WEyy Sw1Jywo3nMxDLj3aZOcD0WDnIdqqer7gEyU6/+CjmdQaZs0nQL1+L1RHoaDNsBYYGxz+ Tvyz/B31tJ8mid/Fyx/551VrZwfq56o+X8o6wCttEAMHxV5QOP9p3V7UQqNX2M6ifsij Z8+iAk/T4yvJvQ/PA05inPTlkwdi/CVzpN2cBAQSNzDtSI7rWEPZZRmm1MH0LlEE7bAd m3iQ== X-Forwarded-Encrypted: i=1; AJvYcCWpKZI/PWHhJ78NZhS9g2AO4GH+RaEZUdnGTOx6JAqUfKTZ0025dErNypcHou/7wm7mLPvI2PJfXnju213zX3BU@lists.infradead.org X-Gm-Message-State: AOJu0YzfyheP3uGGVD6sBovfrObjUMrwWhvUlFTnjwgXSIVerfnjOqew lZMTW09eawxWfOE/ivl8oSxR3OhZb04LQyxixDkCxAnkixk/ne+aBw5kVfmydgjT3Xs8rArQr5S K207855cK7w== X-Received: from dlbbs39.prod.google.com ([2002:a05:7022:927:b0:124:a5f5:ced]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:61a9:b0:11b:9386:8256 with SMTP id a92af1059eb24-127869d8d7dmr1648777c88.43.1772128788770; Thu, 26 Feb 2026 09:59:48 -0800 (PST) Date: Thu, 26 Feb 2026 09:59:31 -0800 In-Reply-To: <20260226175936.593159-1-irogers@google.com> Mime-Version: 1.0 References: <20260226175936.593159-1-irogers@google.com> X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <20260226175936.593159-5-irogers@google.com> Subject: [PATCH v2 05/10] perf vendor events intel: Update graniterapids events from 1.16 to 1.17 From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , "=?UTF-8?q?Andreas=20F=C3=A4rber?=" , Manivannan Sadhasivam , Dapeng Mi , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260226_095950_438743_62EDF37D X-CRM114-Status: GOOD ( 13.02 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The updated events were published in: https://github.com/intel/perfmon/commit/c9ebc3ff9c3d408a888fbfbe73d386ef86c= 7306f With new IO and SNC metrics in: https://github.com/intel/perfmon/commit/04cf5e1e804afd775401167870d48cd2586= 4be7b https://github.com/intel/perfmon/commit/98b2602d83de6625bae1e6fcaab3a39b0a3= 41255 Signed-off-by: Ian Rogers --- .../arch/x86/graniterapids/frontend.json | 16 +++++++++++ .../arch/x86/graniterapids/gnr-metrics.json | 27 +++++++++++++++++++ tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/graniterapids/frontend.json b/t= ools/perf/pmu-events/arch/x86/graniterapids/frontend.json index d580d305c926..1fdeaebb739f 100644 --- a/tools/perf/pmu-events/arch/x86/graniterapids/frontend.json +++ b/tools/perf/pmu-events/arch/x86/graniterapids/frontend.json @@ -325,6 +325,22 @@ "SampleAfterValue": "200003", "UMask": "0x4" }, + { + "BriefDescription": "ICACHE_TAG.STALLS_INUSE", + "Counter": "0,1,2,3", + "EventCode": "0x83", + "EventName": "ICACHE_TAG.STALLS_INUSE", + "SampleAfterValue": "200003", + "UMask": "0x10" + }, + { + "BriefDescription": "ICACHE_TAG.STALLS_ISB", + "Counter": "0,1,2,3", + "EventCode": "0x83", + "EventName": "ICACHE_TAG.STALLS_ISB", + "SampleAfterValue": "200003", + "UMask": "0x8" + }, { "BriefDescription": "Cycles Decode Stream Buffer (DSB) is deliveri= ng any Uop", "Counter": "0,1,2,3", diff --git a/tools/perf/pmu-events/arch/x86/graniterapids/gnr-metrics.json = b/tools/perf/pmu-events/arch/x86/graniterapids/gnr-metrics.json index cc3c834ca286..299631fb8d53 100644 --- a/tools/perf/pmu-events/arch/x86/graniterapids/gnr-metrics.json +++ b/tools/perf/pmu-events/arch/x86/graniterapids/gnr-metrics.json @@ -143,6 +143,12 @@ "MetricName": "io_full_write_l3_miss", "ScaleUnit": "100%" }, + { + "BriefDescription": "The number of times per second that ownership= of a cacheline was stolen from the integrated IO controller before it was = able to write back the modified line", + "MetricExpr": "(UNC_I_MISC1.LOST_FWD + UNC_I_MISC1.SEC_RCVD_INVLD)= / duration_time", + "MetricName": "io_lost_fwd", + "ScaleUnit": "1per_sec" + }, { "BriefDescription": "Message Signaled Interrupts (MSI) per second = sent by the integrated I/O traffic controller (IIO) to System Configuration= Controller (Ubox)", "MetricExpr": "UNC_IIO_NUM_REQ_OF_CPU_BY_TGT.UBOX_POSTED / duratio= n_time", @@ -294,6 +300,27 @@ "MetricName": "memory_bandwidth_write", "ScaleUnit": "1MB/s" }, + { + "BriefDescription": "All reads to the local sub-numa cluster cache= as a percentage of total memory read accesses", + "MetricExpr": "(L2_LINES_IN.ALL - (OCR.READS_TO_CORE.SNC_CACHE.HIT= M + OCR.READS_TO_CORE.SNC_CACHE.HIT_WITH_FWD + OCR.READS_TO_CORE.REMOTE_CAC= HE.SNOOP_FWD + OCR.READS_TO_CORE.REMOTE_MEMORY + OCR.READS_TO_CORE.L3_MISS_= LOCAL)) / L2_LINES_IN.ALL", + "MetricName": "numa_percent_all_reads_to_local_cluster_cache", + "PublicDescription": "All reads to the local sub-numa cluster cach= e as a percentage of total memory read accesses. Includes demand and prefet= ch requests for data reads, code reads, read for ownerships (RFO), does not= include LLC prefetches", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "All reads to the local sub-numa cluster memor= y as a percentage of total memory read accesses", + "MetricExpr": "OCR.READS_TO_CORE.L3_MISS_LOCAL / L2_LINES_IN.ALL", + "MetricName": "numa_percent_all_reads_to_local_cluster_memory", + "PublicDescription": "All reads to the local sub-numa cluster memo= ry as a percentage of total memory read accesses. Includes demand and prefe= tch requests for data reads, code reads, read for ownerships (RFO), does no= t include LLC prefetches", + "ScaleUnit": "100%" + }, + { + "BriefDescription": "All reads to a remote sub-numa cluster cache = as a percentage of total memory read accesses", + "MetricExpr": "(OCR.READS_TO_CORE.SNC_CACHE.HIT_WITH_FWD + OCR.REA= DS_TO_CORE.SNC_CACHE.HITM) / L2_LINES_IN.ALL", + "MetricName": "numa_percent_all_reads_to_remote_cluster_cache", + "PublicDescription": "All reads to a remote sub-numa cluster cache= as a percentage of total memory read accesses. Includes demand and prefetc= h requests for data reads, code reads, read for ownerships (RFO), does not = include LLC prefetches", + "ScaleUnit": "100%" + }, { "BriefDescription": "Memory read that miss the last level cache (L= LC) addressed to local DRAM as a percentage of total memory read accesses, = does not include LLC prefetches", "MetricExpr": "(UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL + UNC_CHA_TO= R_INSERTS.IA_MISS_DRD_PREF_LOCAL) / (UNC_CHA_TOR_INSERTS.IA_MISS_DRD_LOCAL = + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_LOCAL + UNC_CHA_TOR_INSERTS.IA_MISS_= DRD_REMOTE + UNC_CHA_TOR_INSERTS.IA_MISS_DRD_PREF_REMOTE)", diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-ev= ents/arch/x86/mapfile.csv index b84035dc5b4f..96580ffda7bf 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -13,7 +13,7 @@ GenuineIntel-6-CF,v1.21,emeraldrapids,core GenuineIntel-6-5[CF],v13,goldmont,core GenuineIntel-6-7A,v1.01,goldmontplus,core GenuineIntel-6-B6,v1.11,grandridge,core -GenuineIntel-6-A[DE],v1.16,graniterapids,core +GenuineIntel-6-A[DE],v1.17,graniterapids,core GenuineIntel-6-(3C|45|46),v36,haswell,core GenuineIntel-6-3F,v29,haswellx,core GenuineIntel-6-7[DE],v1.24,icelake,core --=20 2.53.0.414.gf7e9f6c205-goog