From nobody Tue Feb 10 07:44:39 2026 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.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 6517917994F for ; Fri, 10 May 2024 12:00:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342402; cv=none; b=AocrkrUziu70aWQuharkZe8VsZ055FkEHa1UBKW74GE3q5pAetFxYr8vImAQzSsR8OP9fVFkTqErkATj7on0jXKop924sXMBSIowjOJfBz+fYlzjWJSA9oU/psrFku23zZ+fdUyKq9zieADY3y2oCBfWGuu6gF5+oycDtdUYNEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342402; c=relaxed/simple; bh=LbkcqFLxyCx0rD4FKgnNllYg8feOnnpLUrEoZBHO/00=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I0nYKagqgQWLfbzIZqoUuVNU+tia1m6ib8jMB1P4Uw0rbnYEBplHNFhuY4bIYFLTPVlLCYKp9Q8Ad0Qh3F/M8eCqq63/4LNyyQKlqBuCN9lumIdjUF0RD6U+ev6xaJ8eYQbOlSxlqzNGx/7hQsKPVB97TjbiFiym51pBcdOWz6E= 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=uHgRcLCd; arc=none smtp.client-ip=209.85.218.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uHgRcLCd" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a59b58fe083so458012466b.0 for ; Fri, 10 May 2024 05:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715342399; x=1715947199; 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=ga0DcjRqkd5lWMS6Y4aaN9jfdq6ougYfGRhj8z88OdY=; b=uHgRcLCd7greQ4jS1lm04NkTZ06rnPhdhuXKpJEuy0Cw+hnG4dnfDA7POMBd/x8sG6 qcnQp7y8lHcL3Vo+COMmpJzmhsd2AeWLSmBQf1GINqA8hMP8EAEQfQT2xPlP6J8deMtt mOP+LmS3d/pRtHyXkGB8spPH1c7ySZFsjHBO7PsaOj9iC7jLVZUU4vUiRyMJQaCwGCi0 NaHi140I3yXa+nVfrkJaPTsasSU9SriRRb8EEnkV1gjGcR/NY/ES+P7uEtdWuxur4/+7 YfvJL/nVy8CaV0dqIke1rVZEdKRyzoUfQ5xczT4Mofx0yb691pVFRiyaDPP6hgrlPagr ZJww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715342399; x=1715947199; 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=ga0DcjRqkd5lWMS6Y4aaN9jfdq6ougYfGRhj8z88OdY=; b=YCVDqUlWDQBEYmAG7Eg2KEfftuTSXATeIQUDLHMxc+EN9Lz7a7kgYjNXcdjteBiW14 EwSt/m/dBbd8jQh+VXQNEENKRwt+LtWyeRVliJ0KUtdPKDhFW920Y6YqZQhAb4G+XMOY sXn88SPrFmUHDSMfyF8+AriAOndpSNUUewXqGrexcF+8IMtGz07Q1RgycH+ONZtUwg/p nX+Qj6JJ9ekI16Vi0xnwRPxgw+yNQBHBE9UjVc5Eys3krP6bfi13fsvMhxN8SWPC6cUD yZ05StubBFgi+/4l9C1hVN9lvS206Pcm0Oxx7RIncbpu7jhjkFrY9IPUpWLbka1WOeXH mAKg== X-Forwarded-Encrypted: i=1; AJvYcCWpeXVuWa1ZcIG187L/g2y/wVgPEcBNO4Gf6aCEtSJHixBIn64BWOEJk2d/wbhMWPyx4XNEdMWLtwba9Hc4gZrVivnBKuUY6SudT1mA X-Gm-Message-State: AOJu0YwcyyWKJZSDe40fsytARsBLYd+LXTBUhwtNa1zFC68MOWlhE2HB X2T95n1pbcsmDYPjb+ZwZzt/LL2ccBxSEYDyz6Kwwj63A3OZvY0y/xAwKVMcD5Q= X-Google-Smtp-Source: AGHT+IEQnNBfsozlbshlb9P42pEUe4bZxBKfID6D8ByV05PLQtqc3vvhFVRorAIiNy/JZWi4E3ceuw== X-Received: by 2002:a17:906:3155:b0:a59:9e01:e784 with SMTP id a640c23a62f3a-a5a2d53ad83mr159250766b.5.1715342398879; Fri, 10 May 2024 04:59:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 04:59:58 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 13:59:41 +0200 Subject: [PATCH v2 18/31] arm64: dts: qcom: sc8180x-*: 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: <20240510-topic-msm-polling-cleanup-v2-18-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/sc8180x-pmics.dtsi | 2 -- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 26 -------------------------- 2 files changed, 28 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi b/arch/arm64/boot/= dts/qcom/sc8180x-pmics.dtsi index ddc84282f142..1c6f12fafe1d 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi @@ -13,7 +13,6 @@ / { thermal-zones { pmc8180-thermal { polling-delay-passive =3D <100>; - polling-delay =3D <0>; =20 thermal-sensors =3D <&pmc8180_temp>; =20 @@ -40,7 +39,6 @@ trip2 { =20 pmc8180c-thermal { polling-delay-passive =3D <100>; - polling-delay =3D <0>; =20 thermal-sensors =3D <&pmc8180c_temp>; =20 diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qc= om/sc8180x.dtsi index 067712310560..aedf2e7db038 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -3771,7 +3771,6 @@ wifi: wifi@18800000 { thermal-zones { cpu0-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 1>; =20 @@ -3786,7 +3785,6 @@ cpu-crit { =20 cpu1-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 2>; =20 @@ -3801,7 +3799,6 @@ cpu-crit { =20 cpu2-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 3>; =20 @@ -3816,7 +3813,6 @@ cpu-crit { =20 cpu3-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 4>; =20 @@ -3831,7 +3827,6 @@ cpu-crit { =20 cpu4-top-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 7>; =20 @@ -3846,7 +3841,6 @@ cpu-crit { =20 cpu5-top-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 8>; =20 @@ -3861,7 +3855,6 @@ cpu-crit { =20 cpu6-top-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 9>; =20 @@ -3876,7 +3869,6 @@ cpu-crit { =20 cpu7-top-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 10>; =20 @@ -3891,7 +3883,6 @@ cpu-crit { =20 cpu4-bottom-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 11>; =20 @@ -3906,7 +3897,6 @@ cpu-crit { =20 cpu5-bottom-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 12>; =20 @@ -3921,7 +3911,6 @@ cpu-crit { =20 cpu6-bottom-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 13>; =20 @@ -3936,7 +3925,6 @@ cpu-crit { =20 cpu7-bottom-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 14>; =20 @@ -3951,7 +3939,6 @@ cpu-crit { =20 aoss0-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 0>; =20 @@ -3966,7 +3953,6 @@ trip-point0 { =20 cluster0-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 5>; =20 @@ -3981,7 +3967,6 @@ cluster-crit { =20 cluster1-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 6>; =20 @@ -3996,7 +3981,6 @@ cluster-crit { =20 gpu-top-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens0 15>; =20 @@ -4018,7 +4002,6 @@ gpu_top_alert0: trip-point0 { =20 aoss1-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 0>; =20 @@ -4033,7 +4016,6 @@ trip-point0 { =20 wlan-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 1>; =20 @@ -4048,7 +4030,6 @@ trip-point0 { =20 video-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 2>; =20 @@ -4063,7 +4044,6 @@ trip-point0 { =20 mem-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 3>; =20 @@ -4078,7 +4058,6 @@ trip-point0 { =20 q6-hvx-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 4>; =20 @@ -4093,7 +4072,6 @@ trip-point0 { =20 camera-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 5>; =20 @@ -4108,7 +4086,6 @@ trip-point0 { =20 compute-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 6>; =20 @@ -4123,7 +4100,6 @@ trip-point0 { =20 mdm-dsp-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 7>; =20 @@ -4138,7 +4114,6 @@ trip-point0 { =20 npu-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 8>; =20 @@ -4153,7 +4128,6 @@ trip-point0 { =20 gpu-bottom-thermal { polling-delay-passive =3D <250>; - polling-delay =3D <1000>; =20 thermal-sensors =3D <&tsens1 11>; =20 --=20 2.40.1