From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796199756; b=5qM5aiMMMCUUJI13bvK0Ksm/SU1qTdJv5IXqUa0egwxaIi4eYr6bEWiOx2xDgxwu0FFz VkCkO+v4Y/fWc1s0ykyOeS8iuoV0e8LHevFwyEdy+nm4p0VQUEhtCAvhRzbRaIxz806wA wpHjJ3wxDsyoxE7jE2C8dQ2lRBgv9fu1fdmYAEHoITb8bqYc9lFZiVebTPUNZAbqeaMjd lzxsLMnjIZ42yDhp1VC3z0mWRlPF2z6RICTYAqPvnh5p6FuEPQ1y8UN84Wz2j63biLMAJ LoN+AmSS/nAqVZZFfXe+e2b9N6/sIJb7aoUgUMSg5d6YrCW/smAZjSpwyj/CAiNxKwA== 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=NWmavI5WQOW6Urk7ztkZZRItmmBY/gNLrjZQd7TWrrl/9fC8tzhleR3FeN55GoHF6+cO 9MJoW7LpZZd3Y/C6XHxUJGFQ/Fjw6FHkV6GKkIf3zCgQUTxlMzP/ErsdhnT4VmvL+jk5A +EBvW+gPqzv6/Mv8hB7iRB4GimxrQ7u2N3ni6thOMBR97zFIVYMlRRwuNA+sDN2eHXf6t exxJjY4ccSWH9D2E/Avti8avZaFJqtlilhEslKh/l72LkJPvzFsX33YM/nzcg3wpJRYi2 c0RL/1cNkCS4+qjWxfnrw9rsy5Z62W+T0QTdmZUJpRpXPvfqyJalEa5EB4kHMgSy+hQ== 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.72 Received: from mail-dl1-f72.google.com (mail-dl1-f72.google.com [74.125.82.72]) (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 44EF3606A689 for ; Wed, 2 Dec 2026 08:22:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 44EF3606A689 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-dl1-f72.google.com with SMTP id a92af1059eb24-1b545eed566so3135369c88.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=n0Qqo8IqCmA5LleI7EAu52i0ms2Fx8xKeNTtk25mUlIEWHQSYXE41bw2O88MCEPd+7 tsoYpo2FlsNDiL45fQ9RUURxTWswz1hZfhkRRaodCfeYzxzEkxe9YvA/sEvJoX50zE9W RHwJvtRw1pEA4n1ybBAyAHNMVLdX8Ix0iXBeQ9t6W9S1yHpqGyIftwUNSAwJvpksmJcf 42gEpyIXxIpnDe4S2Rokq5+jfk+B+F01Inyqlt8aZuou/XKVwNffN7A+1EH9zwOE5ubx p35W4tqg6hIBPKLDjoxKfxzlCKKso2NxDkeV9uPqo86H9mhl4wagncFA1++xrs/lR0BW Qjjw== X-Forwarded-Encrypted: i=1; AL+hErHbxTH1t519N46IvR9dn55a+hz5t4nBnnGmJycV1zQKAYGF8IBIMuQJ5r6ZIa5NhVNGuAkFpw5bwKZ00cU=@vger.kernel.org X-Gm-Message-State: APuU4Z/OJ4YFVHxB6Z6cyvSWCQ0YQ/giZgBvTEnppKzreLj3+JxX3m7/ 5iytFd+3993a6y2yYv2FFuHvVULXHO3yEbrWsN1iLyLBWhaqE0MnyMIdjhTm4HYLBgIRVJd8bwg wVjvEJT8OWw== 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-kernel@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