Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp988503lqt; Tue, 19 Mar 2024 09:29:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYJ46x/Al/8yjbP95xvKEfr1J+BVUWbrokquX73TYrjoe2RXrVsvIc0ar4MCQOvo/QTaRM+i/ST4/4LNnZ+tiDVvezWGyAqKLNCSvJow== X-Google-Smtp-Source: AGHT+IHyogFjvRSRhhrTojcwRlwVbSyjZyTzGxfU/oW05kM/RKOGmJTai9IbQ96jCoN3feLeq/um X-Received: by 2002:a17:90a:a78a:b0:29b:af61:fb34 with SMTP id f10-20020a17090aa78a00b0029baf61fb34mr3606735pjq.34.1710865771934; Tue, 19 Mar 2024 09:29:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710865771; cv=pass; d=google.com; s=arc-20160816; b=p08IZB25pH7c2foDclttQruoDHMgHLmSqHWZ2vkdfbgS6KtsIlzW8ldek8EGNOFGwt u8kk7L2KuCWGLj3hceMIDp0f3BVxgA8YuOWTVwsPKf2YFW1nF+mrCg7w4oz23jwnRkJS ZrZFODcea+rlZoqU1RU5FPacEY/ev0fBliufpm0M6KvSfN82IUMSkq+Q4E7eJQCUaNBA c++oef6OWS0Pb2vexdit0vLhVemAO3Vyiv0+tr0JF2HE5fHutP+mEwLQO2GL7Df0pJtK t4fSxR3AIO59Wyt5S/i0sJc9cPZm2hEW1T/abG0mO3Q+bxt0Mnkm7KucKYhyyVafhoQ/ Ry/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=INVlAMS/JfEb8n+Ryd4uQ5TKLO8ePn6L/ZZbKVUldII=; fh=WAHTZ6TN8Tohe6BcS4SUSClFiTNQOmrIFybAXgr5Ppg=; b=01s54f+hry/XRdP8/Qphe9FyIETchtepLXfcVLAiWw5YbPgZA/PzgZmFeW/Z7vl6en 9q1ssgUDWt5KHfsvP3GhUzM/ZrbEd2Ink8oE0GUBvYrglGNeL/WKyOE5soS6lB04AOTz CbZ4iIBWZkP4HJ1XM3gFv2lPTw4N1neAHRsVRut7RqyBE0E1Y3Bto53LT85dmVxv86UJ 2QctHWPCWsikzplM8/uwo+YahYG/NtFOVCtSfqXqfn1MkGqLxOgPDBjY7znJ/t5ACkQl PPM6JJqEdnLxZIUP05SuTN1YrrqS9Seo+KZUD3dzyEGIaXsTQLcpEAl9oqjNXl67ZMez IxmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QDVXop/L"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-107803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107803-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a1-20020a17090acb8100b0029bd2ab76cdsi10578214pju.118.2024.03.19.09.29.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:29:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="QDVXop/L"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-107803-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107803-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CA18728704C for ; Tue, 19 Mar 2024 16:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C13E88615E; Tue, 19 Mar 2024 16:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QDVXop/L" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F48885629 for ; Tue, 19 Mar 2024 16:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864843; cv=none; b=LKzBg1kh2X7YaJ8r9iucJD3E6zyPPGXPmX1P6S8sUDWC/OCopq4A1rnROv//RL8etiz1hMWEDz18/Ku1Requ5RZlDvVjc0T3PTcjAJ1kbnPYUUuOvP3tynMa+dsSU+ETK/5fVMhElXxko9SiH/r214Ft02CFcbNUlY0jTtXJprM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864843; c=relaxed/simple; bh=WvPyzZfNQUrQySxckVP5QXfPEr3BylcrJTFZjJRL61g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AjWFyhiKCOG9LF7Eu0jCSxlofPH/YRdsh0aMTtNCkeaM2EXVhtOSozlVFMu5Es7AMK2sFbMA4P/2axspvb1kkH7pk4/RUAN/oxlVhBNpClpo2zotrhsJGJ1VhKqsBR3Q2Waj513jQkYkwBn/YMfRufPIYtjDxBpMk1JK9lo05y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=QDVXop/L; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-512ed314881so4119411e87.2 for ; Tue, 19 Mar 2024 09:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864838; x=1711469638; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=INVlAMS/JfEb8n+Ryd4uQ5TKLO8ePn6L/ZZbKVUldII=; b=QDVXop/LRZ24TtAcm0/l7AOfrinN4v3n3GL7w/ixXGSY3ps+kFZDkS/W3+IEWVagGI WYnADkh37tbVlq5dcYmr3B6/TZADRS9oFMm3T8c7MpemTIrz9R2caJcAjqEmHRw2Z8dj cQLB4ucsbmbs05yN+tGM5REdJV0AGmVVnggvACK/kYfJc1348XzSaLPWcgvzdWATB6T6 9QPabHuhc+2mUL/XmaJ4nWtF1hAuDSWxkR8UUckMlDt1sOmgAQ3D/gubBRNfEA/KySqA SqUnY2dZNVnaY4IstMU4adxKkiLtocH1DVV12yYeLVw+azUiwtHNLBwMCzZKUlplthHk QQ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864838; x=1711469638; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=INVlAMS/JfEb8n+Ryd4uQ5TKLO8ePn6L/ZZbKVUldII=; b=hJehF9UFhYPsbqXEoWLTxxsaQmGtSMBwOrW6BTTIDYbujiHlZDFKZaqreiBDkEC/5B zL3wosnZ5vVk60cbagPzBVO2HK3SQwqLZX36eDtVudtRK+x+tAY+gF5gafSwRdTJflYF 0J+Drj68iz6FiTQ39dgSzA1a63GEiyqzOQDEdsQP1qfL/a6To8xKsgGnFJAzQe1wqCmr jsOTWxoX2wfeJ5sqI+FsiXeN5+6j9T3Uz0QJYp+jmElO93Nqvv0RJjwgFUQ1R880oQUs FIapZ8ZaY/eWq7oRbzEqiJ8JZGWughUJ/8Ce+z+VqDX/CN2WkQQrb83wpVF1OeOeNeZ7 epFQ== X-Forwarded-Encrypted: i=1; AJvYcCXvbbNH8X4B+cPb+pO7Ai7VdgojxuQfULnaqepLeM8LRthTAZqF8Vde7lti2K+7dX8DobcthnhIjSso4hZcsatD1UtMsf7HyK6BxY7n X-Gm-Message-State: AOJu0YzOUnQz96czMbBzoqknuq+ZDvKn01HAnMeommnA+yKHK3o4v9a0 dIRthqEsaBJR2Eze3cRdrHCyH3m4RP6lDrE18gqPB/esOkiZkZyHWWpeRIbzcvA= X-Received: by 2002:ac2:495c:0:b0:512:e220:d3ab with SMTP id o28-20020ac2495c000000b00512e220d3abmr2313798lfi.65.1710864838712; Tue, 19 Mar 2024 09:13:58 -0700 (PDT) Received: from [127.0.1.1] (netpanel-87-246-222-29.pol.akademiki.lublin.pl. [87.246.222.29]) by smtp.gmail.com with ESMTPSA id dx9-20020a0565122c0900b00513ee207982sm607686lfb.198.2024.03.19.09.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:58 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:49 +0100 Subject: [PATCH 19/31] arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240319-topic-msm-polling-cleanup-v1-19-e0aee1dbcd78@linaro.org> References: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> In-Reply-To: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.13-dev-0438c All of the thermal zone suppliers are interrupt-driven, remove the bogus and unnecessary polling that only wastes CPU time. Signed-off-by: Konrad Dybcio --- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 -- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 4 --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 33 ---------------------- 3 files changed, 39 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 15ae94c1602d..cd6a585359f7 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -296,8 +296,6 @@ linux,cma { thermal-zones { skin-temp-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; thermal-sensors = <&pmk8280_adc_tm 5>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index 945de77911de..4283d59c556d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -13,8 +13,6 @@ / { thermal-zones { pm8280_1_thermal: pm8280-1-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm8280_1_temp_alarm>; trips { @@ -33,8 +31,6 @@ trip1 { }; pm8280_2_thermal: pm8280-2-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm8280_2_temp_alarm>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index a5b194813079..00fd4a187297 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -5648,9 +5648,6 @@ sound: sound { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 1>; trips { @@ -5663,9 +5660,6 @@ cpu-crit { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 2>; trips { @@ -5678,9 +5672,6 @@ cpu-crit { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 3>; trips { @@ -5693,9 +5684,6 @@ cpu-crit { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 4>; trips { @@ -5708,9 +5696,6 @@ cpu-crit { }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 5>; trips { @@ -5723,9 +5708,6 @@ cpu-crit { }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; trips { @@ -5738,9 +5720,6 @@ cpu-crit { }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; trips { @@ -5753,9 +5732,6 @@ cpu-crit { }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; trips { @@ -5768,9 +5744,6 @@ cpu-crit { }; cluster0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; trips { @@ -5783,9 +5756,6 @@ cpu-crit { }; gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens2 2>; trips { @@ -5798,9 +5768,6 @@ gpu-crit { }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 15>; trips { -- 2.40.1