Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp442985lqo; Fri, 10 May 2024 05:01:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+kT2pV/gaxSGBAOs91HInY40ZXJdIhpuzP0YETlsnN/cT/IooxmFVa4T4nkRga8JCDbB/O2yEYK4DpDpDEus/j9C6NVzG9bSmJByDbg== X-Google-Smtp-Source: AGHT+IE07aSHaKdZNk36+apniTHGxI4dSIMCDaKfQ/xxstilsht5dZXDM2D3k/rqCoRnp7Ylc3H2 X-Received: by 2002:ac8:7dc5:0:b0:43d:eb97:a54 with SMTP id d75a77b69052e-43dfdae13b3mr30042281cf.17.1715342502057; Fri, 10 May 2024 05:01:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715342502; cv=pass; d=google.com; s=arc-20160816; b=DfEsPvNB87mvFb5VtKx5v5VhD53IS1ceIl8sW3QRp8JQhO9NBaQGBuUF1CY+Gk9VA0 xkoeCJypDJFQyLEbEtEd/gSC1/vU+7iK1fok/NlbjK5VJBrTLXQO868vhRtTbriO4ov+ du0csoLnJQIayTqNw1kHS6Apt06BXtSusdiVJplTOeTMWWTySb3f1T70ytAtaWH8d53I zAlvFlr0UMVtDfugINXgoQRMo+AZlp4YwB8SYiPfClfUCYJ+1EpYAPNDKWrZlOP6Ob7r rBxkpYqHB9JIHI3XugSoU1Fo6rzWdvu8nFUv1wU4rp/t4r+oJ4/PZ/40EinX+iM2FuVP y0EQ== 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=Xus5xrFsxqYjPmZuFNjHFFx4ZVK0BGErQ8h6vfpBHIE=; fh=1GaHUResmDHDvoM48mgXAoaOIpDnXYmBmEUjDvYNmm0=; b=GyRjbn196Tu1ki/Fyql6pUKE5F9tfo5KyXiJDwC9heYdF26cunkk3Xy5TopTUwIn76 Wdmgc1+NwhF2hk6tQ3RkSw4vYl94YHvggVgYHj+xzQzPtmGGH5Mlpo8gWSJZRzMDhf8D FODhC1IWl3cQMiMsxkxUZp2YQzDsV7puMqpQhIH67TOdvA9ezsEHawdH/Z5W4bKWvx4Q IdrwyGLhYnKnwoS/fXQATYtuPgzgGrZU3CG/w4yGCBEj5rrdVASENG38vVI2mfgDE6yp +5tYm6Kg4AkowOK0uduRxsKAKRHVBg/3Ytd+erw5fLYtwVw+s9zc/Ooy3DSN04i4vIhd NjBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dxDodSw7; 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-175733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175733-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43df54b4ba7si34602411cf.174.2024.05.10.05.01.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dxDodSw7; 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-175733-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175733-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B8E071C210D6 for ; Fri, 10 May 2024 12:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EBDE17279C; Fri, 10 May 2024 11:59:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dxDodSw7" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 907E1171E41 for ; Fri, 10 May 2024 11:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342388; cv=none; b=ndhOIasKj8hPxqSSBRQxZOccctqzpqw5e0aLgDZPfzp5TsTbj46eafS5clZwZIRyton8vB5WiEPm53xanfr5pqlnwCJ248uPoJvXfwR2O/U6xYtnjqiaVqiUcaS9oBTSCZZjCrMkRXQPyCn++klSCxM4t/q42/uJIDmofpyBqAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342388; c=relaxed/simple; bh=0JBicso3SWIZ4mAFQpIvwNHhSZpkk4EO9ADInwiGK+w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dY1pyHKT+NqF80/xh36H8x6NJYzY9IeWfrJYnGtu9l6l0qgXi8EqtfD2gFj/H8lsR8keA2qTh9ZTgO9R3WWCrxXq2rX1CprrL3EYp0Ibzqxv38q+oD1tAtJVeUxLsLszk57QKWyw9sVicNRgkKs5Wm4uF3AiS5nGCwBUs+nQdTc= 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=dxDodSw7; arc=none smtp.client-ip=209.85.218.41 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-ej1-f41.google.com with SMTP id a640c23a62f3a-a5a157a1cd1so479317166b.0 for ; Fri, 10 May 2024 04:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715342385; x=1715947185; 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=Xus5xrFsxqYjPmZuFNjHFFx4ZVK0BGErQ8h6vfpBHIE=; b=dxDodSw7ieufgc3s6gzKTYb3Qzxk4D7BiZqGB/94+xU13ifRNT7xtpCT82srbCzg2p +abiyjn6oh4/N3Xgdto5wQ0IAPtpQlL1NlBor5ZIozBVIUV1s9yssiB4xn06cAzj4IhP LX97PQ9LqyFhrh6SGPpsZr24dZ9eW0mQpdBPdMKWhxzRseL701awrPeP00BLSKVs5fA1 h71ny6So1NLb6xu/ad8wHIfv938BBs2c6GSOR0PioxBJ5NIve3Lq78jqzBdiWttjAeZv aJmbx3JNaDhswzoxGwwIw+5KzlalTnfBb67rNpsUYK9qJ6SeeUOCiqO4JO/3bhMZgGie 2+HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715342385; x=1715947185; 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=Xus5xrFsxqYjPmZuFNjHFFx4ZVK0BGErQ8h6vfpBHIE=; b=aYyDFA71p/WTQMbq65ZNi4lTptAfwKkDxdP61woDRpZaeU6sYBZcaJwXYHhG6RcyZB +qAlsRk7xh7keV56jrxLGaBMPSb8bjP0h7x5YY/W7zU4XdpHlkiDHDbBosIE+8KAsGlZ 09bs/wWvjPbvEy0zjmR+Faz8mssGvLQmw5erxPZQPX4bEWcUkDmL2BtjSTj9dHYf6ixy UXxS8mvD2DSKZ/0OxqvpKo1d+8of8P6MbPOP8fMUTJsf0+h9pa28vfM2+W1sVxl2sY0T uwFXGgK8IQxbXDAfXaxjw3DYTjo/e5Kc/3qeKY3jmBLGc8dwx+JZsKlBiKD/BTkRsAvA 23gg== X-Forwarded-Encrypted: i=1; AJvYcCUhdZC4D2X0V605Wo50rpMc7DUzmzZ1gcHfXBTAestGTh530JC4kdoNuKYPkXUONPz17CY7BSclQiaHC/LM29ygqCxa3clmzgh0R0jH X-Gm-Message-State: AOJu0YyryoUZ70fqrVanMuL7f41gsIScTmyYElqoa2CbkEuSxF11CsGv yxkkvQxvhkMkQyZoUFkaYnp0CAuwjpQv89qMWzm8smC73obkvYCT9gRWnMZOelU= X-Received: by 2002:a17:906:f6da:b0:a59:a97b:5aff with SMTP id a640c23a62f3a-a5a2d680c8fmr161864366b.73.1715342385122; Fri, 10 May 2024 04:59:45 -0700 (PDT) Received: from [127.0.1.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c7df7sm176795666b.111.2024.05.10.04.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 04:59:44 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 13:59:31 +0200 Subject: [PATCH v2 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: <20240510-topic-msm-polling-cleanup-v2-8-436ca4218da2@linaro.org> References: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> In-Reply-To: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev 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 | 14 -------------- arch/arm64/boot/dts/qcom/pm8994.dtsi | 1 - 2 files changed, 15 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8d2cb6f41095..4be294f9bc40 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3654,7 +3654,6 @@ sound: sound { thermal-zones { cpu0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 3>; @@ -3675,7 +3674,6 @@ cpu0_crit: cpu-crit { cpu1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 5>; @@ -3696,7 +3694,6 @@ cpu1_crit: cpu-crit { cpu2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 8>; @@ -3717,7 +3714,6 @@ cpu2_crit: cpu-crit { cpu3-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 10>; @@ -3738,7 +3734,6 @@ cpu3_crit: cpu-crit { gpu-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 6>; @@ -3760,7 +3755,6 @@ map0 { gpu-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 7>; @@ -3782,7 +3776,6 @@ map0 { m4m-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 1>; @@ -3797,7 +3790,6 @@ m4m_alert0: trip-point0 { l3-or-venus-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 2>; @@ -3812,7 +3804,6 @@ l3_or_venus_alert0: trip-point0 { cluster0-l2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 7>; @@ -3827,7 +3818,6 @@ cluster0_l2_alert0: trip-point0 { cluster1-l2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 12>; @@ -3842,7 +3832,6 @@ cluster1_l2_alert0: trip-point0 { camera-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 1>; @@ -3857,7 +3846,6 @@ camera_alert0: trip-point0 { q6-dsp-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 2>; @@ -3872,7 +3860,6 @@ q6_dsp_alert0: trip-point0 { mem-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 3>; @@ -3887,7 +3874,6 @@ mem_alert0: trip-point0 { modemtx-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 4>; diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index d44a95caf04a..353e4a6bd088 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -8,7 +8,6 @@ / { thermal-zones { pm8994-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&pm8994_temp>; -- 2.40.1