From patchwork Mon Jul 17 19:54:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 121583 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1323621vqt; Mon, 17 Jul 2023 13:15:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlEuqrFfEAcXM0rz/nYuwV0ZwuBrnZrFENl7Owm4Md5mCE1Ot6IUyrTCUw9sbss3e3f5tzJw X-Received: by 2002:a05:6a20:2445:b0:12d:3069:69e1 with SMTP id t5-20020a056a20244500b0012d306969e1mr13586215pzc.60.1689624957988; Mon, 17 Jul 2023 13:15:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689624957; cv=none; d=google.com; s=arc-20160816; b=J1OiTI+jL1xhCtFTaNwC+xcND19qAXgYk7PKBdZ1TJ8vlMyXVU7DobZD/UPtLvUGR6 8g3f4PohJSV7xGGk7ETvHLrfck+niwtxyti6Zn+9wGaDb5IXfyQA6Hh/yJga2qzNCFip IdDHJDp7i4/EtRqR/HO8a48f2FK3P+eRvjEXYqHKq+ATWzGHo/RL+4sVaAu3y9drGJar ozFyUvj0pVBs9koY/z7h52XIteiHZtt/JsarLq9nNI4vvevHlhdN/KOIo2JOAf4Odkfa 7djz3QhQHSDOtEEGn08pDGrA91nxDElyLhKYShwJXdr3XIdrBLaOhlnRJTxbER/vjNoV 3hSQ== 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 :dkim-signature; bh=McvTRoo7k4HhfOzTmgRoJ7/1Efr/6RVYXx8j/eLPMTs=; fh=R4ZvNZWGg6IlKgk5n1zDvyneOEgr4zAUEpOHZQoDJ/M=; b=Nz7RYNO2ShBl1hf/PFEgTbvPF0cchE/OIyFE8AUg4HcTxvouLjhPU7QfupRAwY4gcQ 9Dd6NY3aV1nFSPGAqTrDxTuZZ0FMoRFMO4yGYPswB38pJWrWVCO5WAmIb0NIiwmh4fZy cp5Hr6tyUwrD8E2bX8FDDPQjeBlH0TtZN+1gAve8YYhhumdvJJpXgS2T9omruV5JpabW xM3Gzc2vJcthLFgqQXvnetc3sPuoiveTnGuIGfqi6zJtKWhrffpP7xZUaa4zaNWsZtCh on5VhWbRAdgmZjK6gFGeOqG+BnY9hl99oLR9V3lICbjFc73y7opVz61n5aOsCMd9DBNB 7W2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=C0Eh7MVN; 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 y25-20020a056a001c9900b0067537349056si284984pfw.342.2023.07.17.13.15.45; Mon, 17 Jul 2023 13:15:57 -0700 (PDT) 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=C0Eh7MVN; 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 S231337AbjGQTzF (ORCPT + 99 others); Mon, 17 Jul 2023 15:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230261AbjGQTyz (ORCPT ); Mon, 17 Jul 2023 15:54:55 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A94951B4; Mon, 17 Jul 2023 12:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689623694; x=1721159694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bitjTo9+F/HSX0khDRogF+m02NyxMlqy5VpP4PrepmE=; b=C0Eh7MVN3/Ea0o+/j/bvYzSJYY7gJFTWRee9I90BXPoaekJ9LEiU2JtH VeqKjVWrzPdE7GSnzohX2ZqjwIS9sLB3UP4epBmJhQdYfIOia1oPDr99f 9yN0YIOy0GsrK4YCH6yloyBYZOUgP60RxQczV6o1JqGEaPmAv9371BF6Y 8cFHv/yOYJn8y0m8qpbe+7jD1fyNgB9V7ob+7ygtYZJciIdEuvaIxxgg9 k7V3w4mItnq8aTXCpkP7u/thG0U/JI+jvCa80Mkf+yaZDImedP8LstP4P ZEQ5JoQNFXxj+z8tiYkSzPcuzVC9UBPOoSKo3OOCXXb19886p5kLZSM98 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10774"; a="366064605" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="366064605" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2023 12:54:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10774"; a="788770753" X-IronPort-AV: E=Sophos;i="6.01,211,1684825200"; d="scan'208";a="788770753" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga008.fm.intel.com with ESMTP; 17 Jul 2023 12:54:52 -0700 From: Srinivas Pandruvada To: daniel.lezcano@linaro.org, rafael@kernel.org, rui.zhang@intel.com Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH v2 4/7] thermal/drivers/int340x: Remove PROC_THERMAL_FEATURE_WLT_REQ for Meteor Lake Date: Mon, 17 Jul 2023 12:54:02 -0700 Message-Id: <20230717195405.730869-5-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230717195405.730869-1-srinivas.pandruvada@linux.intel.com> References: <20230717195405.730869-1-srinivas.pandruvada@linux.intel.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1771700179989866299 X-GMAIL-MSGID: 1771700179989866299 Meteor Lake processor supports firmware hints for predicting workload type. So, remove support for passing workload hints to the firmware. Signed-off-by: Srinivas Pandruvada Reviewed-by: Zhang Rui --- v2: No change .../intel/int340x_thermal/processor_thermal_device_pci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c index 2be9b7f660d1..1061d1d8f38d 100644 --- a/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +++ b/drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c @@ -364,8 +364,7 @@ static const struct pci_device_id proc_thermal_pci_ids[] = { { PCI_DEVICE_DATA(INTEL, ADL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WLT_REQ) }, { PCI_DEVICE_DATA(INTEL, MTLP_THERMAL, PROC_THERMAL_FEATURE_RAPL | - PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WLT_REQ | - PROC_THERMAL_FEATURE_DLVR) }, + PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR) }, { PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL | PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WLT_REQ) }, { },