From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.199 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796236920; b=AfkuAqDL79z9fxpzBIuXNWFm9UZLGAMZnq+nnSEoEzrAvmAPqMIVmwtDX4O1XeVPGRv5 7Svp+5VkTvzTawW2tRHBCY+FP5HNvY4eubpAM1MTronugvwaHaFPRHGBW5j6YLK3l5A6i hzvWLfg349qHQNoRiOVsjpiojx6izKmu3eP5ZH7RulYdyK643E4GllIObddREZ4XoxAzd ojve2gexzfbWDCWUs/wIc1D+d8PEwCBdSz9LwY+WuTZ9zAve5QR7F1ppdJsCyAX1vCzgt 11eMd+V1JnXYODNyPbiyxJhRqnRWFbkszi/kKcC+QKfnUgZboStjTFfgAQbPMiWGg8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796236920; 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=1kQn4qc4R0DL6wa1SJeoxCfuw4CULnIcA7Jxq4V4YV703jv4K/mlEQzVKfY+k31heIjS bhrlM/1WgorIow5qKlDTejXO+Xdg5VDkiH0dYWxGKdYyaAvbAOwfcEbyChQgYpAS2ZoyW QyCg72mmSQwqsKglOxflhTGCnJekNUEwkuLEIuZR6pwTPWX5cvOG2W5NkUvc3wGT0NZGY zVi9y8x5cuN3QCQxrVjORKq5b0CIuqlYwIAXvWs0lV9plWvoHqxMDzNvMv6pSNXt+P3JI P0YRnpsaVtsnxhPVG85VnokTxK8qSPqFCTLGl6FbuegXzzSe8FTe6uiXzoZ998YwZgw== 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.199 Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) (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 39F8860A262D for ; Wed, 2 Dec 2026 18:41:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 39F8860A262D 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-dy1-f199.google.com with SMTP id 5a478bee46e88-386c3309469so11587423eec.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=JJ6XbEzKja5sMIonW/J5wDfLayny3OzhQASpXZddS4rmlVIrwZh5dQr8fneqBbOwoh PvIon6AoxFf6XRq8UhUIGj5E8FzMoAcAyW0hlw4cHuLXUUZ67c2gIP8uaCp+9IWMSM3e 0vqjqAlRelmxFwxQTuNKCE6w1+9MLgt3ck7mONnhEyKYKxILuUI12uns9bcqdgTVEThw dfAc8fwNAiuEmtff4lGmPt5L3/IZTPmfcpj4vYd1js8fVdKYPAbo5fCaIIpi+X3pf5wT W4MUYrP299t2AwhFD4IYMfI55i6mbcE7EqnBPgBxttZKHNb5IozrMPiJmRnlESYkWv2H N2jA== X-Forwarded-Encrypted: i=1; AL+hErE8FuY6hh/7YgYCIXwqaRM+CtJQwLcFnhrwi8xOEeSUMUS7BArhlxcSaugtQ0/TkVBDpPBhBHajJKD1Ns4=@vger.kernel.org X-Gm-Message-State: APuU4Z9CAEngI8K9It38Gxigfiz4C5gYnFdBiDaAC6Ow86ABTKV6KAkd yapyW+IkA/aDTjnP/0GfI1FeNIYep73bTW9aIuDEZMAstqK0aNRwzsndxcYw/JdLjJW9QFCR3T7 I3wPTqVrGOw== 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-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.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