From patchwork Fri May 6 13:53:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumeet Pawnikar X-Patchwork-Id: 570399 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 8F316C433F5 for ; Fri, 6 May 2022 13:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236583AbiEFOAA (ORCPT ); Fri, 6 May 2022 10:00:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239169AbiEFN77 (ORCPT ); Fri, 6 May 2022 09:59:59 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7F635DBE5; Fri, 6 May 2022 06:56:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651845376; x=1683381376; h=from:to:cc:subject:date:message-id; bh=98S21VI5IJ85HPl4gKniQ9tbcJ0oPC6mo8HQoRhUgyY=; b=PY5cRSf5xVxj1AR2vbXRWnjI83ysoK6XD6CxbkYmfYzQh30uSXYa0tSc o5CN52ODapMi79YZT4kchKuc4XB0VszfJ7UtZjf2MQHRfDh7W8frZhcC7 qDNGwa1GnnXVPRL7Fro9VgkS+Bf/lbTd8DXGNR5PelNj7PlR2igVcFZiz OGkQSq+ndktHeCsT4IwAzTZ+2pOyiznSIrr4aNxeIqICfFdh2l/Lv5keU 8rmW+tsZgF91O73fAB0GooTgs2LB/rCbP8HwpX3CzVPkllK9CQXh+SIkO sI8JC1vnY+1wkaElHgcJwWdH8yxx2mSvLKiLiVKLKrNheBE4trRl8+qbM Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="250472354" X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="250472354" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 06:56:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,203,1647327600"; d="scan'208";a="537899302" Received: from srpawnik.iind.intel.com ([10.99.123.68]) by orsmga006.jf.intel.com with ESMTP; 06 May 2022 06:56:14 -0700 From: Sumeet Pawnikar To: rafael@kernel.org, srinivas.pandruvada@linux.intel.com, rui.zhang@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: sumeet.r.pawnikar@intel.com Subject: [PATCH] powercap: Add Power Limit4 support for RaptorLake SoC Date: Fri, 6 May 2022 19:23:52 +0530 Message-Id: <20220506135352.22427-1-sumeet.r.pawnikar@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add Power Limit4 support for RaptorLake SoC. Signed-off-by: Sumeet Pawnikar --- drivers/powercap/intel_rapl_msr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/powercap/intel_rapl_msr.c b/drivers/powercap/intel_rapl_msr.c index 1be45f36ab6c..9d23984d8931 100644 --- a/drivers/powercap/intel_rapl_msr.c +++ b/drivers/powercap/intel_rapl_msr.c @@ -140,6 +140,7 @@ static const struct x86_cpu_id pl4_support_ids[] = { { X86_VENDOR_INTEL, 6, INTEL_FAM6_TIGERLAKE_L, X86_FEATURE_ANY }, { X86_VENDOR_INTEL, 6, INTEL_FAM6_ALDERLAKE, X86_FEATURE_ANY }, { X86_VENDOR_INTEL, 6, INTEL_FAM6_ALDERLAKE_L, X86_FEATURE_ANY }, + { X86_VENDOR_INTEL, 6, INTEL_FAM6_RAPTORLAKE, X86_FEATURE_ANY }, {} };