Message ID | 20230106160449.3566477-1-kan.liang@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp899500wrt; Fri, 6 Jan 2023 08:07:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXt1PbEKwDupApHL1yttw6pZhALF1uzg6ud8VWrDkV4JwHYwjIfP7WKuPmoQyd3oFxnvYplk X-Received: by 2002:a17:902:b609:b0:192:e9cf:93ba with SMTP id b9-20020a170902b60900b00192e9cf93bamr10124830pls.12.1673021254979; Fri, 06 Jan 2023 08:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673021254; cv=none; d=google.com; s=arc-20160816; b=tVM8IxMELCk2l4pqeqLc53sVBV4udd1NuvS4JFMxxXts4z4bHVIvckHYVtGo24/vul Or4jBhViTXQO2Mu1Cxg2NDBE+BVoNTQiUw+HV6LvywPCQc1kq51cA+djy0d0SEuMa8Sb ZUmdPnz15cugzhPbtEV/JU/c74w2FLk/ub/qf2enovWriAJzSkjSLDp4K45/wrh1604M zLQNqOxpWrBxa4TLgYBFgwSOgOc6Ind2nJQZJt7P/spCzxdMcDmwad8WEFCpykAePjHA 4wfryhkK37SODyzDaDPhWq+tyA4jwQEBSEBCrS2U0KXcBzNqKKJJjEUH2MA3sFMq5SM7 D3OA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=dGvy1q56CMuhD8Ppi0PEl5xCclvDTw+F1cWKhgRw3qM=; b=aVQBDWxR6naUhwpMdgWIM/utT4ZUg3xgMEtnJG50InJNLGlF3ck7pwLcp+urD3YBTR aIQnfnHDgyA9aZ3LlgDOaD6U0SdNDErzvFq/ruY1jcBESxOVsVYXnSLbVsOh37+7/qaX P7fmkKgn9t46HtT9maSCfZX74TAA44GhYdbkLl7J3SE88/qhCAhRKSiaO8qolDuZDzhj JMsqDL1ryei0KPSSLhoi66bCaQZUg6Ait1/Fad46fJvCsPt+Y/pAr9StE9JmgytH59W/ U84U/Dk/tuBL8FclVzEpvQZRsbe7jpNdbIHj0BcNj3Ezld0oUbHdPm0Amc+14nH04KWV zX8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lcGCgygd; 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 l8-20020a170902f68800b001895b69a8e7si1503377plg.179.2023.01.06.08.07.21; Fri, 06 Jan 2023 08:07:34 -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=lcGCgygd; 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 S234121AbjAFQFL (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Fri, 6 Jan 2023 11:05:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232747AbjAFQFI (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Jan 2023 11:05:08 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA106A0CE for <linux-kernel@vger.kernel.org>; Fri, 6 Jan 2023 08:05:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673021107; x=1704557107; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ri+4ibZMX3GOsl5AyTBUXhX5n8y+EO6HdQPGGFh1onU=; b=lcGCgygdx/a9fFeH9Q2dE9fdf4q3TrgsKIa3IOqt6CftnnUqItwawo/5 XuMVmFcJFuK0XI1n/HFuBhQ1jecurVgrW5kGPSz+x2n6zG5Jn+NqCta7e kMJJ+S+cHFGr8ecmvh927COIUCZqLCfnM18PTTeYPrurbRJnzrXm7yuF1 o1UdAgC5TL5DauESzSiKyd21p+4P8H2t30ogqc+NyC7G1cZsGCYVyWVy4 hWOEoZxh4VY5NS9DEFnKJJp3gQ7vus/8nWNFaXJqgG5hbWA1lBgxZrldq 04Opt/Se/lLHJK9Z/Cjm9H91tVioDKt/mS4vOoi0EC9d+K8gYKno5rDUt g==; X-IronPort-AV: E=McAfee;i="6500,9779,10582"; a="302199911" X-IronPort-AV: E=Sophos;i="5.96,305,1665471600"; d="scan'208";a="302199911" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2023 08:05:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10582"; a="633521613" X-IronPort-AV: E=Sophos;i="5.96,305,1665471600"; d="scan'208";a="633521613" Received: from kanliang-dev.jf.intel.com ([10.165.154.102]) by orsmga006.jf.intel.com with ESMTP; 06 Jan 2023 08:05:04 -0800 From: kan.liang@linux.intel.com To: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-kernel@vger.kernel.org Cc: ak@linux.intel.com, Kan Liang <kan.liang@linux.intel.com> Subject: [PATCH 1/4] perf/x86/intel: Add Emerald Rapids Date: Fri, 6 Jan 2023 08:04:46 -0800 Message-Id: <20230106160449.3566477-1-kan.liang@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,SPF_HELO_PASS, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754289935316219015?= X-GMAIL-MSGID: =?utf-8?q?1754289935316219015?= |
Series |
[1/4] perf/x86/intel: Add Emerald Rapids
|
|
Commit Message
Liang, Kan
Jan. 6, 2023, 4:04 p.m. UTC
From: Kan Liang <kan.liang@linux.intel.com> From core PMU's perspective, Emerald Rapids is the same as the Sapphire Rapids. The only difference is the event list, which will be supported in the perf tool later. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> --- arch/x86/events/intel/core.c | 1 + 1 file changed, 1 insertion(+)
Comments
Hi Ingo, It seems that only the last two patches of the series are merged into the tip.git perf/urgent branch. Could you please take the first two patches as well? They similarly add the CPU model number for perf core driver and perf cstate driver. Please let me know if you have any questions regarding the first two patches. If you want me to resend the patches, please let me know as well. Thanks, Kan On 2023-01-06 11:04 a.m., kan.liang@linux.intel.com wrote: > From: Kan Liang <kan.liang@linux.intel.com> > > From core PMU's perspective, Emerald Rapids is the same as the Sapphire > Rapids. The only difference is the event list, which will be > supported in the perf tool later. > > Signed-off-by: Kan Liang <kan.liang@linux.intel.com> > --- > arch/x86/events/intel/core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c > index 29d2d0411caf..72943243c95c 100644 > --- a/arch/x86/events/intel/core.c > +++ b/arch/x86/events/intel/core.c > @@ -6487,6 +6487,7 @@ __init int intel_pmu_init(void) > break; > > case INTEL_FAM6_SAPPHIRERAPIDS_X: > + case INTEL_FAM6_EMERALDRAPIDS_X: > pmem = true; > x86_pmu.late_ack = true; > memcpy(hw_cache_event_ids, spr_hw_cache_event_ids, sizeof(hw_cache_event_ids));
* Liang, Kan <kan.liang@linux.intel.com> wrote: > Hi Ingo, > > It seems that only the last two patches of the series are merged into > the tip.git perf/urgent branch. > > Could you please take the first two patches as well? They similarly add > the CPU model number for perf core driver and perf cstate driver. Ok, done! Thanks, Ingo
diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index 29d2d0411caf..72943243c95c 100644 --- a/arch/x86/events/intel/core.c +++ b/arch/x86/events/intel/core.c @@ -6487,6 +6487,7 @@ __init int intel_pmu_init(void) break; case INTEL_FAM6_SAPPHIRERAPIDS_X: + case INTEL_FAM6_EMERALDRAPIDS_X: pmem = true; x86_pmu.late_ack = true; memcpy(hw_cache_event_ids, spr_hw_cache_event_ids, sizeof(hw_cache_event_ids));