Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp444845lqo; Fri, 10 May 2024 05:04:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4U7Fq2RW3/S2M5gCsvvM5GvnnBjTYQFW5BUn489VTMFQGqvXDJbXRMXZ1WVCo1u7FhHKZQ/N5BZFp690ITwq2UfMeOnjkigxj2owLOg== X-Google-Smtp-Source: AGHT+IH76HEA5Bb1nGF5ojq5IqVsafOHfa5w+Wcso+uLxHOYSdlUra26crAG5ISMZgCRohvXP6JU X-Received: by 2002:a05:6a20:1013:b0:1ac:c8dc:3e5e with SMTP id adf61e73a8af0-1afde0cd74emr2462798637.24.1715342645972; Fri, 10 May 2024 05:04:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715342645; cv=pass; d=google.com; s=arc-20160816; b=BMAWbHwnshOjhEuY+s9ZL+Jf4kWPsKaUe3Lv+KNY8d25qOj/VYLt4Ju0ec7SsnqdgW /y9yheS1ytYW5N4jUIOf1ZVOLv5Hg/DfRe+HsmHYlBmZSnwY+Fgz2f5bUoCOTyas2dOb SWYvkeNn1r8ztk+oJGdVyG9w0bz/A3NqAULJufQX6lNS/dgWuGBwffCR1nT4BJf9+5En ZXs9XhVUMt2PFi/IQG0o7IisAEjvlC10PNp1gamaNiHKlI/6e53C6s9KAn7AKD67+gYE OyNprXk6M9r7u+gEEEqwMTQAAPL5CCnw307JAm7D02AfQR8AD/Hh0hUfEUIy2rYq6VcM Yhpw== 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=ga0DcjRqkd5lWMS6Y4aaN9jfdq6ougYfGRhj8z88OdY=; fh=pnkVVJFI4/hbrZauqrMCOUrvaHMR3Sb5mhsi2ltNmxw=; b=LtpxRjYisSMXi11wD7UYOAb4xDNbk+n2aCpxzP3HluZrd99ffhpcuoaXXQIhGyKdVE UnFvDEzrboqsh7LHzNKvJjEi/2ev8plEJZYnw6BRsOtSlL9KSVfKf/xGOeE6AccYa0il YJg/2aBf1ql5wynVNe0W6Tvt3XzLtBQoMx8jF/KW5UUAhCUvKps7+j1CXFKkCCDCxut4 akPF1p7PB++S9dL5yO0/pweoa+CpqPwJJ60NOtGsyxgRrVSM5KH44IRpno2r6VbqzVhj waGhn+ptS/bgmTydDcg9JBoCumwo2JkzG+5UclLlkjYcOLFEP+u6pBpfli/VZt5np6B2 bPWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uHgRcLCd; 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-175743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175743-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628869502si5411590a91.10.2024.05.10.05.04.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uHgRcLCd; 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-175743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175743-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 D0BDE28D73A for ; Fri, 10 May 2024 12:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B07617B4FF; Fri, 10 May 2024 12:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uHgRcLCd" 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 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-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: 7bit 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 = <100>; - polling-delay = <0>; thermal-sensors = <&pmc8180_temp>; @@ -40,7 +39,6 @@ trip2 { pmc8180c-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pmc8180c_temp>; diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/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 = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 1>; @@ -3786,7 +3785,6 @@ cpu-crit { cpu1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 2>; @@ -3801,7 +3799,6 @@ cpu-crit { cpu2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 3>; @@ -3816,7 +3813,6 @@ cpu-crit { cpu3-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 4>; @@ -3831,7 +3827,6 @@ cpu-crit { cpu4-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 7>; @@ -3846,7 +3841,6 @@ cpu-crit { cpu5-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 8>; @@ -3861,7 +3855,6 @@ cpu-crit { cpu6-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 9>; @@ -3876,7 +3869,6 @@ cpu-crit { cpu7-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 10>; @@ -3891,7 +3883,6 @@ cpu-crit { cpu4-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 11>; @@ -3906,7 +3897,6 @@ cpu-crit { cpu5-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 12>; @@ -3921,7 +3911,6 @@ cpu-crit { cpu6-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 13>; @@ -3936,7 +3925,6 @@ cpu-crit { cpu7-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 14>; @@ -3951,7 +3939,6 @@ cpu-crit { aoss0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 0>; @@ -3966,7 +3953,6 @@ trip-point0 { cluster0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 5>; @@ -3981,7 +3967,6 @@ cluster-crit { cluster1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 6>; @@ -3996,7 +3981,6 @@ cluster-crit { gpu-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 15>; @@ -4018,7 +4002,6 @@ gpu_top_alert0: trip-point0 { aoss1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 0>; @@ -4033,7 +4016,6 @@ trip-point0 { wlan-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 1>; @@ -4048,7 +4030,6 @@ trip-point0 { video-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 2>; @@ -4063,7 +4044,6 @@ trip-point0 { mem-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 3>; @@ -4078,7 +4058,6 @@ trip-point0 { q6-hvx-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 4>; @@ -4093,7 +4072,6 @@ trip-point0 { camera-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 5>; @@ -4108,7 +4086,6 @@ trip-point0 { compute-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 6>; @@ -4123,7 +4100,6 @@ trip-point0 { mdm-dsp-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 7>; @@ -4138,7 +4114,6 @@ trip-point0 { npu-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 8>; @@ -4153,7 +4128,6 @@ trip-point0 { gpu-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 11>; -- 2.40.1