Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp980056lqt; Tue, 19 Mar 2024 09:15:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1FptxJCtR6D3CVdh7xv/Lk4sJCDR9WRID12iEk6hkBdvgOUzIqN0z7kf3GplaQcRsbAVcJXRdZXCGIMYMfJxAVastmPf4BYMU5lOK6A== X-Google-Smtp-Source: AGHT+IHbt2Xf5lfjHEF76OeP0W6tcB5Gq+k6sN92qCbd4nJEZgzqpTNv/u4TeZMUX3W8/+GzJyWt X-Received: by 2002:a17:906:aad1:b0:a46:966b:ebfe with SMTP id kt17-20020a170906aad100b00a46966bebfemr6952257ejb.46.1710864944258; Tue, 19 Mar 2024 09:15:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710864944; cv=pass; d=google.com; s=arc-20160816; b=OodSIEZqwkxKc80j9Y+5hP3V4A6JBzhEycqq1UB8F3+Q/gwjFMof7905WKSEfXonO/ dLPa7tvtiWkXBGhjomCGtrcguvC1r0defbaMsU3gHUpFz3IJ1L2x3C67qv+iCxBjln/7 EEyxPYOQd5nUEYAT3IUB/3JN16ltjb59tBE6nIWfg0T3yj9vEQ5ngvFF1hvXrhKKT/3B agvCfINIZ7DDXY1A3UDd59DUcJhXtGgjuJagB/1mbCuHx0TnVOAfmzhNctNgKC1rclVu V7wbSdnJkwD1sJ9WJzwyA0gWPzE5DScAGWMaGMbaKDGmKQS4D0PpOCZ2sfasw28A8BRI Opew== 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=df+WHj6OG+fCGtrjahW0jOLoRL02ELOpM+SchJRRtic=; fh=uE+zSTjafE7PkO8jdY3UpvS0agVSxp6viZ4pV0q01g8=; b=tcU3rZe6djNjT/GxCeIJT7ntb78oudKs7B2cDBQki7R+JOHGMyuhNYljS/tmvCeVEk CUat1fVYmO4RpamDXwQ3oNZfhNw/KBO7+8WiFnXNFIbIVitU8HQp2Mc+8sIWHkKotuig 9UbVeYr8FfXS3jMBh/sdLUrOpTq9ezbGO+QZ9Mch5ULjCXZrG752rmYR/5tZg+rEZ+f1 NqZ6IPEGc3Glp1NbtzWKnNGBhHi0hidbsZEEbWb4q+43tbJb9H9u+Wbwne3ms7RgCKk7 hVU8c0GanpHSxPEXnzc+f0F450YegCK1pswlbW1RKMzt0ZpsKiWsXbO15pufQr/T2WV8 CDCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cdmnIy1b; 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-107791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hd10-20020a170907968a00b00a46af3aa70csi2835586ejc.146.2024.03.19.09.15.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:15:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cdmnIy1b; 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-107791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107791-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D0A3F1F21920 for ; Tue, 19 Mar 2024 16:15:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D791A83CC6; Tue, 19 Mar 2024 16:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cdmnIy1b" Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 E9348839EE for ; Tue, 19 Mar 2024 16:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864830; cv=none; b=fHTEMHm0n0C9ZIDyTLwUOx2pfRsn9cPPVQrIzXduGQ3qx4OYBzbabaf2nreCot7AXFYY+2XNZ4YyCk++n4vxRRroLKqK2bqYPLXC4jrK55qCikjrtqY7H7tXT+Xyl8hv1uTRRMRRQ7WhWQg/eqvG9L//oOoopLrcLHcw4LLpLNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864830; c=relaxed/simple; bh=ntEzv7JUf504zBFx8ko8UQ8SN8E+dPkcW+Y+1IK8KYw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WkbanU+wnsFEBU8ZHAYGetjwO/25ftDvbAjUSDqvfG5jVYLUQo0uB01FK3YTT5ZV7FJT65fw/8vdfM97QuFrCe2PWF6uLUtLI4TmlN/lPgRS/2THsu66QZZTALjEpQOsWXxsMgUD/yCRhRQKfQNaNrO3UQ3j4OvEGGqMp5Moww8= 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=cdmnIy1b; arc=none smtp.client-ip=209.85.167.44 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-f44.google.com with SMTP id 2adb3069b0e04-513d717269fso6157358e87.0 for ; Tue, 19 Mar 2024 09:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864827; x=1711469627; 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=df+WHj6OG+fCGtrjahW0jOLoRL02ELOpM+SchJRRtic=; b=cdmnIy1bC2j8JiwOUUNx4c51ruP03/tiwqXhhAjLFlWOLk4VJ0eNnQ85zQQoXb82FF 8orFXI1OcHiyOgJUb1LLqDjMyMZPbnI+wvlRL+bmaYHUGhm+oGYR468XlaLqLhaz9q84 srMxybgnGjYCQI0M0gyg1btkMYKzXTWS2BxZCjCWGfWPvZBueLFlgCgbNhZC74ba3WTW yDloEgz1pqIzs5hF0eR2O+VhgNdePx6njaNN91RsdmSyz9P4neUXHsx00yP6cKbhfD1Q sZDuP7P8FWWqnjFQGLHX493F2gJW1QPFjT5Y5fV4Zs2YQO++0AfgwjbPPV34Tw0oFSAU 4LqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864827; x=1711469627; 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=df+WHj6OG+fCGtrjahW0jOLoRL02ELOpM+SchJRRtic=; b=E4mTgfBXX/AVu5drxYSkVE/ffgI3xDYdxuoZ8MXvcn+ibGLgo40XgbV1vL0oE/9ORS YpGbNvy2ouWzJCaQPK3nVATI/yzPRV8RSWBGRa/hlJ31+kFqBW3hNJcjCGF8jgTb7n1D oWT6pq+WdmTTFewPiirzxkbdWtHb6rlXR5E1wqUEtZfoiKVXRVQXzUvw4q5ThxZDPBVh ygqi7fjjfTHhSGs8Su1pc0NZRVHQFa7S+Wj5vDKe6qzJjAqGnU+WClBlWkb7axcuH1Hy 1k6vgGO4NMlwO7hbVkG27NpKhneD10ntl8aNPDmZOOiwvXhoeDv4WOtmt/v5ORZfuiVW oAcg== X-Forwarded-Encrypted: i=1; AJvYcCVG3jDnanDq123EDvinAwedXG9wLONyfRyXbB0vU3RMYGwVmVipwi5R36bX6UpRLBLyMWA8eZWRmwEULVgtfWdCvbQY3rmKnNxGYAEG X-Gm-Message-State: AOJu0YxTLG2f42DvrZFs2X5gitCwA1457DqJThAQMdbYYsc8vySFarbT Jc097yJFz4tL9tbRE3KvQVhbIoTd2IDjoQE9gItoNMte8h6U4Y3teXMnAORk60Q= X-Received: by 2002:a19:8c1e:0:b0:513:9b96:a948 with SMTP id o30-20020a198c1e000000b005139b96a948mr9587328lfd.6.1710864827163; Tue, 19 Mar 2024 09:13:47 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:46 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:38 +0100 Subject: [PATCH 08/31] arm64: dts: qcom: msm8996-*: 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-8-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/msm8996.dtsi | 42 ----------------------------------- arch/arm64/boot/dts/qcom/pm8994.dtsi | 3 --- 2 files changed, 45 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 1601e46549e7..f9bdf09a91d1 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3623,9 +3623,6 @@ sound: sound { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 3>; trips { @@ -3644,9 +3641,6 @@ cpu0_crit: cpu-crit { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 5>; trips { @@ -3665,9 +3659,6 @@ cpu1_crit: cpu-crit { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; trips { @@ -3686,9 +3677,6 @@ cpu2_crit: cpu-crit { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; trips { @@ -3707,9 +3695,6 @@ cpu3_crit: cpu-crit { }; gpu-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 6>; trips { @@ -3729,9 +3714,6 @@ map0 { }; gpu-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 7>; trips { @@ -3751,9 +3733,6 @@ map0 { }; m4m-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 1>; trips { @@ -3766,9 +3745,6 @@ m4m_alert0: trip-point0 { }; l3-or-venus-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 2>; trips { @@ -3781,9 +3757,6 @@ l3_or_venus_alert0: trip-point0 { }; cluster0-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; trips { @@ -3796,9 +3769,6 @@ cluster0_l2_alert0: trip-point0 { }; cluster1-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 12>; trips { @@ -3811,9 +3781,6 @@ cluster1_l2_alert0: trip-point0 { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; trips { @@ -3826,9 +3793,6 @@ camera_alert0: trip-point0 { }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 2>; trips { @@ -3841,9 +3805,6 @@ q6_dsp_alert0: trip-point0 { }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 3>; trips { @@ -3856,9 +3817,6 @@ mem_alert0: trip-point0 { }; modemtx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 4>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index d44a95caf04a..68629dc1bf69 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -7,9 +7,6 @@ / { thermal-zones { pm8994-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&pm8994_temp>; trips { -- 2.40.1