From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14D4CC32793 for ; Wed, 18 Jan 2023 20:14:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229496AbjARUOc (ORCPT ); Wed, 18 Jan 2023 15:14:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjARUO3 (ORCPT ); Wed, 18 Jan 2023 15:14:29 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D1855D7E4; Wed, 18 Jan 2023 12:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674072869; x=1705608869; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=HN8PAhsHerh5dxvQkv6j43DWkYvcwpsU/FQhQ7BgyD4=; b=DWowN8k6kD6q16ZL9yO8V2BbkPPVw5HjXhivLwKO5ETE8zGJGktXcl7f KswKukl1ei5bDaxTJbXybRKBumfLLs0Mm5Upg0reLhV7ujnbgHhHqxTgF y/9ZEIj34OKGCxoFyxjdQEy32t6kh+Q0s73vXGFKffHlFM3LtCh1R1rtf TnZ+qzC3H9dvWOWiHsqxx01egdl6dK7Ej7mNJhj9JHK09+Q4CJmbl4gO4 +vhFXlyULzK9J8rqu8WMdlm4RNip5Ok5hAjD9SaoLTkkZ+IUYzNwnjfGF LSZcwAXx36cb0muxS+LNEn9IBmAakfYM4w4VfL3hzzNMDZHJTdW69oqHi A==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="389585607" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="389585607" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 12:14:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="988731084" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="988731084" Received: from linux.intel.com ([10.54.29.200]) by fmsmga005.fm.intel.com with ESMTP; 18 Jan 2023 12:14:28 -0800 Received: from [10.251.17.254] (kliang2-mobl1.ccr.corp.intel.com [10.251.17.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 43322580AFF; Wed, 18 Jan 2023 12:14:27 -0800 (PST) Message-ID: Date: Wed, 18 Jan 2023 15:14:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] perf vendor events intel: Add Emerald Rapids Content-Language: en-US To: Ian Rogers Cc: acme@kernel.org, jolsa@kernel.org, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, artem.bityutskiy@linux.intel.com, andi.kleen@intel.com References: <20230118175632.3165217-1-kan.liang@linux.intel.com> From: "Liang, Kan" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-01-18 1:02 p.m., Ian Rogers wrote: > On Wed, Jan 18, 2023 at 9:57 AM wrote: >> >> From: Kan Liang >> >> The event list of the Emerald Rapids is the same as the Sapphire >> Rapids. Add the CPU model ID of Emerald Rapids into the mapfile.csv and >> point it to the event list of Sapphire Rapids. >> >> Signed-off-by: Kan Liang > > Acked-by: Ian Rogers >> I note it currently isn't on the perfmon github: > https://github.com/intel/perfmon/blob/main/mapfile.csv Right, but it will be fixed soon. Thanks, Kan > This will create a diff from the version of mapfile.csv generated by: > https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py > Presumably there will be an update to solve that.> > Thanks, > Ian > >> --- >> tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv >> index 711a4ef05fdf..5facdac6fe8e 100644 >> --- a/tools/perf/pmu-events/arch/x86/mapfile.csv >> +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv >> @@ -21,7 +21,7 @@ GenuineIntel-6-A[AC],v1.00,meteorlake,core >> GenuineIntel-6-1[AEF],v3,nehalemep,core >> GenuineIntel-6-2E,v3,nehalemex,core >> GenuineIntel-6-2A,v17,sandybridge,core >> -GenuineIntel-6-8F,v1.09,sapphirerapids,core >> +GenuineIntel-6-(8F|CF),v1.09,sapphirerapids,core >> GenuineIntel-6-(37|4A|4C|4D|5A),v14,silvermont,core >> GenuineIntel-6-(4E|5E|8E|9E|A5|A6),v53,skylake,core >> GenuineIntel-6-55-[01234],v1.28,skylakex,core >> -- >> 2.35.1 >>