From patchwork Mon Nov 21 08:20:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xing Zhengjun X-Patchwork-Id: 23584 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1452521wrr; Mon, 21 Nov 2022 00:24:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf4cruv4w8/uloT1u+e2BNsPNhTXSmJasj9jHeYylruQrQwHd8+Laks5mRSIjXQGmodnYNNu X-Received: by 2002:a05:6402:2204:b0:469:aee9:202c with SMTP id cq4-20020a056402220400b00469aee9202cmr1508583edb.239.1669019043664; Mon, 21 Nov 2022 00:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669019043; cv=none; d=google.com; s=arc-20160816; b=RDRHr278WpBhjZIgas6HQbjIEfc/SIbvVVOqiu2kUeVwmefDrVgabfv/784FMB2D15 K0zzuYFHmzhBKoHG8Xl07JSsJTRydm4/8ciGW7iys98rSsDRRPirnhfUJJUOUZipjNCh CWfUjc2wOvaQN4OVvP8TWMhqggDSZ3tQg7wCULhN603nBsb6BMZt70SAKeu3PNM+Ne9A GGG+7UDlMz94xBRl6Up5yb0NgxwZC6xWPkIPmZz9r56QoAf6Gowo6D8MzsdeK4ZoAm9Y 44Chf9FyrcmNwkzrOX4nzOhzB4lwwSoal8UZCoi23WtEdz9LymV/SSorTeNkx8H5ptiM Z2rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XiZGo/GwsAnrqbEGYzjeN8nwWUZGKzThNlNtasAt5aM=; b=jRofs7ZR5HYvbzoiBzZKfzNWKS/Ec+DzZw1fuI8x0tXDB7z899wVnEfjvW6xUZCk25 Eck4Y+L0Sy4EXtJjTQhj7EzbbStFsy2Ca+JMrktRYZIIgA9sI8/HnKE3bJTEAA4IUJVv bT+H9tMKFjeEEfVetUE2H2vwD67DwEmGJ1zXRLTjXffPcXCaozYzQ+QIO9iEMtwz27TQ Jtf1vL5uS5S+UUS0GEQ7KeJme8hhHQAnZeDnlNTlS/tDtDFjnZjSUz71sjjvNI62XlJt Uf1+1tB1jstAFvGG8b+i4MFzxWQ1xjHPwVhSR87MOkQ1lQgUaRq2cTby78u1T77ZXG7Y BX1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dbVZpUF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a0564021f8300b004680b40d2ecsi8868276edc.235.2022.11.21.00.23.39; Mon, 21 Nov 2022 00:24:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dbVZpUF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiKUITa (ORCPT + 99 others); Mon, 21 Nov 2022 03:19:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229971AbiKUITX (ORCPT ); Mon, 21 Nov 2022 03:19:23 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 207861F9C0; Mon, 21 Nov 2022 00:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669018763; x=1700554763; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SALMsWOGV4XtaaAn3zEVXo18HKV62v95+UsvHOqzjyQ=; b=dbVZpUF9RHpizZm0xEE+fLBjParEFko+DxM4Xykz/R7OvMPZuRrcuRpV sZ8w+UKm2FfS8it9yyOMziBEF338HynP5c/RFBsdIj6of00EsqSWiGA0n zlfzRj1G06rSU0m8GuKB49T2NnNN2bExMmX4dwIEL4qP58K3xjvG/N5vd 00V9UQByR8DNSyXGCm0rt9jVoqVUGXqj7fuPUQU4HkNOM4ZDGshDoVGr5 OqMACs7/g0GQy+0lYJKTh8aW7Z1wHtULbdF13r++ePlYZW/QQTlPprpLg GhnJatMWG9Wk8BUlXerJEZx6sUTed+vfEaiT9tfFI4P/GyDZQ1SyxPyCj Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="314649255" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="314649255" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 00:19:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="704471816" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="704471816" Received: from zxingrtx.sh.intel.com ([10.239.159.110]) by fmsmga008.fm.intel.com with ESMTP; 21 Nov 2022 00:19:19 -0800 From: zhengjun.xing@linux.intel.com To: acme@kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@intel.com, jolsa@kernel.org, namhyung@kernel.org Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, irogers@google.com, ak@linux.intel.com, kan.liang@linux.intel.com, zhengjun.xing@linux.intel.com Subject: [PATCH v2 4/5] perf vendor events: Add the cpuid for Alderlake-N Date: Mon, 21 Nov 2022 16:20:57 +0800 Message-Id: <20221121082058.64578-4-zhengjun.xing@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221121082058.64578-1-zhengjun.xing@linux.intel.com> References: <20221121082058.64578-1-zhengjun.xing@linux.intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750093312433692595?= X-GMAIL-MSGID: =?utf-8?q?1750093312433692595?= From: Zhengjun Xing Alderlake-N only has E-core, it has been moved to non-hybrid code path on the kernel side, add the cpuid for Alderlake-N separately. Signed-off-by: Zhengjun Xing Reviewed-by: Kan Liang --- Change log: v2: * Regenerate the mapfile with the new converter scripts. (https://github.com/intel/perfmon/pull/32 and add the ADL-N fix) * Change to the end of the ADL-N patch series * Only update the version for ADL-N tools/perf/pmu-events/arch/x86/mapfile.csv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-events/arch/x86/mapfile.csv index 5e609b876790..78af105ca236 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -1,5 +1,6 @@ Family-model,Version,Filename,EventType -GenuineIntel-6-(97|9A|B7|BA|BE|BF),v1.15,alderlake,core +GenuineIntel-6-(97|9A|B7|BA|BF),v1.15,alderlake,core +GenuineIntel-6-BE,v1.16,alderlaken,core GenuineIntel-6-(1C|26|27|35|36),v4,bonnell,core GenuineIntel-6-(3D|47),v26,broadwell,core GenuineIntel-6-56,v23,broadwellde,core