Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp118453pxb; Wed, 3 Feb 2021 00:53:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJykACHK6POiZ/CmbfJ9FoB+NMNtTn/5sLh+fuovLCsm3yUqc9XSA2++26uTSQr2vi4r4WX0 X-Received: by 2002:a05:6402:11d3:: with SMTP id j19mr1932846edw.314.1612342395580; Wed, 03 Feb 2021 00:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612342395; cv=none; d=google.com; s=arc-20160816; b=w6BTY+cyEmYkw8rYEW0A9iTF+n3bUj3hoPgy532u6UEsN6YgFUTbRhuOZrJHJB11vU bJv9Gpolml4XuYyoes47ds8bdpamrIOIMJ7akue8fwE6n0s4v4HnXevOjTBJugJmnk/f Sk2WDbW6L5ZR+/X0mr+i2vvNH6vC1r93ufN3gNuFBuLugRa3TIeTofO2nAss8alLFz0b dRSpN4GRPGzKr51j2iyMy3ytWpWaYEtxXwM7H1bAxYi3oaf5p50CnNb7DuB8qQf2ngrk O7knm2dGLNqv5giRxVKZbqLmM9qG7Z1NUpa7hRNMTnFhZpjFupQHdYic2m55AWXZbOvW lApg== 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 :ironport-sdr:ironport-sdr; bh=XAT33gmAxRbtzZWXBbQaV2qli4chk6Tnsh8dj/VeZXI=; b=XebvRAN5/N4Us8BrJZqfgHVe6j4TD8YzCVRhsnSDo6Rjjl/2csNMH6c3GsxWF5rwBN cw/p+NEhQek+avB49oCzD/HVLiOyqiEF1aZsvitcynoFZ8q5cZijzkgP06BdxGxGa/cj Pawq2kpXTgrVoL8mBZChM3zEPiygsoDBFqMqRynxtjQ17HLBYHgjGLEAFC2qNHcApOId Cl9f4SCidN2GND/iQJ66tQ7YiV/IalyP8kYAQaRiG0mzroOSQMCA2yB9mIHovZQN/YNE aZJ3A6SC39Fka/0Z63bk5HqNyV3b+siacwJUo3oGQa6pRJamlnXM5EYxi1K8sMEroV3W 04WA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b32si804669edf.148.2021.02.03.00.52.51; Wed, 03 Feb 2021 00:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233040AbhBCIvs (ORCPT + 99 others); Wed, 3 Feb 2021 03:51:48 -0500 Received: from mga07.intel.com ([134.134.136.100]:53813 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232812AbhBCIvp (ORCPT ); Wed, 3 Feb 2021 03:51:45 -0500 IronPort-SDR: cCzr+0jycim8QFx8Dr1dFfejGPHAHLMZsHSpZnwI2eDrnADBKrjovhnYP47XGlbs5OZ/geBlE1 kvk/cneFW66g== X-IronPort-AV: E=McAfee;i="6000,8403,9883"; a="245085341" X-IronPort-AV: E=Sophos;i="5.79,397,1602572400"; d="scan'208";a="245085341" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 00:51:04 -0800 IronPort-SDR: ZNKt+5El5N9Mz9+AjqPQudgHW4Zj4OUdnVqJhfl6yl7V5afCRtPPqBSPad29gBVRqHz6EnPVpO aozfyb2dzNAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,397,1602572400"; d="scan'208";a="392337663" Received: from chenyu-desktop.sh.intel.com ([10.239.158.173]) by orsmga008.jf.intel.com with ESMTP; 03 Feb 2021 00:51:00 -0800 From: Chen Yu To: Len Brown , Len Brown Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Yu , Wendy Wang Subject: [PATCH 1/2] tools/power turbostat: Support Alder Lake P Date: Wed, 3 Feb 2021 16:54:26 +0800 Message-Id: <1355736401e160d29326a222fd3af5492883da61.1612341978.git.yu.c.chen@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Share the code between Alder Lake P and Alder Lake S. Tested-by: Wendy Wang Signed-off-by: Chen Yu --- tools/power/x86/turbostat/turbostat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 389ea5209a83..34628e3e7099 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4986,6 +4986,7 @@ unsigned int intel_model_duplicates(unsigned int model) case INTEL_FAM6_ROCKETLAKE: case INTEL_FAM6_LAKEFIELD: case INTEL_FAM6_ALDERLAKE: + case INTEL_FAM6_ALDERLAKE_L: return INTEL_FAM6_CANNONLAKE_L; case INTEL_FAM6_ATOM_TREMONT_L: -- 2.25.1