From patchwork Fri May 13 05:02:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Rui" X-Patchwork-Id: 574148 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 DF595C433EF for ; Fri, 13 May 2022 05:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356443AbiEMFC2 (ORCPT ); Fri, 13 May 2022 01:02:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357388AbiEMFCY (ORCPT ); Fri, 13 May 2022 01:02:24 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFDF628492B for ; Thu, 12 May 2022 22:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652418143; x=1683954143; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+iTmbW5m/74x35GPlTx6znwyk0Mt+c/m4lEtg9mn60g=; b=h5c/UwpGik5Iy3oW8d1vSla+dAY+CFajpOX/x3VP2JMqDHB+f4Lzqxxa YZ3rYaOq+cqoVz1gmSkR+14g/G+j1nlcoOj4+mOWU7lODuFa1irDcP3VQ GbaxZYG5eZFyu2MOIsu8UmaFunWuIECdDJlkHIgibtvp6kd/buzDtPoTz zhRILQA3QXtA1naktrNqgi1lppiHsSPFqmHVXGbIRpENagn8NRirf68pd jvKMTYs4kMODxpZXdGsXB3hAastXK0HdPvlRkGlJfJWSDgG0LcrwYnSwB zHXgYWt5PiRIbMqzKMItHkjCFQKnAlfnt1GurfFV4Z3lcgRJB0iywD0o6 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="250748186" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="250748186" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2022 22:02:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="712254270" Received: from rzhang1-dev.sh.intel.com ([10.239.48.43]) by fmsmga001.fm.intel.com with ESMTP; 12 May 2022 22:02:21 -0700 From: Zhang Rui To: rjw@rjwysocki.net Cc: len.brown@intel.com, linux-pm@vger.kernel.org Subject: [PATCH 2/2] tools/power turbostat: add support for ALDERLAKE_N Date: Fri, 13 May 2022 13:02:29 +0800 Message-Id: <20220513050229.3387801-2-rui.zhang@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220513050229.3387801-1-rui.zhang@intel.com> References: <20220513050229.3387801-1-rui.zhang@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add support for ALDERLAKE_N platform. Signed-off-by: Zhang Rui --- 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 ab45a2e1a70a..98171b3d7a16 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -5361,6 +5361,7 @@ unsigned int intel_model_duplicates(unsigned int model) case INTEL_FAM6_LAKEFIELD: case INTEL_FAM6_ALDERLAKE: case INTEL_FAM6_ALDERLAKE_L: + case INTEL_FAM6_ALDERLAKE_N: case INTEL_FAM6_RAPTORLAKE: return INTEL_FAM6_CANNONLAKE_L;