From patchwork Tue Mar 19 16:13:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13596851 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 8469981ADC for ; Tue, 19 Mar 2024 16:13:43 +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=1710864825; cv=none; b=qnJcjBYEpRcdt1WGK5LQJp3N/OHGnHaPB6cuoXdbxXg/3+t8FAystQe+p1CflXyRgsNJSmynmd/XKxj98UzGt3k4Lf1JGjJOSrI9LzurrlYbEKm1e+SHnbaPHHJGQOJ4Ta8/U4L5h8t96dBEkA/b3vQkLHWXvYfVnkCjAubCwPk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864825; c=relaxed/simple; bh=AI/6GDzleNINtkezjfAEmbDXxNIt1iLgs6smOMt1BtY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FNLApXlyU7ZrNZRpb6AWKdyrJnfAjV6wxclP8+6innVKCgqcMKAHYhsFe8IwGZKRW7+W1FWtcTSEuSq8/EPEhkAdCsPcuRVFUjpmaJP4Zw+uNiUYnBqKQC6njo3aVzSZLXTB3ghwEbxRIfyP9TlV41U4oD+LLIg7LEeYNQp0/Cg= 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=ozFW/VoO; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ozFW/VoO" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-515830dc79cso757380e87.1 for ; Tue, 19 Mar 2024 09:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864822; x=1711469622; 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=cK/DjygM8+bO8NZk8MSB3Ko2HzSfu+tnWhQWu8DehZc=; b=ozFW/VoOBKXQeUN5+MmsNMk+xzgS/xe2wt90gXKcbpvD/6UH0iPhESuGZbkLlOOkMJ 18vwuTzxV+SSPKkoeBnQPzMdVIZubObW2i0pBPNwNMGp2CTvpZPBjGqxw9ho6PtTKf8k 6PlTPxnQ88I8Vg7KnjybhQzrhXrTXlroR9TZfPrIQsqjmfFAVhc0oVvnryXa2eCoT9od lor1u0dkUinBnehZNR5rx8M7m5P72egVzusy7ASQnJTYs/M9w57Pv4/Vvahzr/qqquqG jh1i1Nr2v3t0030W9zBEjcNzXc5uNqWTkx1pKQJXfz8wLd1LTakoEiMPH2noLRcRSpNI U+dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864822; x=1711469622; 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=cK/DjygM8+bO8NZk8MSB3Ko2HzSfu+tnWhQWu8DehZc=; b=Pd3vw5vPcM38oONy23rj5qF9Nt8aUFglkUSq7YcFrRXffB945LQPtAC6DRr8JDCMcS KHLSrTGcoRu2yBTUQiQi/L90fNDCpLThUsNW2bWFg+nQF1mbaBfFbcBaYVIJ7pMyfpvS rMofEcy84qegSCZ9y/iIo6jf1xcWs2ZwEQAFhdmeHDoLdkPEiPai2futBVWFe9voS7+E vhAjXWb6ay5uBZG2RCMarZHyHKuIb+d1NWamS8xKNa850oDSnQGNny92V1RD4o2c71Xr dGiw3sYThFA1ZJtSY9Up2XpRR3mFqEjOtVdLv1/Z3aQVUP7jXc8jO3aAdSgBcaox8mpB qmPw== X-Gm-Message-State: AOJu0Yx2DDEziAKvcyxAAx7CPfYz6sP8PRz2bfVbVXo86ZO64QP0h2iE 4P2h5B5HS0Z6h/TeZcyt8oUoVHhpUbUAyCRkDTopi+PWPWFUAOlPhXJylonwfb4= X-Google-Smtp-Source: AGHT+IGXpqTMMqMQtoD8GlYkET93+vUVl53lsGT3mijIE32aVUr82o7PSkzaLdW1uxZRxDx/280DBA== X-Received: by 2002:ac2:5b84:0:b0:513:58a1:f4fd with SMTP id o4-20020ac25b84000000b0051358a1f4fdmr9833316lfn.25.1710864821702; Tue, 19 Mar 2024 09:13:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:41 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:33 +0100 Subject: [PATCH 03/31] arm64: dts: qcom: ipq9574-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-3-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 Reviewed-by: Varadarajan Narayanan --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 7f2e5cbf3bbb..98c5623f4391 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -749,8 +749,6 @@ frame@b128000 { thermal-zones { nss-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 3>; trips { @@ -763,8 +761,6 @@ nss-top-critical { }; ubi-0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 4>; trips { @@ -777,8 +773,6 @@ ubi_0-critical { }; ubi-1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 5>; trips { @@ -791,8 +785,6 @@ ubi_1-critical { }; ubi-2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 6>; trips { @@ -805,8 +797,6 @@ ubi_2-critical { }; ubi-3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 7>; trips { @@ -819,8 +809,6 @@ ubi_3-critical { }; cpuss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 8>; trips { @@ -833,8 +821,6 @@ cpu-critical { }; cpuss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 9>; trips { @@ -847,8 +833,6 @@ cpu-critical { }; cpu0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 10>; trips { @@ -877,8 +861,6 @@ map0 { }; cpu1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 11>; trips { @@ -907,8 +889,6 @@ map0 { }; cpu2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 12>; trips { @@ -937,8 +917,6 @@ map0 { }; cpu3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 13>; trips { @@ -967,8 +945,6 @@ map0 { }; wcss-phyb-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 14>; trips { @@ -981,8 +957,6 @@ wcss_phyb-critical { }; top-glue-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens 15>; trips {