Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp979281lqt; Tue, 19 Mar 2024 09:14:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXM6plWBuc0SV4I9AnAZiNNiOiOKjgFV3/g8J/ShyroCfT5umoEH/kXxIVUvpg6MX1ZwJnpuDBShAzoXTr/LNJ9yp08fFmv5vrxS2c7nA== X-Google-Smtp-Source: AGHT+IG1yXT4nK0iP6eLoYNNi+f+UnYX+sUQ5mWiVQNMBzMzwJw90STDwzNhwp2DeeBH2+vbT90n X-Received: by 2002:a05:6a20:d39a:b0:1a3:6245:7164 with SMTP id iq26-20020a056a20d39a00b001a362457164mr6658687pzb.62.1710864878725; Tue, 19 Mar 2024 09:14:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710864878; cv=pass; d=google.com; s=arc-20160816; b=vDD3+RcMmz/GQ8wTI3EA/ZClcXl0gqc1630s219vURWEFrblkXpDTNCw8l/Gb1C8e0 rwrbh5LXEZQra5y1duG4TCRWmpdIKRjwbrqkVZe/72K9bc0Ejbr4syxDyVukKaDHYUIH lKkMN7cgVIS2DP//SvHmVRPubUvXzjeYEHSui4cHDJQBGhWwDHJa6jptb31CXvlpbd+b ikrUNdu22ZWzqMqttwme54T05yZznFmCtlc8VCbYbATpbXUqIHFxVyXJ76w0MFNwlt45 Ap4T/M/Lc/xBbRni0MfwcgiGwm684FiVdQkikUIA/vvgkr87ZyaISSSeJYm6vh5gHTTs ZI/w== 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=ZA0m8KVEeSJZj3NTvXTSBRFxE/GChVc+fNT8dQ6LCt0=; fh=TTM9y3Y0jHjHTAZYjQasUhc6jsFVGoTVtZamSwb2E2c=; b=KJfyuqmJgArNdfCR1Ts81zmDzT2NgIxJAiA98dnw9aj3/dQivHLsSb3HPOp8YC7l4k gIRHdAnb+RYnVEBAjJfM9AFVMLcWJ3C5RT33OW0r3irVuHj/0Uk8bZWRFKFksr5JSQh5 iJYMuGBmX+1RnkbT2Ak08L5+Bs3HNEsiPVHM55Acgg4E0gXR6MX8liO+hYkzlRLQn6bZ y21X5RbzkM2S/ecocfeq4IsXkBwB1m7f5NPzqAV87erW8OKFUsz3sglZaXXi9weH6ouJ x2o5Dv+KhDf20vdPjxJi8xBrZl4+dOHk6rjZmlEw6FXKCQXEjGTpetDPEZTMk0pwnQim Z0GQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E9JtSYDv; 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-107787-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107787-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. [139.178.88.99]) by mx.google.com with ESMTPS id p15-20020a056a000b4f00b006e72dd4d0cesi3910387pfo.142.2024.03.19.09.14.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107787-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E9JtSYDv; 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-107787-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107787-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 60C03283C05 for ; Tue, 19 Mar 2024 16:14:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6561A82D6D; Tue, 19 Mar 2024 16:13:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E9JtSYDv" 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 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-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: 7bit 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/qcom/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 { thermal-zones { cpu0-1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -2655,9 +2652,6 @@ map0 { }; cpu2-3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -2685,9 +2679,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; cooling-maps { @@ -2712,9 +2703,6 @@ gpu_crit: gpu-crit { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { @@ -2727,9 +2715,6 @@ cam_alert0: trip-point0 { }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { -- 2.40.1