From patchwork Fri Feb 3 12:35:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 52477 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp819353wrn; Fri, 3 Feb 2023 04:50:53 -0800 (PST) X-Google-Smtp-Source: AK7set+9R3HgbCwIahbuMvSXFNFBMdqjASVzDcEXfvcAs2TAw1Ka14gBushI/TWPGNhT5KCvJVpD X-Received: by 2002:a17:906:184a:b0:7c0:e30a:d3e5 with SMTP id w10-20020a170906184a00b007c0e30ad3e5mr11020922eje.18.1675428653232; Fri, 03 Feb 2023 04:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675428653; cv=none; d=google.com; s=arc-20160816; b=CZKYkwZk8oyvvKiS23Iwy6LSJt3UstS9Yn7X1Gwr8GPGrYz3pPl0VE1isAe3GWftyx 0M18LJLwsjhh/UYWOtXyRPAsvsN2xM2UA/xxfcH7gYlKBkw0zmAJQybFwAlKrP0flqPV qjbgZiHQyDVsPnYEtNeqXtAurV7ORzHE2sdcIsx2ekiHOBLLgZ1yavmChw9OBIB2Sb/o W2ocRNf+R9sj0eAfW0GaNZCD8CY9cZAjn9N7HqEyNBXAxIgw7gSkuTbtGqbjOVs7R9RL K/SJ4VOTeh6k8HuEgAfcoyYVf2Jet8hzmsm53lRuSSCEWpYIhForFBi9U9YzpIy7kCga kL3Q== 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=StkmQ5wHN4GSDD+8sGlKgMJ+yBTAu48ntkLQllLhgkA=; b=JZomJDPUl+ZReEE+pnkcEpdlovsBiKR/cguMik/mGlLLk3/TWdJZBqClHyZuQj+W+2 sS1oRDazjvoJEp7OvTidGdxUgu2AFWM81fV0Uf1La/LqxC5T6AOy5jb1l1wSnq8u+Jvl ysR3D3eylX8HFpJ19T8ISgW0zBieHQIP1JLumKk414Nqi6AN3T08tVNKL+H2kT/hmXLh 8OR7oVgkhL7D3GevuSrYDleBkZKGkGvP/kUZ+QTfDZMsMyhkX+6+eyXX8j6TguqfM85w GpG9yylMolIsmpPSj5NsXOOnI5OflHJAAbm2Bbo15SAaEmr5SkigUAsqtHKZrjX6c39f O6Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FWhi8+1w; 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 c26-20020a1709063f1a00b00878a893027csi3616477ejj.985.2023.02.03.04.50.29; Fri, 03 Feb 2023 04:50:53 -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=FWhi8+1w; 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 S232344AbjBCMft (ORCPT + 99 others); Fri, 3 Feb 2023 07:35:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233122AbjBCMfb (ORCPT ); Fri, 3 Feb 2023 07:35:31 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB55E1D914; Fri, 3 Feb 2023 04:35:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675427726; x=1706963726; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=VioCBWb7qXf7WOg8zdrdnZEUEZxWGMvvT3yx59qR6CE=; b=FWhi8+1wScoifuM7HIp7ONrKPv5cJ9NRzEd+yJXW7ChTwbfc7IEeB4T7 CmoigS15AayX+omEJnuGCyPCEvS1gNl3C3G/I5G815JNl5BbK1L5NFsCw HojtUuojR5UHLQWPuSrkdVh7VthzAH+F04kjpFmQ22AdSll/yznJcCE9V A/hwyWZVXRbSznkZlL+YAaZu6PDt1nPLe8tmtgrjLtJqw0o9N2hwdqSQp RNqbJ+qszlSxt2sadVeRNqM9uTXrL2wrbcKnqhoilaxAjGU737Vjqplqx djP0L27sW3r/NkmH7XFgBkm5y3TChTH1OIsJbc74YJsyFtQT0eehnJ62f g==; X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="330023094" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="330023094" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2023 04:35:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10609"; a="643257575" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="643257575" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by orsmga006.jf.intel.com with ESMTP; 03 Feb 2023 04:35:22 -0800 From: Srinivas Pandruvada To: rafael@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada , kernel test robot Subject: [PATCH] thermal: intel_powerclamp: Add dependency on CPU_IDLE Date: Fri, 3 Feb 2023 04:35:16 -0800 Message-Id: <20230203123516.2501755-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756814275339372402?= X-GMAIL-MSGID: =?utf-8?q?1756814275339372402?= Fix error: WARNING: unmet direct dependencies detected for IDLE_INJECT Depends on [n]: POWERCAP [=y] && CPU_IDLE [=n] Selected by [y]: - INTEL_POWERCLAMP [=y] && THERMAL [=y] && (X86 [=y] || X86_INTEL_QUARK [=n] || COMPILE_TEST [=y]) && X86 [=y] && CPU_SUP_INTEL [=y] Since IDLE_INJECT depends on CPU_IDLE, add that to INTEL_POWERCLAMP. Reported-by: kernel test robot Signed-off-by: Srinivas Pandruvada --- This is for kernel https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge drivers/thermal/intel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/intel/Kconfig b/drivers/thermal/intel/Kconfig index b346a646fffb..b5808f92702d 100644 --- a/drivers/thermal/intel/Kconfig +++ b/drivers/thermal/intel/Kconfig @@ -3,6 +3,7 @@ config INTEL_POWERCLAMP tristate "Intel PowerClamp idle injection driver" depends on X86 depends on CPU_SUP_INTEL + depends on CPU_IDLE select POWERCAP select IDLE_INJECT help