From patchwork Wed Feb 14 01:17:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 200769 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp915970dyb; Tue, 13 Feb 2024 17:19:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwG6HcbiIi5PyctSNj1AFhxhlYnzzf30xpftky91fbD0Jmsl3bfYo1YuAa1ewGSY5DD42QGYgFR63WjdutJVxqAlw5dg== X-Google-Smtp-Source: AGHT+IG+4JLvYy8m2o1usa4HaVQml/9KTdtSVKjy6D3z083l5Koy1TqTFAhhJuboQXWSCFZ1ERzE X-Received: by 2002:a05:6402:68b:b0:562:117d:2297 with SMTP id f11-20020a056402068b00b00562117d2297mr727105edy.36.1707873590613; Tue, 13 Feb 2024 17:19:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707873590; cv=pass; d=google.com; s=arc-20160816; b=i2bYfjkSYyOvkVGWk39Dg9eWJYezHRk6YtBrZIXw1hVWrho+03Jo+q+o61NRlmLdCu 37nymxB0VFqdQkSdE9g7SLt1hAIYQ+Qv0ZHJl0H0F1Yle5Sb50t4CLvZuZmPHsYPYtQc fIf464gQjlvVN1dtxwHiS7bqXhdgvgRm1/8t98tgGqNcxHn8uigCg9V1EKq8EiEtdtEP Yk/R2sTZFjjApsIMNUP+ydHrcLbuoocgWmfxlkb5vya7hnZc7BwLJZBN8RO8Nt3KhqZB +Wn3lC7hZGLYX2FcA71SF/JS4192WbXkLeEvjGjdWBdqqgt2uTG/62Ywkb3GtEXLmQS0 eifA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:in-reply-to:date :dkim-signature; bh=5pFlPVU3Ih2WfD+Bf7Kk0SmffRXojZ0a7674czSKH4o=; fh=4D0b0kBbWDyX9MyaW8YNz6c4Lv1kKFCBmfjHSrR+S0g=; b=My7qU3iQnDOExirB1l7ul/XcXbocqRXaz27+uygDbSHrfwe9ItxqUOWaBk6pbxxsCP fU37zCde/mICirh/Pxta//KRmuwTqOMIFzlJLYNP81nQVDgahvzCXqS7sArWQAtJVklC +gY5r6yEvnPMukGCrTNu+kjjAteTyMBF77a+utIoxgw2qBSPebSyAiyYD3QQgQGexuRz NzuCa4JgblyLka0ntTFDDCFSPgovbKEywpJHentLpuMvJJPBh2QI53z9y3tr7iMwVU8F aCxf8MjHG21XLOhR9bHcLttJ7sL2mOKbwPvzwOjSO/5JoDH7mEa9qPMnl6M4mLuoeIvS Lz/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Iyc9P41t; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-64634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64634-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCV3l88fbjfAi8XYOrCWOLi26ZvN/eyFovuFNvobn6/9zbnEyXrH4NFeacOWmqYefYWqbD2LP4YPY95pzrAsE2WlJzAUjw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q11-20020aa7d44b000000b0056158484c5csi4140719edr.253.2024.02.13.17.19.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 17:19:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Iyc9P41t; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-64634-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64634-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3D0C61F27098 for ; Wed, 14 Feb 2024 01:19:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 769042563; Wed, 14 Feb 2024 01:18:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Iyc9P41t" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 46D51A957 for ; Wed, 14 Feb 2024 01:18:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873525; cv=none; b=d68356H6shSBcaQT7tqy7Cc0TUIeBPgEx75+oFsbsDl+sRrc3RAteP44ImC6DAMB+JnZwaeehK8erCuCBGWB92VHql5yspDLzILW5cA98gXE+NdFpbu0h6N1azUsppzQRwGVuWTjYPb1Lu1CnFiXjJLE2LzMlQ3VoQmO+nZUhhc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873525; c=relaxed/simple; bh=oqWGhmvnCzeOXwhgFbN18Vr625doCNqmmWivHF8Ff2I=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Cc:Content-Type; b=rNFlcuITsfB1DU2PIUlRSiidkZiDbbFgzExo2ZgpcqM/Fr/TZ7C2hzqxB5CF5jlYLBsTThjgIS4xc1ipjrNyxXUKTqCiafiESEiy1CG5VYm2qrUkKMkE/rx+DOQK2llcvvH3ZjOb0EUa39hJP0Lk70rVuQt7y9eomAkP/7oTAVU= 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=Iyc9P41t; arc=none smtp.client-ip=209.85.219.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 Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-dccc49ef73eso1647355276.2 for ; Tue, 13 Feb 2024 17:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707873523; x=1708478323; darn=vger.kernel.org; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=5pFlPVU3Ih2WfD+Bf7Kk0SmffRXojZ0a7674czSKH4o=; b=Iyc9P41tWqcok8bUHV0gr8iZdx2GaEji4uvXevI23dT737PB0XfOzOasP7oAXuOn1G pj5H43rBroextd8537ibEFwCQtVHaNh+NkUOV339BFMV0SjZS3Zb6UiQfr7n7j74NT7Z auG4V7Axaeq6CA8ZCrPuTAD2do45EjD2HHtjZZFkrPFeIkJH3OKMye0QhIrUCq4DvCUH qbPl+eCrodu5drNO2YWrnP+3G+v4o3An7NPL33z7Rc0q2/9NV20TB91cQFUVNvX+hlPH ix8j++bznkbnBAaNxDThNjs96u6ccaorVydff6I7QnrP4XVILgvsTD4wDcVxpmotdwKV DBCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707873523; x=1708478323; h=cc:to:from:subject:references:mime-version:message-id:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5pFlPVU3Ih2WfD+Bf7Kk0SmffRXojZ0a7674czSKH4o=; b=r4i9pQ5DUGe54q/Nw9W4cO28q45dRMo4u5F0XMpkGKanKbIErZhYImbaYS9uGilT4K qx4lLUc7op2MV04IfvEARcvGNmp7mI/wOh0FiSVwae34PyolD4NFDKjGAQGWHOERYPXm GC+ukyvvnc+VovhiVJQxQynlcLUJJA1MTrdI6Vamn6Es09SYHJVs6e0Oaak3Mcm95Thq 1jff0le/IEu+lVtUqqEdKy3LM4AXZfyLa4PGgKI0mWrGaNsoejKKa0r2SvLgfxkkbaIP hP0/85iYUfs3xlmE7WlRGw5j0SlwB+uDb5HqIvX87oRRZkHY/jNb8HSE8p+xr2hyU3eo i1Qw== X-Forwarded-Encrypted: i=1; AJvYcCXWx5HjYoCKfWjzNDuN47sNZ3takaFqXvn8ZboTKx5aLnuOkRLrvxsh67molPRDakCDPDuxmJpLOLPrKR2W6R70/vcAnceOnf0T4Oar X-Gm-Message-State: AOJu0Yznrn6sLHBcIwMXMY6afy+5prVHqIL+cRDjkkAKNNU82w6H/hYG o4+3uskdhatOo4a5HoJcYBfSl/4JlTaaRz42vM1O2c++xQrsT9xhXcw5VkEq3/NHYtHEtUFg0Xd 3e/gnYw== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:6d92:85eb:9adc:66dd]) (user=irogers job=sendgmr) by 2002:a05:6902:1081:b0:dcc:9f24:692b with SMTP id v1-20020a056902108100b00dcc9f24692bmr62999ybu.13.1707873523272; Tue, 13 Feb 2024 17:18:43 -0800 (PST) Date: Tue, 13 Feb 2024 17:17:52 -0800 In-Reply-To: <20240214011820.644458-1-irogers@google.com> Message-Id: <20240214011820.644458-4-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240214011820.644458-1-irogers@google.com> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog Subject: [PATCH v1 03/30] perf vendor events intel: Update broadwell events to v29 From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Perry Taylor , Samantha Alt , Caleb Biggers , Weilin Wang , Edward Baker Cc: Stephane Eranian X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790835258056140300 X-GMAIL-MSGID: 1790835258056140300 Update broadwell events to v29 released in: https://github.com/intel/perfmon/commit/47117146c6b9e38811618beca31eba4e41c3d874 Updates "must be precise" on RTM_RETIRED.ABORTED. 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/broadwell/memory.json | 2 +- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/broadwell/memory.json b/tools/perf/pmu-events/arch/x86/broadwell/memory.json index ac7cdb831960..b01ed47072bc 100644 --- a/tools/perf/pmu-events/arch/x86/broadwell/memory.json +++ b/tools/perf/pmu-events/arch/x86/broadwell/memory.json @@ -2005,7 +2005,7 @@ "BriefDescription": "Number of times RTM abort was triggered", "EventCode": "0xc9", "EventName": "RTM_RETIRED.ABORTED", - "PEBS": "1", + "PEBS": "2", "PublicDescription": "Number of times RTM abort was triggered .", "SampleAfterValue": "2000003", "UMask": "0x4" diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index 5bda5d498841..7b30c0eb036a 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -2,7 +2,7 @@ Family-model,Version,Filename,EventType GenuineIntel-6-(97|9A|B7|BA|BF),v1.24,alderlake,core GenuineIntel-6-BE,v1.24,alderlaken,core GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core -GenuineIntel-6-(3D|47),v28,broadwell,core +GenuineIntel-6-(3D|47),v29,broadwell,core GenuineIntel-6-56,v11,broadwellde,core GenuineIntel-6-4F,v22,broadwellx,core GenuineIntel-6-55-[56789ABCDEF],v1.20,cascadelakex,core