Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796199756; b=djRR5nc59nQJKWOyb0MF4f5rDLbpakIEFMFVPx3oHs1lcJjiv/OvU9yzHZr0jgnBpH47 MZ7MRqN8N/lXhYKCEqIUPAkqxCsFB0BKD+jlrak8EyFuVa98QxCYVdtCjDU2YKtwPV1Im GAakYdENKhnUnsw0hu+rHE/ivd/+8Gi1J/Dgkh+6o27NdwaYoZ0ZIpMkIjqbW3zohuF1m 0KpoMPcbcBk0ojc6pv5XWm9bBrseo64Co02sUJgRtxbtbmdHF4YWkNfpAGFgAWOVdjIXe bYDYFB9ZChZrQorY6kmV3ZNZYbuqWTDzCkhIeLqBJyAYyD9HgogsQcFBg20b6DsQEfw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796199756; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type:Content-Transfer-Encoding; bh=LgZ2GGkQZ2wNVdRINaViFtRCyAHp2atMciaaIQgVqHE=; b=445TmXE0ivx2SJIh8fL5KlQHJ8396LQnnSifxWsXd9RKSsXH9I9WcghZGDzfxpihJARE u0HDXRI9/s1c66+s9lw+N/I61oEhTtVnxowk7DxXcwRJp6h14xWC9rbtb4L1p93ZCBMKa UHp4Sg6rsV5uIvj4KgFTDgjflC+3/YAhDjxQE1l7FK8l1IFMwYrMo5SxW8vO/Czf37q8t 2W2NKRIw7OwKSWGTZgCr2+SloICbKhlX+sqUG1UYLVBH4nhBEHxtsJaY+TMndfnUF9Hvo V/C00O0T223qHJRZ5qUjAfo6OjYbXeylBVy5nldOv7evmHUHtBcZrT479uxmqDLmeig== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=cPMTrBAB; arc=none smtp.remote-ip=74.125.82.197 Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B874606A33B for ; Wed, 2 Dec 2026 08:22:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3B874606A33B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=cPMTrBAB Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-3425098ae4bso12380989eec.0 for ; Wed, 02 Dec 2026 00:22:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796199755; x=1796804555; darn=vger.kernel.org; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:references:mime-version:in-reply-to:date:from:to:cc :subject:date:message-id:reply-to:content-type; bh=LgZ2GGkQZ2wNVdRINaViFtRCyAHp2atMciaaIQgVqHE=; b=cPMTrBAB9Myk/qys5yQxans/JPC8lQpsJtel/+ToMlejQGJ9Ss08PmI+GagXyPLsaU msU29PRud/n2W4tcy5RpQsBaI6TQw+IY5FLzjAx5hlaubguKvlltxqp55rRcgKKtDpt2 Jxf9yJV6wDPtAVRHYsqXAtIIijBCEJvMUd5cq8uoxpabcvDxp0JzXoK42Hfy0EbXqIxR pBGj5vPe2ks/6C8ptm8H7yT+HcGS4RZnRKcjNThmMjIAp7SwaWZCxO2azjfBI2o/1Ag0 0o+U+pmUftEZ1jRvK0Ouez/lthYWTWR6eBZZpfrvMe4Pdr3GSiTJhE2yjadn4rQ/C0lI tdMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796199755; x=1796804555; h=content-transfer-encoding:content-type:cc: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 :content-type; bh=LgZ2GGkQZ2wNVdRINaViFtRCyAHp2atMciaaIQgVqHE=; b=qWalk21vIscxosWyXJskSqRgjwfsT0xVzIMPpaO2VeaXoyIHWSoJqYHfbKCeEEDRYN CRnS58sNHxiYmAEeIApnUBocpgDiv69scumee02NnvfoI8WSbrPCYXSlnsrSIoVZ8iQK upr+KMibGt1m8oLJcBCKXILUTG9EHO5JONlAL2vlRAaxhY0hzAJNOCZAg4anmNFqjbdX DSJiL9xRfZJYobJ1euvzascgPwxTE8QSuUqQKz0QC8kPzRNeWaYRwyZLwPx1FhNTz9RK ndL5/LgmMj3W8HiK2H8E+slLDcSyy6Ffdnhmm7/Lg9QdrcDzjWtU9+3yGIlcvFKFRi9+ i53w== X-Forwarded-Encrypted: i=1; AL+hErEnWmEmogVxlpntqLvnfzyQpBE27CO1C9+QSyEbFzzabWGYGIQsmApUg5VvDUNDPQGtTiP0tkA4wMl3pIjCRT8R@vger.kernel.org X-Gm-Message-State: APuU4Z/PWykrsYBIKqBFw/bpX4zjKdsT99gPgiCPWARzceRd0NaxWYIT vuGs64pVNjoVhIHfdibVFahTbuEZ9a3OVRuX9QgHx+vtG5pVhrrROjF6uGfvr8VSeJ2MaTyrQj+ Fkywzy7kcJQ== X-Received: from dlxx13.prod.google.com ([2002:a05:7022:408d:b0:1b2:4b00:1331]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:701b:2704:b0:1ae:d447:6c84 with SMTP id a92af1059eb24-1b5525eed02mr35044529c88.19.1796199754881; Wed, 02 Dec 2026 00:22:34 -0800 (PST) Date: Wed, 2 Dec 2026 00:21:19 -0800 In-Reply-To: X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: X-Mailer: git-send-email 2.56.1.915.g69d5ec7298-goog Message-ID: <00e0c1c52a47c56b7ddef80feecb14fd4b33ddfc.1796199085.git.irogers@google.com> Subject: [PATCH 28/36] perf vendor events intel: Update pantherlake events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Jiri Olsa , Adrian Hunter , James Clark , Mark Rutland , Alexander Shishkin Cc: Dapeng Mi , Zide Chen , Thomas Falcon , Chun-Tse Shao , Lalit Maganti , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Ian Rogers , Sandipan Das Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Re-generate pantherlake events with create_perf_json.py: - Drop bogus Available PDIST counters text from non-precise events. - Fix counter count initialization in counter.json. Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/pantherlake/cache.json | 10 ---------- .../perf/pmu-events/arch/x86/pantherlake/counter.json | 2 +- tools/perf/pmu-events/arch/x86/pantherlake/memory.json | 6 ------ tools/perf/pmu-events/arch/x86/pantherlake/other.json | 1 - 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/pantherlake/cache.json b/tools/= perf/pmu-events/arch/x86/pantherlake/cache.json index 48bcd2f8ea15..94606f00f4fe 100644 --- a/tools/perf/pmu-events/arch/x86/pantherlake/cache.json +++ b/tools/perf/pmu-events/arch/x86/pantherlake/cache.json @@ -1366,7 +1366,6 @@ "EventName": "OCR.COREWB_M.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E00008", - "PublicDescription": "Counts writebacks of modified cachelines tha= t were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1378,7 +1377,6 @@ "EventName": "OCR.COREWB_NONM.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E01000", - "PublicDescription": "Counts writebacks of non-modified cachelines= that were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1390,7 +1388,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type = of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom" @@ -1402,7 +1399,6 @@ "EventName": "OCR.DEMAND_DATA_RD.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10001", - "PublicDescription": "Counts demand data reads that have any type = of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1414,7 +1410,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x40001E00001", - "PublicDescription": "Counts demand data reads that were supplied = by the L3 cache where a snoop hit in another cores caches, data forwarding = is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1426,7 +1421,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x20001E00001", - "PublicDescription": "Counts demand data reads that were supplied = by the L3 cache where a snoop hit in another cores caches which forwarded t= he unmodified data to the requesting core. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1438,7 +1432,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand read for ownership (RFO) reque= sts and software prefetches for exclusive ownership (PREFETCHW) that have a= ny type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom" @@ -1450,7 +1443,6 @@ "EventName": "OCR.DEMAND_RFO.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10002", - "PublicDescription": "Counts demand read for ownership (RFO) reque= sts and software prefetches for exclusive ownership (PREFETCHW) that have a= ny type of response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1462,7 +1454,6 @@ "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x40001E00002", - "PublicDescription": "Counts demand read for ownership (RFO) reque= sts and software prefetches for exclusive ownership (PREFETCHW) that were s= upplied by the L3 cache where a snoop hit in another cores caches, data for= warding is required as the data is modified. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -1474,7 +1465,6 @@ "EventName": "OCR.READS_TO_CORE.L3_HIT", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7E001E04477", - "PublicDescription": "Counts all data read, code read, RFO and ITO= M requests including demands and prefetches to the core caches (L1 or L2) t= hat were supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" diff --git a/tools/perf/pmu-events/arch/x86/pantherlake/counter.json b/tool= s/perf/pmu-events/arch/x86/pantherlake/counter.json index 9794b435f650..8cc4f9dbc4da 100644 --- a/tools/perf/pmu-events/arch/x86/pantherlake/counter.json +++ b/tools/perf/pmu-events/arch/x86/pantherlake/counter.json @@ -16,7 +16,7 @@ }, { "Unit": "SANTA", - "CountersNumFixed": 1, + "CountersNumFixed": "1", "CountersNumGeneric": "0" } ] \ No newline at end of file diff --git a/tools/perf/pmu-events/arch/x86/pantherlake/memory.json b/tools= /perf/pmu-events/arch/x86/pantherlake/memory.json index ac0446359de3..7bacac5190b9 100644 --- a/tools/perf/pmu-events/arch/x86/pantherlake/memory.json +++ b/tools/perf/pmu-events/arch/x86/pantherlake/memory.json @@ -260,7 +260,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x7BC000001", - "PublicDescription": "Counts demand data reads that were supplied = by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom" @@ -272,7 +271,6 @@ "EventName": "OCR.DEMAND_DATA_RD.DRAM", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x1E780000001", - "PublicDescription": "Counts demand data reads that were supplied = by DRAM. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -284,7 +282,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x13FBFC00001", - "PublicDescription": "Counts demand data reads that were not suppl= ied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom" @@ -296,7 +293,6 @@ "EventName": "OCR.DEMAND_DATA_RD.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x9E7FA000001", - "PublicDescription": "Counts demand data reads that were not suppl= ied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" @@ -308,7 +304,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x13FBFC00002", - "PublicDescription": "Counts demand read for ownership (RFO) reque= sts and software prefetches for exclusive ownership (PREFETCHW) that were n= ot supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_atom" @@ -320,7 +315,6 @@ "EventName": "OCR.DEMAND_RFO.L3_MISS", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x9E7FA000002", - "PublicDescription": "Counts demand read for ownership (RFO) reque= sts and software prefetches for exclusive ownership (PREFETCHW) that were n= ot supplied by the L3 cache. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" diff --git a/tools/perf/pmu-events/arch/x86/pantherlake/other.json b/tools/= perf/pmu-events/arch/x86/pantherlake/other.json index 840486ef592e..e0230408b146 100644 --- a/tools/perf/pmu-events/arch/x86/pantherlake/other.json +++ b/tools/perf/pmu-events/arch/x86/pantherlake/other.json @@ -45,7 +45,6 @@ "EventName": "OCR.STREAMING_WR.ANY_RESPONSE", "MSRIndex": "0x1a6,0x1a7", "MSRValue": "0x10800", - "PublicDescription": "Counts streaming stores that have any type o= f response. Available PDIST counters: 0", "SampleAfterValue": "100003", "UMask": "0x1", "Unit": "cpu_core" --=20 2.56.1.915.g69d5ec7298-goog