From nobody Mon Feb 9 23:15:02 2026 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 93BB8823C7 for ; Tue, 19 Mar 2024 16:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864826; cv=none; b=iEJlHTb6eaD550y6sZeeOnVqZCbpGeYR+C7gIPGYz+WsXWIbBZ6+KzD8xChqsZYfEY7KKnhbkS1DYshjgzZPBHEY52/VeKYFo4JkMYz9ZCVcMOvCpZ4fxa6TmpvBrVnSKxelJ5wEEYaFD7W+I7a42qqSTEAJJoYolWRSKlHqfJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864826; c=relaxed/simple; bh=czTRD0cUdTrGZWHnHZMrrONd+Cum7+20Z5L2jGpatJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RMtv1n1imVoLxSXMP7tXYS8ue5q9vxD4qHyisyULKgjykq/vUPIkTicc2EXS9vue5Yk9dVJzjS5BdtStGaG3cKP+2GRTleCO4gAf1YcOK/R4Fq3fP+MiPhJZDnUOTLyi9KjNXlziGuoxhkIVBJms64wUCLQNADFUDwcIXglz06I= 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=E9JtSYDv; arc=none smtp.client-ip=209.85.167.48 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="E9JtSYDv" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-512bde3d197so4708858e87.0 for ; Tue, 19 Mar 2024 09:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864823; x=1711469623; 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=ZA0m8KVEeSJZj3NTvXTSBRFxE/GChVc+fNT8dQ6LCt0=; b=E9JtSYDvHTNxtnJHqThOEiNARbA7uLC9iJNXJKDsVEvJfpwCGWV3anU8HSQyFkiBBT 17+P6xjyf/MzIt8UevUNY2HJeozH1S9ZQwIrE97PVBB6FZ3TIYHP0BnSK20ZZe7f2shc 4k50dGErFz8tnN/l+Bg7YK82wceWo4704qiuVdEGr9nImZlovIibBYxlcikD3K7BlyWz uLkoes5pfLdffeU1OdsiyoMTYR8j4UkBToUYEoOKIfFsS2pDQj2QouzbepO0wkq/lkU5 J3puO5zijGBKx/GbLJwl6Yp9y2TdeORF8P8pwq1FXSLjx4iCdrmxTZKy/fajVpjVv8Pl 2W5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864823; x=1711469623; 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=ZA0m8KVEeSJZj3NTvXTSBRFxE/GChVc+fNT8dQ6LCt0=; b=g1cPXCI/PvC950dZ2m9f+LU8m16qsdMZf9YdGX6wqLcXoF38DBXNtpjcC4s46a4VSm v/98PwKGDUbR9Fa63RteZ3r2gBAAdXI15ootLBmxWGFu56eZOOq4zaIKxDjiF2c7bNbQ K+cnRn+gTbQq55TNVLfFC7RWhk6zNWiAXo2cvd5aa9aeVFbzQefzfK3tYt75mRrvW+b7 7q4bEXRRlBFlcWnRLIYewL4xKFXFxlI5wPzyxmlb3sKnmv9iHeudeRIgK2vUfraSwZWa wEGE9Mo7AKqNLo2U0D8qrwW0y6NSUD2NNs8md/YdVrIOYT3Zxx+Pa8ioQ9oYCsO4H10L KIpQ== X-Forwarded-Encrypted: i=1; AJvYcCUBO3HV4qsVFxSgb2Xt4h21ZluF0wp7Ymj10bGa/46I/MPDitH7PXG0yyZeY69PvAkN+dDMqd/0Pzn3TUUMCYGEUrV/Rp7luUB+H0w3 X-Gm-Message-State: AOJu0Yxuc+FpgeQ8GxUxr8nocfaV7bfPzMtFTY9pB5d5WT/1dxt/QjNw P9wSdF91v7NEfc2PK/fx6/xC/6bgBLJhpttHhR7i6n6OE1A+/GCX+MRvpzwqOzQ= X-Google-Smtp-Source: AGHT+IEnLqsL+mnvRm5BhPySVvFgWyrF3dVRV3cHETxw8yRb1MFx+VO3GtW1/TFf5InmJGNaXfieEQ== X-Received: by 2002:a19:5e12:0:b0:513:cd70:8d94 with SMTP id s18-20020a195e12000000b00513cd708d94mr2295022lfb.14.1710864822862; Tue, 19 Mar 2024 09:13:42 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:42 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:34 +0100 Subject: [PATCH 04/31] arm64: dts: qcom: msm8916-*: 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-4-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/msm8916.dtsi | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qc= om/msm8916.dtsi index cedff4166bfb..e95800f8258f 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -2625,9 +2625,6 @@ cpu3_saw: power-manager@b0b9000 { =20 thermal-zones { cpu0-1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -2655,9 +2652,6 @@ map0 { }; =20 cpu2-3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 4>; =20 trips { @@ -2685,9 +2679,6 @@ map0 { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; =20 cooling-maps { @@ -2712,9 +2703,6 @@ gpu_crit: gpu-crit { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; =20 trips { @@ -2727,9 +2715,6 @@ cam_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { --=20 2.40.1