From patchwork Wed Feb 14 01:17:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Rogers X-Patchwork-Id: 200773 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp916768dyb; Tue, 13 Feb 2024 17:22:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJ5F/f5biD++boyW08bbfGWOXgyBvDa8mWooLzoZErcu4OIfEp2QyrqzP4aairb0//B403/W0Zg5XitkmsYqhrRmjCUg== X-Google-Smtp-Source: AGHT+IHcXIEIVQNzkNl5Miej1nCbc2AyHBHAh0CICckp8jDTLQWOTBslTXuzZhZyq30bxkVLwG2H X-Received: by 2002:a17:90b:1085:b0:290:33e7:9291 with SMTP id gj5-20020a17090b108500b0029033e79291mr1109543pjb.37.1707873723247; Tue, 13 Feb 2024 17:22:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707873723; cv=pass; d=google.com; s=arc-20160816; b=gGQCulPl4A1zcRvBtminP/FUldGhssrN3FynAgHQLpj8mJmFu4414cWIDAzi90mCmA NFODqF/AI7PXE43U9UWZF/t6HxzFLHY0eYJjg+YYBsdVyY9CZqANECZMQ8C6daVU+ztP 0XaulsoYql4JYQCWgYb0PueGWZu24wXUPT6Q1shUuridblumrWnxK121fG6dt5o2ky3n C27v2P3YOjR1FRliS86Xv18LOhUUize7B3Xc+fGNqJlLjt4Um3FC4AkeaUEYeGFb/G/4 4vv9ogan3z1Q/Rw2xUx+w5XgemCmM6d+xCY61k7L9C1M/seeFTDh7S9tkufQQN5KH1IY fyPQ== 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=AXMYa+hwxkFMekcpnDWRRjLsoFXXEPSgsnGBhBzwdHI=; fh=DfN5Kgl8Ubf2e7woSKb/LDboP7V5C8e2cNHaMYIdc4I=; b=R0HiaJ2KDxTiXCZHXKQIxE1jNehDNyCcJeipOMkjlVY+CzhQsqH9Y0g/tuGTiVEnU5 qZwA3lT6ygxXmoVI4aVw6C/d7tBLBpov+31r3to3g3q6QE1fDZBDxDI11fqIN79hsEeM Umq8sakipT05r70PDThuciiOrnPUx5XpaXJQb4fKqIo991OhwIxhthfrXbTOAbd2LBOi an5gPOEmRsrsc0CmiAZmdHON/5Vbi3JUJs8vgepPJe/zswVsuwvA+tV5oY+7zmzINKQe Li3WooSevIrN9vDjx+YzlprB6WVFKKokvklkZiNx0vSGANiRsBfMxAYO9heOcq537RV+ N1xw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=IiuJlcgl; 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-64636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64636-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com X-Forwarded-Encrypted: i=2; AJvYcCVrdniq1uKtFdiPJlMWWN8HVHsrvXa2upbKAogXzgZbFR1vgwMIUSsZURd3KQacvtpM7kxRlpwcK8gyISQXHdZcbvASkw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id qd8-20020a17090b3cc800b00295dcfa67b3si261388pjb.183.2024.02.13.17.22.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 17:22:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=IiuJlcgl; 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-64636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64636-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 61DD2281752 for ; Wed, 14 Feb 2024 01:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36C5610A1E; Wed, 14 Feb 2024 01:18:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="IiuJlcgl" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 F136ED510 for ; Wed, 14 Feb 2024 01:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873532; cv=none; b=H/0cmmd2uAd6WO5aIOQcOg+V5GL3CiT9MCJHIZnEH8nB93bA/e3Ikr319/LjyBlcyzW6nMXb/ubf4Vo386Illvv9cGhSoEm2gHxQHZb1AGL4F+F2wuSbkxI0+IV3XEaSKXgIIQtJ6W38LrVITkCvYJtDBy40UMS3JOJ5dT+SUuw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707873532; c=relaxed/simple; bh=AFVkYXo1+6MUZA8tuWK2rLAzbr5KD528RzfIiw7rR60=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Cc:Content-Type; b=R8u4PTbR5oQgoMTxx2EuSrJlhwIpavItqs85Zmflm9jt7el6NZ3EY9uiJ8GVHVm8dg8CwP7bxAhLkMEzjg3dupUO1XH54meSZ7Cyu0JLyD2IC/WSUefibTENa1hCNB4UeP/bEyRZz9lQ33YNu3/sh3DDxI4xLngYsItVb3H+dwU= 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=IiuJlcgl; arc=none smtp.client-ip=209.85.128.202 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-yw1-f202.google.com with SMTP id 00721157ae682-607838c0800so4559577b3.1 for ; Tue, 13 Feb 2024 17:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1707873530; x=1708478330; 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=AXMYa+hwxkFMekcpnDWRRjLsoFXXEPSgsnGBhBzwdHI=; b=IiuJlcglXUDL6RF3I8C78g/Ac3bLHyp9gzDfCIBN/ZUA7G0zaUngmMSpR+06DDHPDe BYpi0zrPQXRrd4lNtl4t7cmabllnBO2EnJDboxRlKQZL5rTqOWJGOtvHJ6Q+3hY67u8Z 76oQzlULrl/Yy0t4Cs4M4Wv+XmKOTdiqcNDjR8t/SqT/8RfIKuHTiL//Q+B8TcvyMzyD uxRF7VO73Siyt7d5cRUHnKTbTjBmfd7VdBqTk4UH4OP7l6GxXUTjcn2lFBFC05vuYTk5 i66lofW6LvaxB54Lfov1hqHV+g/8UcwKwZrXUv7OTvMfRak39rLiZbjqLsO8I9nOwkMH q1fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707873530; x=1708478330; 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=AXMYa+hwxkFMekcpnDWRRjLsoFXXEPSgsnGBhBzwdHI=; b=BI0Z+TvJ4VsEvkje4e6oMz+pCQg4peYtTaaVxCNWxTO6zwRhyVTR48TzKlwRPaxZI5 zdSmJNbGDT6VkGXXUWpVrAdXnZ1Smp/k8Z5sBoPr7zQFRXuVJeOdns3LYoFB4GAkQquS uemun10WOT8Zo/QsxxXFwRm3YwJiXubjVc/EGongw9ORWvH5UriLhObZr12Aik5Y2HWw 0U9hOuxQx/C23NR6+cS8YGs/ecmRod963+1nOapQXj/hee8+OV58tpQdM4XRC0LWzY/k V+/Mu/SOG/YfdYnYO/ETiROqvJzj9JauXxMR8UN14G6oAUX9MR3Vc7nNjISHQx+epZJb 7plg== X-Forwarded-Encrypted: i=1; AJvYcCWE3TyGxcNM0DPoj8LGGYzFMWZjOPiKq6NVJuIhESx2FSRNhHAxoeshMqDjLfhZXZQ8+zSmLz5zDHw63TBF0cVcx2zmoW1WRbPnMTAz X-Gm-Message-State: AOJu0YyJML3PB6T3l/5wMQpY8VbI0Jgv+jCnkOTj1yDGetjUq26AJdn2 E+MNAnhw6l234IKp9oP/TrfmfAQs0t/WtsbBxCoa/UOJQ7sjR1lQNLWzA1LajFMcGvoyoykIp8l E6MJYKA== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:6d92:85eb:9adc:66dd]) (user=irogers job=sendgmr) by 2002:a81:5702:0:b0:5ff:6ec3:b8da with SMTP id l2-20020a815702000000b005ff6ec3b8damr108279ywb.1.1707873529994; Tue, 13 Feb 2024 17:18:49 -0800 (PST) Date: Tue, 13 Feb 2024 17:17:55 -0800 In-Reply-To: <20240214011820.644458-1-irogers@google.com> Message-Id: <20240214011820.644458-7-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 06/30] perf vendor events intel: Update haswell events to v35 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: 1790835397317460713 X-GMAIL-MSGID: 1790835397317460713 Update haswell events to v35 released in: https://github.com/intel/perfmon/commit/c0f9b34d421941bc3e13c6ca5554e6a54e8bd574 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/haswell/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/haswell/memory.json b/tools/perf/pmu-events/arch/x86/haswell/memory.json index 2fc25e22a42a..6ba0ea6e3fa6 100644 --- a/tools/perf/pmu-events/arch/x86/haswell/memory.json +++ b/tools/perf/pmu-events/arch/x86/haswell/memory.json @@ -371,7 +371,7 @@ "BriefDescription": "Number of times an RTM execution aborted due to any reasons (multiple categories may count as one).", "EventCode": "0xc9", "EventName": "RTM_RETIRED.ABORTED", - "PEBS": "1", + "PEBS": "2", "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 2e72e81669d5..932d7c094e41 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -12,7 +12,7 @@ GenuineIntel-6-5[CF],v13,goldmont,core GenuineIntel-6-7A,v1.01,goldmontplus,core GenuineIntel-6-B6,v1.01,grandridge,core GenuineIntel-6-A[DE],v1.01,graniterapids,core -GenuineIntel-6-(3C|45|46),v33,haswell,core +GenuineIntel-6-(3C|45|46),v35,haswell,core GenuineIntel-6-3F,v28,haswellx,core GenuineIntel-6-7[DE],v1.19,icelake,core GenuineIntel-6-6[AC],v1.23,icelakex,core