From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 917183128C1 for ; Thu, 25 Sep 2025 17:27:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758821279; cv=none; b=KnzxWsz0l8t4tOYuplcQ8KDqxIfOK4/1dyImybdYiCHq/qa54tDd0H03t1XO89YjwOFQ1NS3gTwfegYyCdwv498RxJONUVEehyvKZn4Ozuqhav5wAuZbTpMwkp+cjFvaeqHbRyExTOEhAiNSoAGBw/lMULM5BGCbU75pnJm7WL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758821279; c=relaxed/simple; bh=UZ1nenpXOHL/GiJ2SoPlc1AsNZtWkGDydwrp4T1IWEE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=EEmtAAFNKeXw8wJV2te4qPSn/AapXiSa9Sk3mg8w3XUP7J7fQNPKsn82b0XRJRQwp/FnsRWDVnOVr7YrlCQLl6LExa9PigSOmjhnz5wT2N9IST+F1kI/ypJyQ9rrVPjIRM5l8qV6Z7TaC365iB9J+WpvO8H287xBbESnjgPBXv4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=W5oaRuSx; arc=none smtp.client-ip=209.85.128.201 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.b="W5oaRuSx" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-71e7181cddeso14399987b3.2 for ; Thu, 25 Sep 2025 10:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1758821275; x=1759426075; darn=vger.kernel.org; h=to:from:subject:message-id:references:mime-version:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=W08ly8/Vh/q1BQgG1o3PTQUXDuImGkhSqbuKUD38INk=; b=W5oaRuSxLcm3FCH/r9r3g9zaep3hRrQgRdNJHX1n283YdNmrUL4XRnG6bxmFvxv7ZR 9H/ML8QWgQY1MeHG83Q9dn4Mx6e5GY0eSFZwT3C3RRwZpehs5g3V85C+c5Cjh71zBCLs tfxTiTI3n+lVH2wGNT4zXJY33CzXmitsYRh7sI8nBRJbSNjbVMvA4AgsfY/w9dxAEKoZ fOIuYhe8Jz4dblZeBuif+5vzOX5onslJG5nWwLMZ4bkedlod9XTusUCzmbeeWU122M89 Psm/6BPwq8jMBbeGNm5xkI/oLEWfY3XmsBWtsJv+3aiQVCur6I6m1MZ3YphdC5uzJT0G kcRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758821275; x=1759426075; h=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=W08ly8/Vh/q1BQgG1o3PTQUXDuImGkhSqbuKUD38INk=; b=veKeGyHTAMNzGyDDXOP3PtMIlGgvNVCKD8YKJZtGmJ/5GERV1hcFPC72wiJv5fmf4/ JJ9jtdcz74XJdrYvNZvMe+gEgVhCmlDVhZK27VDaCuagAQU1y+UV6mOKRhPMHrjknaWV emlrWACPB0c8dSpFTovkhVwyuVjAEAuluQBTqrkwLkjhNtZrQmdXQbX2W/tyPbKwmHE9 A4oR5jdBsmgT3TwilIQGOKEKAFJlMX5rgTe2A+rimFnviCM3lhwY3XmfFQazjVP/awKR mAAdP86k8MwST3U6lEoSKvwoXE14xChIYSG1CIZKqdsEs7f4GDC8tafUE4EvI3lXHc/w bjwA== X-Forwarded-Encrypted: i=1; AJvYcCUhhX/Q9nRJYjsmklAbmP47WoztFsQCLpkoRB0z/qzrRRjOR38htg95COnQFPmpvvDpX007SRWGLwsyhiQz9v0e@vger.kernel.org X-Gm-Message-State: AOJu0YydGeUToFE/Ces84yxd4K3bq9s5fDMGA3LGl592ckzMLxM9q65I vrGIZxkJUHid+nxP4wp/SEz0nrUplqanNf+aKrB2X1/I80BpnyHWi8LmElLUoG6tsUb98uApSTc O5teMS9Wksw== X-Google-Smtp-Source: AGHT+IHLZFcjDP1uOdSHMiRmqGh++GyPeC0pnmKnx0I1q+4QQqOyYsHBabeG4rCVjRJ5ZOi0XOjmMJDYy4wX X-Received: from ywblh8.prod.google.com ([2002:a05:690c:5608:b0:735:8634:be69]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:690c:4908:b0:739:ca5d:d97c with SMTP id 00721157ae682-763fa52a40dmr37249747b3.15.1758821275661; Thu, 25 Sep 2025 10:27:55 -0700 (PDT) Date: Thu, 25 Sep 2025 10:27:33 -0700 In-Reply-To: <20250925172736.960368-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250925172736.960368-1-irogers@google.com> X-Mailer: git-send-email 2.51.0.536.g15c5d4f767-goog Message-ID: <20250925172736.960368-8-irogers@google.com> Subject: [PATCH v2 07/10] perf vendor events intel: Update meteorlake events to v1.17 From: Ian Rogers To: Thomas Falcon , Perry Taylor , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , "=?UTF-8?q?Andreas=20F=C3=A4rber?=" , Manivannan Sadhasivam , Caleb Biggers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Update lunarlake events to v1.17 released in: https://github.com/intel/perfmon/commit/ec387ac70602283d01da32c2ff5fe9cb15d3d25b Event json automatically generated by: https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py Signed-off-by: Ian Rogers --- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- .../pmu-events/arch/x86/meteorlake/cache.json | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index aa0e2b0c4ba4..3a15a0f75b96 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -23,7 +23,7 @@ GenuineIntel-6-3E,v24,ivytown,core GenuineIntel-6-2D,v24,jaketown,core GenuineIntel-6-(57|85),v16,knightslanding,core GenuineIntel-6-BD,v1.18,lunarlake,core -GenuineIntel-6-(AA|AC|B5),v1.16,meteorlake,core +GenuineIntel-6-(AA|AC|B5),v1.17,meteorlake,core GenuineIntel-6-1[AEF],v4,nehalemep,core GenuineIntel-6-2E,v4,nehalemex,core GenuineIntel-6-CC,v1.00,pantherlake,core diff --git a/tools/perf/pmu-events/arch/x86/meteorlake/cache.json b/tools/perf/pmu-events/arch/x86/meteorlake/cache.json index f1d8db284a02..d4731e300d6d 100644 --- a/tools/perf/pmu-events/arch/x86/meteorlake/cache.json +++ b/tools/perf/pmu-events/arch/x86/meteorlake/cache.json @@ -1178,6 +1178,30 @@ "UMask": "0x3", "Unit": "cpu_core" }, + { + "BriefDescription": "Counts writebacks of modified cachelines that hit in the L3 or were snooped from another core's caches.", + "Counter": "0,1,2,3", + "EventCode": "0x2A,0x2B", + "EventName": "OCR.COREWB_M.L3_HIT", + "MSRIndex": "0x1a6,0x1a7", + "MSRValue": "0x3F803C0008", + "PublicDescription": "Counts writebacks of modified cachelines that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", + "SampleAfterValue": "100003", + "UMask": "0x1", + "Unit": "cpu_core" + }, + { + "BriefDescription": "Counts writebacks of non-modified cachelines that hit in the L3 or were snooped from another core's caches.", + "Counter": "0,1,2,3", + "EventCode": "0x2A,0x2B", + "EventName": "OCR.COREWB_NONM.L3_HIT", + "MSRIndex": "0x1a6,0x1a7", + "MSRValue": "0x3F803C1000", + "PublicDescription": "Counts writebacks of non-modified cachelines that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", + "SampleAfterValue": "100003", + "UMask": "0x1", + "Unit": "cpu_core" + }, { "BriefDescription": "Counts demand instruction fetches and L1 instruction cache prefetches that have any type of response.", "Counter": "0,1,2,3,4,5,6,7", @@ -1394,6 +1418,18 @@ "UMask": "0x1", "Unit": "cpu_core" }, + { + "BriefDescription": "Counts all data read, code read, RFO and ITOM requests including demands and prefetches to the core caches (L1 or L2) that hit in the L3 or were snooped from another core's caches.", + "Counter": "0,1,2,3", + "EventCode": "0x2A,0x2B", + "EventName": "OCR.READS_TO_CORE.L3_HIT", + "MSRIndex": "0x1a6,0x1a7", + "MSRValue": "0x3F803C4477", + "PublicDescription": "Counts all data read, code read, RFO and ITOM requests including demands and prefetches to the core caches (L1 or L2) that hit in the L3 or were snooped from another core's caches. Available PDIST counters: 0", + "SampleAfterValue": "100003", + "UMask": "0x1", + "Unit": "cpu_core" + }, { "BriefDescription": "Any memory transaction that reached the SQ.", "Counter": "0,1,2,3", -- 2.51.0.536.g15c5d4f767-goog