Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796236915; b=ryI9mGS8xoLuNjwV7KgfSkUAb6Rn09c1NxW5xjjsE2Aq97rUY2Tw1mZIElDyADtaibXd qhC2cSD5lc39+iPbmDFtKzDBZw1lIgjtrpNEzYxmpu1mtAEXj7mXoQANkLIrC0OpVSmk4 U2dt95pMFOABuGUanuP8wH5csxfE04w3Wbs5oPnjZ8/xWHFa2az6So1JyS8sR1yah0HNc /xDfaZhu4yvEFhQ7FzBDWewROtHyU6KK/VY77JYBvw15ln+LhaCC6cB8SLA0ypdwqDL4A Boc7nZSnMJFPKTMVUEdle43zX0QBJjoSzLXXeGIDMS8Cuxlp/oX8oBaeN2NG/R4upkA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796236915; 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=UMNmx7lb89Z5oKewSa1W5qBqTc2fK0tczTbh8mfbUNyC8ACvtAOvjXr/ygwI/OnRJojT IK4rIV6lB89ACY8skxd+ucti4RuzCePWnF7rK93WWL0oN2pVugr0F9BcA/QB/OF287M8A ge+PAs8lMGw2h8tDw/rAlKP88KaSHomiWqTwxTROm67zhvZckIco0rth92J7VY52kq9UC wna95uI7pUmCeXR6h7lvrVqi2qzLl/wfe3tvNwGnp/tWJ2VPaTbfY22AZzidm2E3bVbik CWRR5iSxo8cpsUa2pZ8ZeKp7xLPPC+0MDytTSlzxj3i3S/l+w6slEMb+rIYLYRhpTFg== 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=KH5JVI96; arc=none smtp.remote-ip=74.125.82.71 Received: from mail-dl1-f71.google.com (mail-dl1-f71.google.com [74.125.82.71]) (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 4F2C260A380D for ; Wed, 2 Dec 2026 18:41:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4F2C260A380D 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=KH5JVI96 Received: by mail-dl1-f71.google.com with SMTP id a92af1059eb24-1b5a36efd01so1629734c88.0 for ; Wed, 02 Dec 2026 10:41:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796236909; x=1796841709; 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=KH5JVI96qfqusERqpzuS1UhGLorhBFg0IeFufVdJJX3SMlMFfQg/9YQIbRGyjCELHQ ONI39EG6T2hhbx3icej73LJ8mtnK0scLiM664RK31DkqGTo0EMeLJ1fOeDcvOsqz7oIc vH5mNm+kX/QiKE47iXMr4o8eckfXZYetOxvrUBxi2xnfHm+6nAClBxGgguF7Ibzdn8XF NDUQGjkZ8Fo+fN+CAG6i0tURvw/mX2yRfvV/rUXt5Fr9mta2EBIrO66fGjrt+szycIrb JD1XMGWQS8hc5KL/6ezWvgsWjniMCdcpzxoo3zaAZ4ohKHfECCoc4IX34t03AfpNRrQo eE1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796236909; x=1796841709; 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=A9qNTtNMlD+jsb8zakTZJFWke5cCvJG4zoaq51dCOWLmmldV3lrXIuO/T2iGeDj0mJ 4D0dbNRGx2R7a0FFpwIZ7AADGKYebQMxcQypwlFdSY53LVGmj70xw5fvBdtlBYjQDz6Q 1dtAKk1OT27hqA8h5guqvqMvr3T0nooyrF5MzFa4aL2GSiCa0+zqBRaDdp0oioI6ShsV bxVv0ORqj7BZvKLdKGD4YesFtaIY92zD3NyN13SaV1hW0072X7OnYOFpuWtpYZbD1JJm Dr+R68HbEsIq17RjvyYRbrNc+gubCjRDcv3myee5vxHpHkxXa/gmdBjmyLOJpt4EXTru nWdw== X-Forwarded-Encrypted: i=1; AL+hErEiAUs2yNdv0Nmmnnd3zru8nAhMHBpdKv2EnCW6bC7jgz/5cgzRPPFUZKQL2dq2nFGoeU42bBug2Bt/BL/CpwSj@vger.kernel.org X-Gm-Message-State: APuU4Z+VeL6D5q6qGBasrnlC6aBqDKdnLU51ZiJ1NeNZQUvIORusNyjI iX6ZBUe+kclpBhnPQtVdzTn8AVPRlqqJl+g66/0hk0i1DaqevaKoLk2PLPTePTSlGQ52QjT1564 TPziu4h7D6g== X-Received: from dycnc2.prod.google.com ([2002:a05:7301:b82:b0:369:f864:c5e]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7023:b18:b0:168:3243:c937 with SMTP id a92af1059eb24-1b5568bcb9amr49424081c88.16.1796236909079; Wed, 02 Dec 2026 10:41:49 -0800 (PST) Date: Wed, 2 Dec 2026 10:40:33 -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.911.g883d8bcb20-goog Message-ID: <3a6590bc7827058251adfed044e242ea12d89ebc.1796231665.git.irogers@google.com> Subject: [PATCH v2 28/36] perf vendor events intel: Update pantherlake events From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , James Clark 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 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