Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13598206rwl; Wed, 4 Jan 2023 10:13:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXt7lv8ner8IGZZYhEoEf4IxMwXWttXlJQMHqqt8oTHvvoOaS9WZWcmG91L5Miy/QVlXasdU X-Received: by 2002:a17:90a:f614:b0:225:c3ab:3137 with SMTP id bw20-20020a17090af61400b00225c3ab3137mr43619798pjb.44.1672856018500; Wed, 04 Jan 2023 10:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672856018; cv=none; d=google.com; s=arc-20160816; b=blG5bTePXFIoaGnNMvg5a68pGrLEanyQ2FbD5/7Kciv0deIMuGADo/qa5dYt6Bn3aj x/IecNzTqHDnuRnMYybkh/fd1mu72bUAY+FBJx4XZUQw+LS6HeL/4atevrII9rXkBtSC ckkXjezMIVwS8NlPsFL0gdV7vy8iy8rH4PaKuhUNNrDEofsW7gpQwDKb6vWGuI5shRJM A8sLMfG7j88YjXAeeKqfLHw+x5F14clb+2aZT99cNlMMml3Vh1ed5ybGk3TCDJKnento Iwl5+rpSQobl4HAZruak0z+enTon6zu3EWnWpoBn2RIfrU0Eo9fHkwimeLp+vsgFFakC 7DHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XO170OSGAD+SSVJVMmWw+baZcsRBF5QtfijfyQP6XYk=; b=ani9iiP2aQsU325y9/Hs4GwUqrUM7DSxWWZ5xk8UDmJ87AJrnvyCknX5VVFb7X5bFK PfEpFJsxixK9e2EdYNfJUztkLSTBkmc1ap+psvX/2aSjjRmEGselBbJPPV/I334727r0 RCLCGzHLMC0n0CRa6mPfmkaxbjbCV0CUCMAhyq+bOiBpxnXQbPmzUPkA0nRaMyiOaTg5 1ADCHM7WfRIe+lRR4Z2foxb6iwNprwKc3nvoEX1msrDmaNAiVxMgA64UGpF9ml5WQpLt gSGZlUPS/xiJMVF/gy4EWRW6nmiSgzVVfG2J1fEv60jdnc67hFUhOc8OowY9tBDlA0YB fSbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hA5lbl8l; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om2-20020a17090b3a8200b00218a33228e7si41625569pjb.158.2023.01.04.10.13.30; Wed, 04 Jan 2023 10:13:38 -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=hA5lbl8l; 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 S240181AbjADQ6E (ORCPT + 57 others); Wed, 4 Jan 2023 11:58:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240403AbjADQ50 (ORCPT ); Wed, 4 Jan 2023 11:57:26 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC3C713CCF; Wed, 4 Jan 2023 08:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672851336; x=1704387336; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=9M4xV21Pk9We3A7X02xZcAVZ8pYRkx8urRXNfwjIpDw=; b=hA5lbl8lAcIlGQuAX621evWoVdP+QZamrpD5szx/AMbHP7hJGwua7wlp 7WHqeggQsl+8++AHNMuYgnQDic9jOrbLpnBWCZBhUubBkPMqbkDJyqL7x S11UQvieFxzwyEfVfBROI65UtBDjblioxjB9jLSchyV/qpwnyU4s0Kki2 uKeF5nD8FBcUFsNmTZBaMsGcoVwYTNGpFiP4ZdUg5OhCPqmreHN1oDJ6q uTo6nKjayEpoU46xmmQiMy5l3eCkw0Z7kJEr35+1FmBfB/plItUsvc5WV zovUOIJmI+XaouM3l0BYLyURHCpKMF/+dBB2WeI4xHfGA8fC6b65+k1M/ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="349204673" X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="349204673" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 08:55:16 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="743922587" X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="743922587" Received: from cheungbr-mobl.amr.corp.intel.com (HELO [10.209.91.155]) ([10.209.91.155]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 08:55:15 -0800 Message-ID: <25d07838-3904-a086-4238-f56c9424b53a@intel.com> Date: Wed, 4 Jan 2023 08:55:15 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 1/2] perf/x86/rapl: Add support for Intel Meteor Lake Content-Language: en-US To: Zhang Rui , peterz@infradead.org Cc: mingo@redhat.com, tglx@linutronix.de, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, ak@linux.intel.com, kan.liang@linux.intel.com References: <20230104145831.25498-1-rui.zhang@intel.com> From: Dave Hansen In-Reply-To: <20230104145831.25498-1-rui.zhang@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 On 1/4/23 06:58, Zhang Rui wrote: > @@ -807,6 +807,8 @@ static const struct x86_cpu_id rapl_model_match[] __initconst = { > X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &model_skl), > X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &model_skl), > X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &model_skl), > + X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, &model_skl), > + X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, &model_skl), > {}, > }; Any chance this will ever get architectural enumeration? Or, are we doomed to grow this model list until the end of time?