From nobody Mon Feb 9 07:23:30 2026 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 3CB16127B57 for ; Tue, 19 Mar 2024 16:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864855; cv=none; b=RprZxYXPLUXYY/FTZKEtQHUKvlYQ+ZvvddzxvO2ZMWOJOZYn9ASKZnnz1H4W9dtvEyUweAZMx5DmqYHhCa2PlNyXcXIx5WNGzNYMRmy7EZtCQryUWrzHmAa0HuAQzDWarlQerNdN8B9X7X50BWwoowGb+WeYKL8F18iNQJzra3I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864855; c=relaxed/simple; bh=SLteJC1Oftcfx/pDSbdV85hEd9RawwKiLDMA9H5ZvQo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H8bB0tBQcu/AKFsJANxZqehFz1Art6Q2yKEanhB+4TFef0tA65pFJZyhOSB+2zbyd5nPMAN5jUC/mVMU3rnXdiLmBfJPg94dP95r9PFuVze1vtuvfHfYg7/1YkZh4mY7O8kv7PfUT0B2YQWLLkfnIm+ybTFlCPsDfJC4vWVWZxg= 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=tA4jD1eg; arc=none smtp.client-ip=209.85.167.49 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="tA4jD1eg" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-513e14b2bd9so4040270e87.2 for ; Tue, 19 Mar 2024 09:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864851; x=1711469651; 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=6FR1TiIQMNFX2hWmjLoC33+sHjKjffc4UPvr2nbRk1Q=; b=tA4jD1egJn2JjFsKO9qRkkq0RRljsxOb0JPeqXhtVGz4O2D7lzTTByfmK+Qot9BNXh 1P/FRq5jKx/wuT+mWAdqug+tOQundswp2M5buip/WvRqMeIZF7tZkfK3O9rYwA48nndB OZcyOD7QA9jwh4MZ4GG8GrM6DAiq4C4RDxyjN2UApecoDp1wIFbUXfmEpv+qko0t6yoS dJJLPrCwqYRjWJGIRxvG+Gn35vFzvER/JdySRiBM6ingEoXsRXrK+qkB/30PpQfAEtir jlujvOi5X8F/TMf+X2X55eHfHwlTInVCM5a7UHbXvB13EMPnwnX6/6ewnDrKVsqhjhKG jAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864851; x=1711469651; 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=6FR1TiIQMNFX2hWmjLoC33+sHjKjffc4UPvr2nbRk1Q=; b=YdvjMpQ6I4nTiD1SCSJ9BFgu3ATsQwZLpZQ42CQyt4oxzYKOhV9Azj92/ozHCtBvEs gUw7skJRJ2594RO3VZvT2FPsML8bs/zH2RNyPPaUHCJEBD8PaFXI030ZN0fH2ufMfRxh uPvdiJOe489WkzT20M1IU2MZXnxIG5U7f+95EEC3rBPpNauYpnJRG4sKYamyAt5cG8Bm 1Tl+1YNX8zIpONp0Ubj5NiL22Eu5LSqRMUg5b7YZtChDNwZ25xbYpKMcmvYfMh7cRbeo Hnze3e6Y0Dng2bB3n0fCULJnbEqrHhyzhEf1ZS513Bijg3h99UO2zfFfm07ex9fmq5kx BgUg== X-Forwarded-Encrypted: i=1; AJvYcCXdjYdUkwBkEAFxDrTMznK1mP76dcqQBkXoj8HrpFvsfdAZARoxRV84B7DCYBOdnJZwfHdcYVG2tNjFNBFUq30qxeZdwpQhQujvebw/ X-Gm-Message-State: AOJu0YxWDzUCRmvulC4fppdT3PYCFZTiXv/w6mM6tcIC4pVOpIy4olNG kPW4j0PjP8Lt8FpuwE4Gy8GPL5jYgLDy4pdeVdCvqatFOWqU8ljJ4G0byO8kHG4= X-Google-Smtp-Source: AGHT+IFzAzNEOn9bAyW0fToELJusiFTewqoKadptmhXkjC5eh4XSNmEtEPk2wa5TopiADiwNVyT5mw== X-Received: by 2002:a19:ca1a:0:b0:513:d94a:670a with SMTP id a26-20020a19ca1a000000b00513d94a670amr8510655lfg.38.1710864851440; Tue, 19 Mar 2024 09:14:11 -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.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:11 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:14:00 +0100 Subject: [PATCH 30/31] arm64: dts: qcom: sm8550-*: 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: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-30-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 --- arch/arm64/boot/dts/qcom/pm8010.dtsi | 6 --- arch/arm64/boot/dts/qcom/pm8550.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550b.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550ve.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550vs.dtsi | 12 ----- arch/arm64/boot/dts/qcom/pmr735d_a.dtsi | 3 -- arch/arm64/boot/dts/qcom/pmr735d_b.dtsi | 3 -- arch/arm64/boot/dts/qcom/sm8550.dtsi | 82 -----------------------------= ---- 8 files changed, 115 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qco= m/pm8010.dtsi index 0ea641e12209..583c3c49d603 100644 --- a/arch/arm64/boot/dts/qcom/pm8010.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8010-m-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8010_m_temp_alarm>; =20 trips { @@ -30,9 +27,6 @@ trip1 { }; =20 pm8010-n-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8010_n_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550.dtsi b/arch/arm64/boot/dts/qco= m/pm8550.dtsi index 797a18c249a4..27719876a098 100644 --- a/arch/arm64/boot/dts/qcom/pm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550b.dtsi b/arch/arm64/boot/dts/qc= om/pm8550b.dtsi index 72609f31c890..44c0d4cf3fc8 100644 --- a/arch/arm64/boot/dts/qcom/pm8550b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550b.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi b/arch/arm64/boot/dts/q= com/pm8550ve.dtsi index 4dc1f03ab2c7..7d13e8d9236b 100644 --- a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550ve.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550ve-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550ve_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550vs.dtsi b/arch/arm64/boot/dts/q= com/pm8550vs.dtsi index 97b1c18aa7d8..a7a85f14c650 100644 --- a/arch/arm64/boot/dts/qcom/pm8550vs.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550vs.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550vs-c-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_c_temp_alarm>; =20 trips { @@ -30,9 +27,6 @@ trip1 { }; =20 pm8550vs-d-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_d_temp_alarm>; =20 trips { @@ -51,9 +45,6 @@ trip1 { }; =20 pm8550vs-e-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_e_temp_alarm>; =20 trips { @@ -72,9 +63,6 @@ trip1 { }; =20 pm8550vs-g-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_g_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi b/arch/arm64/boot/dts/= qcom/pmr735d_a.dtsi index 37daaefe3431..e2ffe5d077a6 100644 --- a/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pmr735d-k-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmr735d_k_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi b/arch/arm64/boot/dts/= qcom/pmr735d_b.dtsi index 3b470f6ac46f..e8ececc6eee3 100644 --- a/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pmr735d-l-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmr735d_l_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qco= m/sm8550.dtsi index 3904348075f6..b502471c7c9b 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -4537,8 +4537,6 @@ compute-cb@8 { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4557,8 +4555,6 @@ reset-mon-config { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -4577,8 +4573,6 @@ reset-mon-config { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -4597,8 +4591,6 @@ reset-mon-config { }; =20 cpuss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -4617,8 +4609,6 @@ reset-mon-config { }; =20 cpuss3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -4637,8 +4627,6 @@ reset-mon-config { }; =20 cpu3-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -4663,8 +4651,6 @@ cpu3_top_crit: cpu-critical { }; =20 cpu3-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -4689,8 +4675,6 @@ cpu3_bottom_crit: cpu-critical { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -4715,8 +4699,6 @@ cpu4_top_crit: cpu-critical { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -4741,8 +4723,6 @@ cpu4_bottom_crit: cpu-critical { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -4767,8 +4747,6 @@ cpu5_top_crit: cpu-critical { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -4793,8 +4771,6 @@ cpu5_bottom_crit: cpu-critical { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4819,8 +4795,6 @@ cpu6_top_crit: cpu-critical { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4845,8 +4819,6 @@ cpu6_bottom_crit: cpu-critical { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4871,8 +4843,6 @@ cpu7_top_crit: cpu-critical { }; =20 cpu7-middle-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -4897,8 +4867,6 @@ cpu7_middle_crit: cpu-critical { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 15>; =20 trips { @@ -4923,8 +4891,6 @@ cpu7_bottom_crit: cpu-critical { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -4943,8 +4909,6 @@ reset-mon-config { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -4969,8 +4933,6 @@ cpu0_crit: cpu-critical { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -4995,8 +4957,6 @@ cpu1_crit: cpu-critical { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5021,8 +4981,6 @@ cpu2_crit: cpu-critical { }; =20 cdsp0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 4>; =20 trips { @@ -5053,8 +5011,6 @@ cdsp0_junction_config: junction-config { }; =20 cdsp1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 5>; =20 trips { @@ -5085,8 +5041,6 @@ cdsp1_junction_config: junction-config { }; =20 cdsp2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 trips { @@ -5117,8 +5071,6 @@ cdsp2_junction_config: junction-config { }; =20 cdsp3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 trips { @@ -5149,8 +5101,6 @@ cdsp3_junction_config: junction-config { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -5169,8 +5119,6 @@ reset-mon-config { }; =20 mem-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -5195,8 +5143,6 @@ reset-mon-config { }; =20 modem0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -5227,8 +5173,6 @@ reset-mon-config { }; =20 modem1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -5259,8 +5203,6 @@ reset-mon-config { }; =20 modem2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -5291,8 +5233,6 @@ reset-mon-config { }; =20 modem3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 13>; =20 trips { @@ -5323,8 +5263,6 @@ reset-mon-config { }; =20 camera0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 14>; =20 trips { @@ -5343,8 +5281,6 @@ reset-mon-config { }; =20 camera1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 15>; =20 trips { @@ -5363,8 +5299,6 @@ reset-mon-config { }; =20 aoss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 0>; =20 trips { @@ -5383,8 +5317,6 @@ reset-mon-config { }; =20 gpuss-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 1>; =20 cooling-maps { @@ -5422,8 +5354,6 @@ gpu0_junction_config: junction-config { }; =20 gpuss-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 2>; =20 cooling-maps { @@ -5461,8 +5391,6 @@ gpu1_junction_config: junction-config { }; =20 gpuss-2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 3>; =20 cooling-maps { @@ -5500,8 +5428,6 @@ gpu2_junction_config: junction-config { }; =20 gpuss-3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 4>; =20 cooling-maps { @@ -5539,8 +5465,6 @@ gpu3_junction_config: junction-config { }; =20 gpuss-4-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 5>; =20 cooling-maps { @@ -5578,8 +5502,6 @@ gpu4_junction_config: junction-config { }; =20 gpuss-5-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 cooling-maps { @@ -5617,8 +5539,6 @@ gpu5_junction_config: junction-config { }; =20 gpuss-6-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 cooling-maps { @@ -5656,8 +5576,6 @@ gpu6_junction_config: junction-config { }; =20 gpuss-7-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 8>; =20 cooling-maps { --=20 2.40.1