From nobody Mon Feb 9 16:51:20 2026 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (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 86D28126F02 for ; Tue, 19 Mar 2024 16:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864852; cv=none; b=aijJ4zhfkR5nRQG+qeZqbzhQTPyIB1RI4UHcdsENtAV8rBmYCQdicEw60dH3Fh0546+lWyskI1NX5ysSec7+kyULEe72X0L8Mh1iLy+pCnmIIXB/ZIUQNhNyH2CPYlE2VutuOl3gY5gcAv2sif1lArXRadSwvQ4+sKWlLHEXe3I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864852; c=relaxed/simple; bh=bZwzKCPFP36K4ma9bczD6CPYa7x8uP/DtfKIjWU2Fc0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dfdZ9ATkONO1h/6/MIVrVHsZMYi9SU2DzXREoAZ3McNKmenjdrqdBBlI54UjiYj332kLGmP+I4g8r5ncDHefqfd5cqiJWBrF5SkZTdtu4EtjfT973Axknth6c6l1aNGtJ2TiiLMY1u+btHcQ7M//98Sg4E6kWmGOZWMByYuP/k4= 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=F/uHbJAK; arc=none smtp.client-ip=209.85.167.45 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="F/uHbJAK" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-514ba4e5640so1070031e87.1 for ; Tue, 19 Mar 2024 09:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864847; x=1711469647; 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=ts1LMNcNLj/PrvfTQKo0ihyTi9/sKmL5uu9MIAZoRlc=; b=F/uHbJAKOWiaCj0CoG540/mTxtu4KvBMGtQV13wP6+mHZlBKfbv9TfBBjQQOH02Bnu 2hW+h35u5Q+gO641ennKZ4fUydyKh6N5akriU1Adp76q7BTvbxc3PcIJ9mBePhbt/8jb 6fyeeWrHPerT46gG0q/50lFSCSXHeERVG0z9v3wRIwnBu9JfRbgkJ4pTKk9ikj90HrDo df3d9erh6yUffQnRMj9Rn2F7QIwqNCoKtEDW97xb4+iU+67KmVt6UwJi70hGwGeBGm1S zGdnN92wjF2FveS0zsoW5HzSYyCbchIKlUGpuQdnwThfaLtg9VBo0S2ch+YNNOytQAjT NjHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864847; x=1711469647; 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=ts1LMNcNLj/PrvfTQKo0ihyTi9/sKmL5uu9MIAZoRlc=; b=DrcdA061tiPOyjClBMgDeRL3rTkMCuvbvUCb3I4gxKR3Q+El755aX7CPdg8PH/POdr p+5MJMk3YQvjq+eWU8YAvgNCFc6N/8jGBwRkDEiCOo1vfsp+nYXZT2CKCH5NnyjOB4hr qOsHT7bIOliKq1CT8r+TgL3C1b6ApjBVh+LmziY4SXDeRIfPSfdTZr4oPB13h4392Db7 594SsDS7X+74U4eLkcXWPeki1dyF2TUh+FVnSG6CPd8e+SbdA3P05iPuQrp1AglU5zv9 fMmlQD6tEt8yRlkn++hLcVI07F/km3WSvGH1CHxRFfP4trqS89/2cuaUMuDPg+ViZhN7 z/xA== X-Forwarded-Encrypted: i=1; AJvYcCUm/fH3/RK+DtE7GmKKmsXk6ltnyAB0RdVQKATkCjd77KqgxbgBhNrbmb9Zq8VBX1c7UvxvV7qWPgx0Fq5sZ+MRTnGT6AwYFHON+5gF X-Gm-Message-State: AOJu0Yw57fvp2OqOkPTESXb8g6aE9tg9TEXrRkol9a23+75NvOfbe0/x cx+ZHmQ2hVlRMab3BJhtKKyijMz/G68pPShIf1VhIknJbb1addwF6n293eVYTzw= X-Google-Smtp-Source: AGHT+IHJOtXiU8caDiHy8B47iUqFn8AMRgkM8k6dim/xM5Gp/GQTTCOJODaZ7aXGWjZ0REwEYj0JAg== X-Received: by 2002:a19:ca59:0:b0:513:d4fb:fa76 with SMTP id h25-20020a19ca59000000b00513d4fbfa76mr1229302lfj.3.1710864847623; Tue, 19 Mar 2024 09:14:07 -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.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:07 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:58 +0100 Subject: [PATCH 28/31] arm64: dts: qcom: sm8350-*: 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: <20240319-topic-msm-polling-cleanup-v1-28-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/pm8350.dtsi | 2 - arch/arm64/boot/dts/qcom/pm8350b.dtsi | 2 - arch/arm64/boot/dts/qcom/pm8350c.dtsi | 2 - arch/arm64/boot/dts/qcom/pmr735a.dtsi | 2 - arch/arm64/boot/dts/qcom/pmr735b.dtsi | 2 - arch/arm64/boot/dts/qcom/sm8350.dtsi | 87 -------------------------------= ---- 6 files changed, 97 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qco= m/pm8350.dtsi index 9ed9ba23e81e..20cd4d28b46b 100644 --- a/arch/arm64/boot/dts/qcom/pm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pm8350_thermal: pm8350-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8350b.dtsi b/arch/arm64/boot/dts/qc= om/pm8350b.dtsi index 05c105898892..058f7421ea49 100644 --- a/arch/arm64/boot/dts/qcom/pm8350b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350b.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pm8350b_thermal: pm8350b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qc= om/pm8350c.dtsi index aa74e21fe0dc..bc5555b14ca7 100644 --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -47,8 +47,6 @@ pm8350c_pwm: pwm { / { thermal-zones { pm8350c_thermal: pm8350c-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350c_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735a.dtsi b/arch/arm64/boot/dts/qc= om/pmr735a.dtsi index febda50779f9..809bee0e164f 100644 --- a/arch/arm64/boot/dts/qcom/pmr735a.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735a.dtsi @@ -35,8 +35,6 @@ pmr735a_gpios: gpio@8800 { / { thermal-zones { pmr735a_thermal: pmr735a-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmr735a_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qc= om/pmr735b.dtsi index f7473e247322..9a71b77c7fc4 100644 --- a/arch/arm64/boot/dts/qcom/pmr735b.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pmr735b_thermal: pmr735b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmr735b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qco= m/sm8350.dtsi index a5e7dbbd8c6c..cf9ed53a834c 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -3638,9 +3638,6 @@ compute-cb@8 { =20 thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -3682,9 +3679,6 @@ map1 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -3726,9 +3720,6 @@ map1 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -3770,9 +3761,6 @@ map1 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -3814,9 +3802,6 @@ map1 { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3858,9 +3843,6 @@ map1 { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3902,9 +3884,6 @@ map1 { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -3946,9 +3925,6 @@ map1 { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -3990,9 +3966,6 @@ map1 { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4034,9 +4007,6 @@ map1 { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4078,9 +4048,6 @@ map1 { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4122,9 +4089,6 @@ map1 { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -4166,9 +4130,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4181,9 +4142,6 @@ aoss0_alert0: trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -4201,9 +4159,6 @@ cluster0_crit: cluster0-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -4221,9 +4176,6 @@ cluster1_crit: cluster1-crit { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -4236,9 +4188,6 @@ aoss1_alert0: trip-point0 { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 cooling-maps { @@ -4258,9 +4207,6 @@ gpu_top_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 cooling-maps { @@ -4280,9 +4226,6 @@ gpu_bottom_alert0: trip-point0 { }; =20 nspss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -4295,9 +4238,6 @@ nspss1_alert0: trip-point0 { }; =20 nspss2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -4310,9 +4250,6 @@ nspss2_alert0: trip-point0 { }; =20 nspss3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -4325,9 +4262,6 @@ nspss3_alert0: trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -4340,9 +4274,6 @@ video_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -4355,9 +4286,6 @@ mem_alert0: trip-point0 { }; =20 modem1-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -4370,9 +4298,6 @@ modem1_alert0: trip-point0 { }; =20 modem2-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -4385,9 +4310,6 @@ modem2_alert0: trip-point0 { }; =20 modem3-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -4400,9 +4322,6 @@ modem3_alert0: trip-point0 { }; =20 modem4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -4415,9 +4334,6 @@ modem4_alert0: trip-point0 { }; =20 camera-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -4430,9 +4346,6 @@ camera1_alert0: trip-point0 { }; =20 cam-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 13>; =20 trips { --=20 2.40.1