From patchwork Tue Mar 19 16:13:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781175 Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 740A081AA7 for ; Tue, 19 Mar 2024 16:13:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864824; cv=none; b=E/R1LSBK/pqetq/dPqMFZ7DKl/M2+TGAJjAGnlkXojLrO4SHn03+XAKfKharcjpQNraegV4RGL7+EL6pIdpv610iIqAJzg7krOE45tpFVF9aJ4Qa3pxM4gYNIelzhfDSNsL2bNiUgDckcObWQFtrs5XsROChFTsTuV2aRGKOkZk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864824; c=relaxed/simple; bh=k8lnyjg65wL5etJQYY5aU0Vd22mGTE1lhYSWDl+Scgc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RNI0Qgf/QgKLIbFEOs3a4Qrzr5nR8dSx6aHYSOUA3qRXKbuWz6Ouq6ttUEXo6VWlnG1/T5K5vFULUfj/YaZxecDWaNe8aMLJbtt80VsANnvsd4jIi/YTyk0AILv6qaat736xP0GaG8943w62NwvUk3v69P8yi6fcP+BhNMvf1qQ= 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=brvYlci3; arc=none smtp.client-ip=209.85.167.48 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="brvYlci3" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-5148ea935b8so2193210e87.1 for ; Tue, 19 Mar 2024 09:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864820; x=1711469620; 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=5OicwjZjP5RidZKnqT+PRFlgcMM+RvFHnxHBQjXeoNE=; b=brvYlci3zCiHWMpu6XhPUSTyRLJ59r8BqwJK3r0Gn/QHd97MeHN/hBIk4pE4heAgRi zYSq/d6mc3YwVvzkOVkjLIUnU8GKxpuVLcj4MBYvqazazuwj+vWUkkpXr/h90uRhRqYa iJ3bLNy8EQf1pFsqju1ugwfQzP1aEUamFkdpyEgAGiSmnOJgq7BczFLJIdLXlpL/Y9lP qDPhT6tfmmf32SKgnfSqdoXAZkr8+LMW07iJ3Y0IXsRAM8vT6zzCFmbQIrbRSFMYH7jr E/8O+rl2Zdp5TyrquUKrYzZdI6zHrew7UeY54/Sv33Bb1L5CbtppFqNdukMoFK0aXxbO RpxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864820; x=1711469620; 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=5OicwjZjP5RidZKnqT+PRFlgcMM+RvFHnxHBQjXeoNE=; b=k2ab/p48T39cFIsdKCFvC76RUJ+BzanOnhYlEdbL8HufNLU86ayRaiWeJ5xsbcQtU4 CsThTMqeKJYSa3bk94BmTHVrAEjJyUPxiI0GImHzpglfQCQa9WizVTh1evv4d1wV+VFt yWHz96sVXqKaxnOH9wGBDmQDdqTyHY21g1Z+Xjh09MqArw5iMq6jQGqqrre0b4Aso2M1 8yaeLGeeg3VFCNJpHBGtsQSb/JivNjh1k8RKAWAPlGtDwcmqxCdogQ/hTBz1SF/9vssU Kv6wd00ivp/aOmjkMtaon8BmWiUyPRuym0kSHAsIhoW1A4weDHDreq5ZDcAqsF/T3J1P ewwA== X-Gm-Message-State: AOJu0YyziYGMcMqL3C+14fTIom4nsATwU083LOqsXfHdDZj5/OGK1R6l aSP4fHYJWiF2VBKFHGXiYxSmTUEzJHzX44AwisMPV2Ff64GPPu5Wz36KekvP3M0= X-Google-Smtp-Source: AGHT+IGV+ykXLPbUP4WJZLNYwONutSZZLeV4SkkuFmnHc91t7astVEHOtCiyymAmSNisXXVQDSxKmQ== X-Received: by 2002:a05:6512:360d:b0:513:8a39:e0d9 with SMTP id f13-20020a056512360d00b005138a39e0d9mr2067139lfs.64.1710864819662; Tue, 19 Mar 2024 09:13:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:39 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:31 +0100 Subject: [PATCH 01/31] arm64: dts: qcom: ipq6018-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-1-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/ipq6018.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index 4e29adea570a..cd0ee133964d 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -912,8 +912,6 @@ pcie0: pcie@20000000 { thermal-zones { nss-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 4>; trips { @@ -926,8 +924,6 @@ nss-top-critical { }; nss-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 5>; trips { @@ -940,8 +936,6 @@ nss-critical { }; wcss-phya0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 7>; trips { @@ -954,8 +948,6 @@ wcss-phya0-critical { }; wcss-phya1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 8>; trips { @@ -968,8 +960,6 @@ wcss-phya1-critical { }; cpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 13>; trips { @@ -998,8 +988,6 @@ map0 { }; lpass-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 14>; trips { @@ -1012,8 +1000,6 @@ lpass-critical { }; ddrss-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens 15>; trips { From patchwork Tue Mar 19 16:13:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781174 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 87916823C3 for ; Tue, 19 Mar 2024 16:13:44 +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=1710864826; cv=none; b=rL5tvDZmmdx1FZ0q+3aprER2bXT/tikTf+B9tt/OuZVVetqFk3NtWVOjeLgSBHbgquzH4FIVmh+1uvDGt/fbb5Kw0B7IuQUcLuPY/q78zA1DfnTDGxahqXEamHy4YjT2S//LeFdewI1cb2zBKuakjFK3C67gK09VqUb/K91udJk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864826; c=relaxed/simple; bh=czTRD0cUdTrGZWHnHZMrrONd+Cum7+20Z5L2jGpatJE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RMtv1n1imVoLxSXMP7tXYS8ue5q9vxD4qHyisyULKgjykq/vUPIkTicc2EXS9vue5Yk9dVJzjS5BdtStGaG3cKP+2GRTleCO4gAf1YcOK/R4Fq3fP+MiPhJZDnUOTLyi9KjNXlziGuoxhkIVBJms64wUCLQNADFUDwcIXglz06I= 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=E9JtSYDv; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="E9JtSYDv" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-513a08f2263so5940758e87.3 for ; Tue, 19 Mar 2024 09:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864823; x=1711469623; 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=ZA0m8KVEeSJZj3NTvXTSBRFxE/GChVc+fNT8dQ6LCt0=; b=E9JtSYDvHTNxtnJHqThOEiNARbA7uLC9iJNXJKDsVEvJfpwCGWV3anU8HSQyFkiBBT 17+P6xjyf/MzIt8UevUNY2HJeozH1S9ZQwIrE97PVBB6FZ3TIYHP0BnSK20ZZe7f2shc 4k50dGErFz8tnN/l+Bg7YK82wceWo4704qiuVdEGr9nImZlovIibBYxlcikD3K7BlyWz uLkoes5pfLdffeU1OdsiyoMTYR8j4UkBToUYEoOKIfFsS2pDQj2QouzbepO0wkq/lkU5 J3puO5zijGBKx/GbLJwl6Yp9y2TdeORF8P8pwq1FXSLjx4iCdrmxTZKy/fajVpjVv8Pl 2W5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864823; x=1711469623; 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=ZA0m8KVEeSJZj3NTvXTSBRFxE/GChVc+fNT8dQ6LCt0=; b=jaVUs3AC99ShL9/BPSnFdABXMuuuvu6PnEwDSLPh01bHkVhglHkwM5PVWhBOIGN2SG tGxY9gm/K9JifsyRlF6B0KWRZ91y2bWwRsqqT/fxiTfO+tgHy58MkxtSH3WkX/I+JNTJ LRRGszmM8BEq8jQ0lt3NZ8Wa5pN6YMZoOzMu/PFX+7RLWEdvCGLw8HoD1aachaFvGydL MWxdlJSR9ZfCPAMQynRKSURmRfBrttGSOd34Jrlr3JskGPPsRwTOmZIq6Zr+Linvuez8 ab8Ni3VlBkv0Nmm2qNutPQzPw/7GJb9zCkXxyO/PF492/q8534X+g+dG+xL+vuktcCwn 5yHA== X-Gm-Message-State: AOJu0YzKOW89be2Ma2BJnoGJ8BQYuZDweASMl2symrD9bfFXoiTlKCcz 0fycjAStDm5QViw4SiS3DyQb/NI3A8oA+JkhGb6lCm1QTd03pKtegvC2tqsTGnI= X-Google-Smtp-Source: AGHT+IEnLqsL+mnvRm5BhPySVvFgWyrF3dVRV3cHETxw8yRb1MFx+VO3GtW1/TFf5InmJGNaXfieEQ== X-Received: by 2002:a19:5e12:0:b0:513:cd70:8d94 with SMTP id s18-20020a195e12000000b00513cd708d94mr2295022lfb.14.1710864822862; Tue, 19 Mar 2024 09:13:42 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:42 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:34 +0100 Subject: [PATCH 04/31] arm64: dts: qcom: msm8916-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-4-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/msm8916.dtsi | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index cedff4166bfb..e95800f8258f 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -2625,9 +2625,6 @@ cpu3_saw: power-manager@b0b9000 { thermal-zones { cpu0-1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -2655,9 +2652,6 @@ map0 { }; cpu2-3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -2685,9 +2679,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; cooling-maps { @@ -2712,9 +2703,6 @@ gpu_crit: gpu-crit { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { @@ -2727,9 +2715,6 @@ cam_alert0: trip-point0 { }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { From patchwork Tue Mar 19 16:13:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781173 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 C7A8082C76 for ; Tue, 19 Mar 2024 16:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864828; cv=none; b=mTi8IiLSSKUVGSe89RAwnfK6HW+99zKVs4K/9epbQOet/vRU3Q7avvJx0iwcwOzo4msYCUpDT3XbkQANuhw+xdSZRDKEKKttMyTdTOIhNPVwkY1B2w4SR6yOb2mN3i26PiUNPWguLK1qbAUFU4NAHdjn4AmDwDnMixWg/CosfoU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864828; c=relaxed/simple; bh=SfPqDJQhOWdHozWKeZBtjuPf0esW3AKFUGrf2WUgQEw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hD16r8TV5y3OUYDEMUEoqxVqo4489tpGvFUw4sOmp1oSuJ4LxaAuQDsYpJgYWVl/nmOFIrqYb94skbmR887FQ7glO1rW+lawTBVgzhT9koWKlJGbfhaosVqkK+4gr4kyFkBZAxsC3+00QBDxpCAYX/XN7LGBwdnFbi8+9vWYrJ4= 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=RLb3xpLj; arc=none smtp.client-ip=209.85.167.46 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="RLb3xpLj" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-512f892500cso6433766e87.3 for ; Tue, 19 Mar 2024 09:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864825; x=1711469625; 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=JE5DV75rtGU2KZG98kvu1+83FeCFnCvttAQ6DWMQmbM=; b=RLb3xpLj10O8rivS2nehc5aJxABoMCcaxrBEt+yFQTbBTu+rOwj2IK9vkR2cCy5Q7G 42IQOVu9CNA3Rbca7Rd2md6QSR6bYSdchJWhGiOVqBG4duqMT/3i+Q6IrzxQGOrPvX9s uhaO7KPNdQvtd4hSg7WBWoOC4mxJIVjMRr59tMQMVDTmqyCYt5TDHoaG2TF1gDwMpkWI AlSCdCqtNNUpje0hiRwaHG6tWEBCH+SW5d9flov19po6uo9gKmpeoYWqellUeGNYSqTz 1wplJZIzzPvzwMg/lOKvND9Ztg5REyADC3zPfFD3SeXjZ6OXKm71ZBjSJ1yipVAeNuE3 CpBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864825; x=1711469625; 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=JE5DV75rtGU2KZG98kvu1+83FeCFnCvttAQ6DWMQmbM=; b=IwARnaieAN/6/Vj/6kuUQ4GWEpbewTkyQ+syQIdqK9dUKoiw7a822DLtyrxzSTGuOL PK/twTSnGgqoMvDHFLGHdFq1VXFSgaj+Md6H84SjMAmnakmrVzwQHTSal8VmDLTLHOw3 rukyXKJAmeKwLKFdYrPMPY+z7Vbcl11UkPfpl1gm5TQb0GFut7B0V7WltXRJvLWv6THh 4Zly/CCXou3btDfdkXIrtcRDDyM0ES1QjeKMaGKCEEZtzp2ez3DUDgjO2CZ11nCBTfv/ Al9pz+Tmabn0yivxMrh45fJV+UYvPGACCWm6MWueMT8KZNMkxrNAoLAO/IOT9TBtBt/3 oCaw== X-Gm-Message-State: AOJu0YyBKkblZA8Qzw9LF965lL7MQazJz/SOPEtYYvOJz513PCI/kWVm Nd/iUqHWzijC76Uly/8bPm4AhhZw1zzAhWnE2kiZTugeh10/hfRmugmLOx0iJ6s= X-Google-Smtp-Source: AGHT+IFcyBzfaTP1g339erTfOUUblPYAamGEaifNUd5xLAOw6PtTY0a0M6q5/7zz74sfVo/yjEXkvQ== X-Received: by 2002:a19:6907:0:b0:514:b450:99b4 with SMTP id e7-20020a196907000000b00514b45099b4mr4007765lfc.65.1710864825102; Tue, 19 Mar 2024 09:13:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:44 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:36 +0100 Subject: [PATCH 06/31] arm64: dts: qcom: msm8953-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-6-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/msm8953.dtsi | 18 ------------------ arch/arm64/boot/dts/qcom/pm8953.dtsi | 3 --- 2 files changed, 21 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index f1011bb641c6..73e52cc54236 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -1953,8 +1953,6 @@ q6routing: routing { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 9>; trips { cpu0_alert: trip-point0 { @@ -1976,8 +1974,6 @@ map0 { }; }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 10>; trips { cpu1_alert: trip-point0 { @@ -1999,8 +1995,6 @@ map0 { }; }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 11>; trips { cpu2_alert: trip-point0 { @@ -2022,8 +2016,6 @@ map0 { }; }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 12>; trips { cpu3_alert: trip-point0 { @@ -2045,8 +2037,6 @@ map0 { }; }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 4>; trips { cpu4_alert: trip-point0 { @@ -2068,8 +2058,6 @@ map0 { }; }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 5>; trips { cpu5_alert: trip-point0 { @@ -2091,8 +2079,6 @@ map0 { }; }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 6>; trips { cpu6_alert: trip-point0 { @@ -2114,8 +2100,6 @@ map0 { }; }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 7>; trips { cpu7_alert: trip-point0 { @@ -2138,8 +2122,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 15>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm8953.dtsi b/arch/arm64/boot/dts/qcom/pm8953.dtsi index 1067e141be6c..64258505f9ba 100644 --- a/arch/arm64/boot/dts/qcom/pm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8953.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8953-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&pm8953_temp>; trips { From patchwork Tue Mar 19 16:13:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781172 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 C7CEA839E5 for ; Tue, 19 Mar 2024 16:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864830; cv=none; b=ff+2b1bKnOgGd8MZ2DDmCLDMNvrcLHFgPNtpiXlJJJ6XEvU9r1Shjt7BJyfsMSRzRcv7hvdBBYwNftYACflV/WwaVWsqq2hAgMDjnDp9PJ68uXhiOqRzF90Ovo5EBm3zRx8kSrSCiKyLFtqtGr7pvI6HeOvvlIdpR39vUPR7rcA= 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.42 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="cdmnIy1b" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513d212f818so6868208e87.2 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=pboTbxLbomUOn9i4sSBP4XGEcCy9LbxyBSowe2VSPnvRK0ZvyG+FDij7sOxij6pjDT RviAhoHOipG/ILzdGSAFctSLOC5nWmWBXZVHhq/zvZd34y/QP/xHfbQsB9GE0QvbFbNX nZD/EILFEpYP+uEWDwpI4l6GwQirPxQ/j9Obve9Jlgksjsm3FfBc232pg+6uVs1FMdfD 3VZQurPB3tHqkwGEWgLOyXkCY/mwfn+z4/40QfdW5uul7ULIyeZg5sB1YDNU/kP6c80t jDeA3T5Fm3qEUiyeI/Y3GPi6km3j9cPsffo+ARFSqkSjkRAsI3vL59Ymw+5W6NKRtR5l qOUg== X-Gm-Message-State: AOJu0YxFTSc0QIxk30nflTAirYkOtQPk+Hl74UfFQFhatcudBxVzUJor /avEvX09o2heegSRahcs/Q95pTE070lXEptgsFD43PavnDZk9Inj6vRoW5/1ENs= X-Google-Smtp-Source: AGHT+IGLBFDYYMt6SCH5SAKCAYsBLDhyRVoB2Lyl6Z3fTL8nyAbUIXbE0ZWBLpKryfgUmub+0AbOvQ== 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 { From patchwork Tue Mar 19 16:13:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781171 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 BD26F83A01 for ; Tue, 19 Mar 2024 16:13:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864832; cv=none; b=XitPDNNgQx6bLcgN8hJmNVv7jb6UgYVMjQqOyFPCSFKCBk/2D2Eu11tzxRweVQRH/FSvwRtuR7McC7poIKXH4pW0HyfF5fujks0GwPQ4BCOubnfktjw3ZQldCMN7n0RQFn+71gpaSrBgW+o82OSOSb0O0rP4s+fIuwBVdj6VluU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864832; c=relaxed/simple; bh=Dx4eKRKD7RSI0UXacL9tWgAfAMYTeDCaf8UjZrFGLoY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YO/x47YawVCxSyzg6Ol527Xh3QcY10sSHvYL04GBj4pKfNguJ9+ihDAS3kxmqACqLC6Ygv+GUjC/h/JSivXN4QeU7TGtvzBWH/d5FBGU90zoWDjpV+eyV1sFIlTcQzPdBAFNgggyScTS8M2d4l/d5gjPFtLuV/WNr/2Bx2KUGmE= 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=stIKvLOX; arc=none smtp.client-ip=209.85.167.47 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="stIKvLOX" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-513dc99b709so5118431e87.1 for ; Tue, 19 Mar 2024 09:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864828; x=1711469628; 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=YYS0OchrGD9kAwkYnjOpoqJceeaOYGfSJc+i+MfcuTY=; b=stIKvLOXV4FwdZO7WH6FWnFusAJKtz2NVmp0w8amhXPLaZ4GK82+UXcBNiOJ2zwviY z5eeeulPy0jKOGtcwD8GLNUkrbjOGsiyDmIFKeUv4rL3uobDkchancusC3UVuZBTfiCD XG6LszYdZB3n+pkCti6ImTT5rg6RTIKwVFJZSS3pmW2nyhCGUaaME3gIKTTVL3wPdZ77 /D9RauUHNAQ3fd5bI3D1SnfWAQJNCzojjQFRYfeI3slwxrt6ifogXUGbwrM9Lrjxl1+F BWj6HZfvztucmGhtZyyKxnhi9SSr92RImgBHNTwMxn0QaKLvZV3NPqkp/Wi0TktE8p8y /hBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864828; x=1711469628; 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=YYS0OchrGD9kAwkYnjOpoqJceeaOYGfSJc+i+MfcuTY=; b=B7lOb4j7VIESNtyNnGYxD/Y5uhHR3K9NRVzGfoYAP1k+C1v/XZymhNh325EFGjl4Sj jtgwk/eyBykolGggo6GwffSfg5oljz3GeuuvrWBgOcXki2E+4dbnoNcD2KvAM35fbN6V vSXQdLVtlfXBNGdPCo1efQLtF9KB17HsEUZ0cktUrTHseYntFFgvXS1uYU7+cq10eSTo EQVxrb94vUrWditMwEfIDZTbUveWlM2OeN4+SiD2pHIg9eCrr6my93ryUWL5r/M2sJ9b sxvPLQrtBDzDdm0JTjYusFvfItrFsG28lUr/AUDY4NazkhqYoqcO/dMs6PZLcv9fR/rb OBgw== X-Gm-Message-State: AOJu0Yy/ab2XSMrSzVUUvbzqr2qPv0cziFnc7JYjbmbFu/MavQL3YJ3U Kx5buo6fm11g9wSBTIS21lU3pYZelp90TuJlf6B5KcmriIezkvtIHMHpRMhlnr0= X-Google-Smtp-Source: AGHT+IGHSLoi1cSJEsqg639BDjMBa+TvC4cTijSihrY3DOfEJjf/m6Xb8qxLx6DnMmOh6MXVY5BkHQ== X-Received: by 2002:ac2:505c:0:b0:513:2ead:4f86 with SMTP id a28-20020ac2505c000000b005132ead4f86mr2074188lfm.12.1710864828150; Tue, 19 Mar 2024 09:13:48 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:47 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:39 +0100 Subject: [PATCH 09/31] arm64: dts: qcom: msm8998-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-9-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/msm8998.dtsi | 57 ----------------------------------- arch/arm64/boot/dts/qcom/pm8998.dtsi | 3 -- 2 files changed, 60 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 4dfe2d09ac28..8f5a92f1b863 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -487,9 +487,6 @@ slpi_smp2p_in: slave-kernel { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 1>; trips { @@ -508,9 +505,6 @@ cpu0_crit: cpu-crit { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 2>; trips { @@ -529,9 +523,6 @@ cpu1_crit: cpu-crit { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 3>; trips { @@ -550,9 +541,6 @@ cpu2_crit: cpu-crit { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 4>; trips { @@ -571,9 +559,6 @@ cpu3_crit: cpu-crit { }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; trips { @@ -592,9 +577,6 @@ cpu4_crit: cpu-crit { }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; trips { @@ -613,9 +595,6 @@ cpu5_crit: cpu-crit { }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; trips { @@ -634,9 +613,6 @@ cpu6_crit: cpu-crit { }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; trips { @@ -655,9 +631,6 @@ cpu7_crit: cpu-crit { }; gpu-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 12>; trips { @@ -670,9 +643,6 @@ gpu1_alert0: trip-point0 { }; gpu-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 13>; trips { @@ -685,9 +655,6 @@ gpu2_alert0: trip-point0 { }; clust0-mhm-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 5>; trips { @@ -700,9 +667,6 @@ cluster0_mhm_alert0: trip-point0 { }; clust1-mhm-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; trips { @@ -715,9 +679,6 @@ cluster1_mhm_alert0: trip-point0 { }; cluster1-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; trips { @@ -730,9 +691,6 @@ cluster1_l2_alert0: trip-point0 { }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; trips { @@ -745,9 +703,6 @@ modem_alert0: trip-point0 { }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 2>; trips { @@ -760,9 +715,6 @@ mem_alert0: trip-point0 { }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 3>; trips { @@ -775,9 +727,6 @@ wlan_alert0: trip-point0 { }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 4>; trips { @@ -790,9 +739,6 @@ q6_dsp_alert0: trip-point0 { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 5>; trips { @@ -805,9 +751,6 @@ camera_alert0: trip-point0 { }; multimedia-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 6>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 3f82715392c6..157feef07b03 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -10,9 +10,6 @@ / { thermal-zones { pm8998-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&pm8998_temp>; trips { From patchwork Tue Mar 19 16:13:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781170 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.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 9145483CDB for ; Tue, 19 Mar 2024 16:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864834; cv=none; b=GMTbHtBDS5N0vrYFxDKyhhffHnkIS4b3FWj8NW7vZvJvS/PPmOSSdUvhFFa9kh2k9qInBHfkL9ANMnou66CAZmy9FgB3AJPu3Y0ekm0mRYbYa9BDo0mXJpjEWKpkGBtvV5oNI++YWFP1Q0YGgz645NkWBxng7fVbyFoSazcEfMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864834; c=relaxed/simple; bh=u1ZVG1vb251umGVVGSjsqNgaJ0s0mxnhyWZRF2dWthk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YnraDbVIASO4edeanIOpqVyMlLFKojoq65QE8B0K1ya4YYtF0HgFRQbTngKSUnQSHsRLgVIgVviEqPiH5zPKuIzWex85E3ZlnhOcbHrukZDyYxXPQ+tW7EDvhZnsFHVSp0eBMBa0K+T+9wfR/0AmepBwRs02pOk+ilgwAGHSsDs= 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=mM19I7B0; arc=none smtp.client-ip=209.85.167.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mM19I7B0" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-513dc99b709so5118525e87.1 for ; Tue, 19 Mar 2024 09:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864831; x=1711469631; 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=YSt/QwsSNK6R88wyvHQPMXYPOqcm9u8wO8J+pd+6N3Y=; b=mM19I7B0q0hXTIUsgFerSzUk9fQPB4mC1XSQ1NqhGZgPHDzOToDi2/Zo8hq78KFkn0 6UyZPg2kgEfHYuvXm5fhpD9FWTVM4a4urljEB0kBq+NxsQy9cyvSJHjfzX0qau1NAlbi BAoJmpVCAZ6TVAyREkaFy2NtwDxbsdInQoeV8qWYx0vOyGMrh7AdeM8f8Fp21WuYyiYU eAtBjZvOxPBQF4ztHvUJgjdG4kQ5z0uRzRaAamjCm5Fi6/0+pP8UGN3WGBo5fgMplONj p6LBtaJ6TbXcwJOynXmKXemmtqEj/xyY84ufgenN8S+O9+s1TzGC9SfjlmmUn18IEw8Q ibAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864831; x=1711469631; 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=YSt/QwsSNK6R88wyvHQPMXYPOqcm9u8wO8J+pd+6N3Y=; b=EmIJ58IHmkPSS7jPt1cSrUrZaX5HvMp++fO/lWr4ItLg7x/Bt7k/nwOuRCOa4OtT7x 9yKGak8cfLSJE93riK4bTuLP79DF24xpykNeWQoj6mTHX1u1ZaMW8TKzCdkMTfiCFqbu SfOOoPrYbSCs5RQipvep/n8axy+nQcHMg+kgHdt0Joj9fiTYIrSklr0oiffq4ntW1hs8 7dPSO4P0zwxtoYoNChm5eUeet0rgByFpFAiPz8Jz5v3hcyV2Qn4Yc0RQv+LLqt71EDUh p66N7pFO3fVpb9Lqw1g8SmDY3DmpZq8TRX+fPeWOWv2KIyJb0WHOHEqzc41V64Hlkw92 vlwA== X-Gm-Message-State: AOJu0Yz23NZLayOVlAOVSJPtk9+sLOUlMHw5WZK8uZrecXuuN8cRMZBs A+8aaPO5g3SLHI6mdLpXYn7uTweh42jyTP8CEV54BJ47dgEaeHlXgaW6IX6RRg4= X-Google-Smtp-Source: AGHT+IF+gHowUPvuwqfFEqeYtKZsfqBiTFk0t57xPZBp0c4tjgfIDIPrN5OVTWWxzpe9nwtqlz1ErA== X-Received: by 2002:ac2:5e3a:0:b0:513:de14:b66b with SMTP id o26-20020ac25e3a000000b00513de14b66bmr1955439lfg.24.1710864830880; Tue, 19 Mar 2024 09:13:50 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:50 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:42 +0100 Subject: [PATCH 12/31] arm64: dts: qcom: pmx75: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-12-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/pmx75.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pmx75.dtsi b/arch/arm64/boot/dts/qcom/pmx75.dtsi index 373e45f63dff..84ea94e3b394 100644 --- a/arch/arm64/boot/dts/qcom/pmx75.dtsi +++ b/arch/arm64/boot/dts/qcom/pmx75.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pmx75-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pmx75_temp_alarm>; trips { From patchwork Tue Mar 19 16:13:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781169 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 726BE84A54 for ; Tue, 19 Mar 2024 16:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864836; cv=none; b=Rl3TcLysC9AlK5npQiGLueyZY4Mbds61KQ+x7zDv1UbWRAKscOPW05gjWvEU+4QoDKE7RcLPAlXM1fIPtOAe6Et2I4GPy/a+hHZLg0Lrl1H2mGINFUeX8ybrXVflyg6ALIstg2fcAdGxqsSlPMgLmqacahkysa+owtHfszPzXdo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864836; c=relaxed/simple; bh=lUckpy7ysAP8KSlLQaJ0KH/EmjxeXgdV5P+mSMqn7kU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Rq3RG+mNDBKEoWx7Zaj2cL8QFg52ayNGuCwc8Lp0HNp8NrRlS7421oERxRInI/4ZmFxgQilue9UcrmYR+JG3eiS5ZcDAONE3ItGm0k22aCfZ8T0wMQNSCy0mcodpp1Fpjx6GnkZYHm6k/AZpLKtvG2ZRuUPRWC0L/25Z3WR/Hms= 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=lmIrkll9; arc=none smtp.client-ip=209.85.167.51 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="lmIrkll9" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-513dc99b709so5118577e87.1 for ; Tue, 19 Mar 2024 09:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864833; x=1711469633; 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=C35V0j48KRJzj+MbmIEByOb9R1hjafjYDuf4YisORVg=; b=lmIrkll92BA3wswdcG0/gUKpasl4bJ+ehYZjbPkMhsfTJ5ZRayh0AW6LhXkqu4Tgxs kBcR8JyD69GZGdQXwHAy04q3CisnhyUheesqPLtpqLVadthn5ANApKr0hIykw85NceG2 PCJajswkGjIZ8aU5+IKNbGaHlekwOHXQ8tePClGdRgOIay74YFjpElI9hhMekPQHg2aD oTkhaUg0vHQwJRaZOw1JsXYYElbMrDeRXG6DIutzDRD6EVi15lL2l52g+C/+vJQDiA6s GG3Cw29e3C1Uy29gFoG8dkP42AnGnzXhBgZTCKeEqr+mNAmWlCdZolWaDMDTIkL+EKm9 NBwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864833; x=1711469633; 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=C35V0j48KRJzj+MbmIEByOb9R1hjafjYDuf4YisORVg=; b=HrYw9+5T4OlKdSIOcu0rThFPtWYQIxULfkwjkcGA/EpOmJAn6bPUoBXSq19rBYSOgn UjSyDWXgqOn2Wl7u8HJlecLJ0Dd7cW5GjyiGxme/whq6cxBI77Qjf2GdB1XQTZbOAtef xYlFDyrOav54Zdx69n4Skj5bcaXMp4/Bvjj5vUoLkpe5rg+vMZkmbYKN2HomNPnp+evZ BBnD4wDnpI3Udh7LYtIo7lZOWLArP0iXTnEYaz3c7wxoZFeF9xjYJpblKur4JZgp5pq3 DAIFtj2QGGbAWYOGqvNNoImryXu3crh9EupgkTbFEDpaUKhysvdgqABB6k0KpEXNgfUJ FrwQ== X-Gm-Message-State: AOJu0Yxy166Jtv/rNQMjjUQkOmw7YI+7tJQ4RffhZwI0rfEZtAYPSH4v XJKVkCDuXiB+QFRciyhH/d/109VVjeN8eoCCHaQd2JouRFJpPJ8ci7XLmfd+Ofo= X-Google-Smtp-Source: AGHT+IHzUqhQVgP9CzXIlbPiGEwMEgfHjaWnAeko5lQYNQHKMT93kosdcJ3OoRKmZUqkU4cVkSG5ew== X-Received: by 2002:a19:914d:0:b0:515:852c:ed8d with SMTP id y13-20020a19914d000000b00515852ced8dmr989361lfj.25.1710864832848; Tue, 19 Mar 2024 09:13:52 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:52 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:44 +0100 Subject: [PATCH 14/31] arm64: dts: qcom: qcs404-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-14-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/qcs404.dtsi | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index a05d0234f7fc..ad109b38199e 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1589,9 +1589,6 @@ wcss_smp2p_in: slave-kernel { thermal-zones { aoss-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { @@ -1604,9 +1601,6 @@ aoss_alert0: trip-point0 { }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { @@ -1619,9 +1613,6 @@ q6_hvx_alert0: trip-point0 { }; lpass-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; trips { @@ -1634,9 +1625,6 @@ lpass_alert0: trip-point0 { }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 3>; trips { @@ -1649,9 +1637,6 @@ wlan_alert0: trip-point0 { }; cluster-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -1683,9 +1668,6 @@ map0 { }; cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -1717,9 +1699,6 @@ map0 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 6>; trips { @@ -1751,9 +1730,6 @@ map0 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 7>; trips { @@ -1785,9 +1761,6 @@ map0 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 8>; trips { @@ -1819,9 +1792,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 9>; trips { From patchwork Tue Mar 19 16:13:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781168 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 5687A823AE for ; Tue, 19 Mar 2024 16:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864839; cv=none; b=Zu9TFmmaLVICR4xt6AUgnyuw2vFSDpRgvkbmdIGhHnA8AsmO3OXtpP/mucpwwqXTjAenZZ6D6SEyXRkLJ0qOgp0jjxRgAWZe9fyyeOQIr7ehSdq5osVCvx6M2Wv93a6v5aS8mmxbOMj+u62OAX5r+lDxSWwCJwD4O4wYSmDAzPk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864839; c=relaxed/simple; bh=EYOEa0uVYp0vYfKNVrRpWVnmRsG7n3juvC+eylZ7ENw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SbCTDWaSfQHEvoShPIEnvEuf7GVin519a0g1uio2PcnEw70s5PXEplxgI3hsFxJAw2nSKN1TCYuufWf3ppxX7hi1/tKofOiM7w/ZPl358fhRse0Ks7rHGb5/jmQnTUO0LElDFLqQTXkjFx2+podAuCz4i3wxPjGMxSaGtI1Gih4= 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=UuGLQSqX; arc=none smtp.client-ip=209.85.167.46 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="UuGLQSqX" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-512bde3d197so4709120e87.0 for ; Tue, 19 Mar 2024 09:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864835; x=1711469635; 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=yshrbrRqv1mNDaYKhbz7spWFrVefLfnoM8iQyT0aqAU=; b=UuGLQSqXAizr4l8yW1/RlwbtYJNOst9EgJk8//4UOVTgsliHm7e5Awf4lDpgRHAg14 5i3FZZKpT4k7HUumnCDUnZR17BTHb75t30catZhNQR/O5vhsVP8yLv4zs+hKckfuCAgV omhj2zADnxkuxHLq38deHEyyfeusSgf+r/IoTzqd0bjeo+RrIzi1QflGdWxAimPbmupN 1Op/tJlqEx6LaH5LCu43nsnfAyrF4eQIWAurKjKBBVSjTmWVh/80Zo8lla/rraCnwUya hGpjhERGzomL4g1OZT1sORwqcJPeDl/U1V3L9YMKAt997VpMqVP7/fM3k9eHmo1ZWelU ehpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864835; x=1711469635; 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=yshrbrRqv1mNDaYKhbz7spWFrVefLfnoM8iQyT0aqAU=; b=MeqyKrVzATuHdAKf4XsWDcOUR7nE2IEjyDZwhZkpJ82hu+gs30BbPNyk3sSTvmaS3J 8Ei6msKcki91BTc4k2XfcwFbwRDOhFP96x6QnIB671QsCo4i7M1SWOmn+dEn0lIQsEH2 71/+ZeR10lzlrsDcqbjEb9hLRMoaPDY2xn3rMkXKaLnD8xglhKg+n3RaGFTRMhGv6bLu VY43KqjQ4RoQOkQWh0+Fhfx1AGc5lRZac4TUxi40yQ1Hl7ma97mLj3Ir7iiJC9nqVynT yaBcB0sFSfYfQZLb/ZP71gp6ZBRDAKh5UeXnB7kl3Nqcto2t/v3TUqxLsP/hNwCF/4e4 5nmA== X-Gm-Message-State: AOJu0YxbveAKMVovkfy8IHmdJPkNKWxDptl9SeyBujZ2ymmWRMAmcSdO ZIfLvdPX4NQgWF3ztI54bTququBShGINDff66jn3VaG4l0qO74sJeZfCocnLSg8= X-Google-Smtp-Source: AGHT+IE5fk5J4YPttQCGqL4rGXiVuyuUObxgdbsNNHCn0IESQPWQF1UUvgMovCGO1tfo7E27XpIThg== X-Received: by 2002:a05:6512:358c:b0:513:c9f5:cbf2 with SMTP id m12-20020a056512358c00b00513c9f5cbf2mr2266989lfr.59.1710864835674; Tue, 19 Mar 2024 09:13:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:54 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:46 +0100 Subject: [PATCH 16/31] arm64: dts: qcom: sc7180-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-16-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/pm6150.dtsi | 2 - arch/arm64/boot/dts/qcom/pm6150l.dtsi | 3 - .../arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 3 - .../boot/dts/qcom/sc7180-trogdor-homestar.dtsi | 3 - .../arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi | 3 - .../boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi | 3 - arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 3 - arch/arm64/boot/dts/qcom/sc7180.dtsi | 75 ---------------------- 8 files changed, 95 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi index 11158c2bd524..78acad023e62 100644 --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi @@ -12,8 +12,6 @@ / { thermal-zones { pm6150_thermal: pm6150-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm6150_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index d13a1ab7c20b..a20e9b9993b2 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -10,9 +10,6 @@ / { thermal-zones { pm6150l-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&pm6150l_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi index 7765c8f64905..80fa40cdebd5 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi @@ -24,9 +24,6 @@ adau7002: audio-codec-1 { thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&pm6150_adc_tm 1>; sustainable-power = <965>; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi index 2ba3bbf3b9ad..385eba9e142d 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi @@ -44,9 +44,6 @@ pp3300_touch: pp3300-touch-regulator { thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&pm6150_adc_tm 1>; sustainable-power = <965>; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi index 067813f5f437..026d0845d78b 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi @@ -14,9 +14,6 @@ / { thermal-zones { 5v-choke-thermal { - polling-delay-passive = <0>; - polling-delay = <250>; - thermal-sensors = <&pm6150_adc_tm 1>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi index 305ad127246e..1bf313a3c59c 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi @@ -49,9 +49,6 @@ v1p8_mipi: v1p8-mipi-regulator { thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&pm6150_adc_tm 1>; sustainable-power = <574>; diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index f3a6da8b2890..8a8a5ca0e568 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -21,9 +21,6 @@ / { thermal-zones { charger_thermal: charger-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&pm6150_adc_tm 0>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 2b481e20ae38..54e0ab1c8580 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -4031,9 +4031,6 @@ lpass_hm: clock-controller@63000000 { thermal-zones { cpu0_thermal: cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 1>; sustainable-power = <1052>; @@ -4080,9 +4077,6 @@ map1 { }; cpu1_thermal: cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 2>; sustainable-power = <1052>; @@ -4129,9 +4123,6 @@ map1 { }; cpu2_thermal: cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 3>; sustainable-power = <1052>; @@ -4178,9 +4169,6 @@ map1 { }; cpu3_thermal: cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 4>; sustainable-power = <1052>; @@ -4227,9 +4215,6 @@ map1 { }; cpu4_thermal: cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 5>; sustainable-power = <1052>; @@ -4276,9 +4261,6 @@ map1 { }; cpu5_thermal: cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 6>; sustainable-power = <1052>; @@ -4325,9 +4307,6 @@ map1 { }; cpu6_thermal: cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 9>; sustainable-power = <1425>; @@ -4366,9 +4345,6 @@ map1 { }; cpu7_thermal: cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 10>; sustainable-power = <1425>; @@ -4407,9 +4383,6 @@ map1 { }; cpu8_thermal: cpu8-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 11>; sustainable-power = <1425>; @@ -4448,9 +4421,6 @@ map1 { }; cpu9_thermal: cpu9-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 12>; sustainable-power = <1425>; @@ -4489,9 +4459,6 @@ map1 { }; aoss0-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 0>; trips { @@ -4510,9 +4477,6 @@ aoss0_crit: aoss0-crit { }; cpuss0-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 7>; trips { @@ -4530,9 +4494,6 @@ cpuss0_crit: cluster0-crit { }; cpuss1-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 8>; trips { @@ -4550,9 +4511,6 @@ cpuss1_crit: cluster0-crit { }; gpuss0-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 13>; trips { @@ -4578,9 +4536,6 @@ map0 { }; gpuss1-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 14>; trips { @@ -4606,9 +4561,6 @@ map0 { }; aoss1-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 0>; trips { @@ -4627,9 +4579,6 @@ aoss1_crit: aoss1-crit { }; cwlan-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 1>; trips { @@ -4648,9 +4597,6 @@ cwlan_crit: cwlan-crit { }; audio-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 2>; trips { @@ -4669,9 +4615,6 @@ audio_crit: audio-crit { }; ddr-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 3>; trips { @@ -4690,9 +4633,6 @@ ddr_crit: ddr-crit { }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 4>; trips { @@ -4711,9 +4651,6 @@ q6_hvx_crit: q6-hvx-crit { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 5>; trips { @@ -4732,9 +4669,6 @@ camera_crit: camera-crit { }; mdm-core-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 6>; trips { @@ -4753,9 +4687,6 @@ mdm_crit: mdm-crit { }; mdm-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 7>; trips { @@ -4774,9 +4705,6 @@ mdm_dsp_crit: mdm-dsp-crit { }; npu-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 8>; trips { @@ -4795,9 +4723,6 @@ npu_crit: npu-crit { }; video-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens1 9>; trips { From patchwork Tue Mar 19 16:13:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781167 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 7964C81AC9 for ; Tue, 19 Mar 2024 16:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864841; cv=none; b=Ycl4yJdNg0pX3ewM0Gsmo/gin60ybyXBS+4RjOo/P3u7ZLOJBoDBDFTmLhuebl50oxq5scTqwRU0NUZtmYQRKMMCqr58lKm6EJHYMymxMpBhLuoVoDsK+BYZ1tTpyU4vXTvdKtBVTalW1MO9xfTHyOOE7fr8FJiygiyELFIWtCc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864841; c=relaxed/simple; bh=r63AdtT4GVZ7zZXIKR+NEiJ7S/HPxGoyuJWtUf4y+jo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VCfq8cV9LjFrkh8hqS89YFeBRJIK8lPN+DuTJV6JG32R1Mb7tuoh7TzltuPLCaauOKUVaeIJWq8c2SwC2ydvYBTTJN+1GHo15aCwggqAhZCeEvv56SDpysft29kE5nIBjWAVD95FFydRmwQI7mgU2T1BSLlvADwXzDzxvtIGyFk= 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=erW6ab4R; arc=none smtp.client-ip=209.85.167.49 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="erW6ab4R" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5148ea935b8so2193580e87.1 for ; Tue, 19 Mar 2024 09:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864837; x=1711469637; 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=OB3PcUCPufS9ZcD95Yf/HAHsA+W7OOJ/3I2gdHjfGlc=; b=erW6ab4RAhNstlH+7diaZgjlQdI3nlQnmDaHn6987NWEbUfDnA1yPplfKBwsI+yymW XLBB0p1pVEZ92B84Ne7l97MoLuUVW9Lw9utWSseuUxUwFaPaBZ5wdPbYluMxDdpFFReE +aRBQ/9kMaSOF912XjvHOqp6VYbmkljqELGNNgnDW8VGqODh4ihY0L9ogVITZ8Ibx1AM az+ap7TB/BvcNDmiWLIeVrVrbyHtHfTfg/NRHcECdJnvFqNWMDkvE75kcXJD+lr4kbr/ PTp0qOXv3PNNj4W5O/wPc2z6SPRk+fZKdLlndY8rOSojxxZTFvN2/f0HJ4TjCgIlmUeh 8gQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864837; x=1711469637; 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=OB3PcUCPufS9ZcD95Yf/HAHsA+W7OOJ/3I2gdHjfGlc=; b=kiUY5WYC/8lZSZgixkxqTM7D6XA6jcqGK9GVKV/A5l7Sym1DZFQ90nGP7XeNWTrTiu dqHy57jGPalIUHRuZrQAeuuBTbqAtAiVslzFklSJHONy0RRkhU2W5P5CuxiqAib0M2XX mWYSgh5XnHW3b+9aOW3gK68BHGlbodO9fBUBSUKBLX38zKcFAbd20s/Auy89X+dqv3RG 0KvHIrtgx0GK4EO3e70cXsPRJRw/4cMhvm0Xir85mjuwEm+nWT7ajfIJAE7+dQstY5wg +j05bYnqwHC+nk9Ij6xKokOuYCP1r6DsILsGlF6tyU2VDFA1pbG/Ppfg2TFtXHIEOrfw fNiA== X-Gm-Message-State: AOJu0YyGF/EBy+JMO3Gui//iqHARlbb75fwwLSWeGg2rj59Hx2ycyXN9 cEd2ripQAS3YVZkP19+LZaSKqKgt+2garH2u+TxZvN5RhONPwPdlOjkLpwedZaI= X-Google-Smtp-Source: AGHT+IH53t86LWw3WY/febzezecdPoEWe/w9djLV1EKb/35WONffId6x0wGKP1w9qREOVMC5qjO2Uw== X-Received: by 2002:a19:3854:0:b0:513:c632:24bc with SMTP id d20-20020a193854000000b00513c63224bcmr2060824lfj.35.1710864836795; Tue, 19 Mar 2024 09:13:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:56 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:47 +0100 Subject: [PATCH 17/31] arm64: dts: qcom: sc7280-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-17-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/pm7250b.dtsi | 3 - arch/arm64/boot/dts/qcom/pm7325.dtsi | 2 - arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 14 ---- arch/arm64/boot/dts/qcom/sc7280.dtsi | 81 ---------------------- 4 files changed, 100 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi index 3bf7cf5d1700..48eb8d9a5ac3 100644 --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi @@ -10,9 +10,6 @@ / { thermal-zones { pm7250b-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pm7250b_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm7325.dtsi b/arch/arm64/boot/dts/qcom/pm7325.dtsi index d1c5476af5ee..a25f6f65e416 100644 --- a/arch/arm64/boot/dts/qcom/pm7325.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7325.dtsi @@ -34,8 +34,6 @@ pm7325_gpios: gpio@8800 { &thermal_zones { pm7325_thermal: pm7325-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm7325_temp_alarm>; trips { diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index 4ff9fc24e50e..e4882b94d103 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -164,8 +164,6 @@ afvdd_2p8: regulator-afvdd-2p8 { thermal-zones { camera-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pmk8350_adc_tm 2>; trips { @@ -178,8 +176,6 @@ active-config0 { }; chg-skin-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm7250b_adc_tm 0>; trips { @@ -192,8 +188,6 @@ active-config0 { }; conn-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm7250b_adc_tm 1>; trips { @@ -206,8 +200,6 @@ active-config0 { }; quiet-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pmk8350_adc_tm 1>; trips { @@ -220,8 +212,6 @@ active-config0 { }; rear-cam-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pmk8350_adc_tm 4>; trips { @@ -234,8 +224,6 @@ active-config0 { }; sdm-skin-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pmk8350_adc_tm 3>; trips { @@ -248,8 +236,6 @@ active-config0 { }; xo-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pmk8350_adc_tm 0>; trips { diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 7e7f0f0fb41b..ef60a511a69f 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -5969,9 +5969,6 @@ cpufreq_hw: cpufreq@18591000 { thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 1>; trips { @@ -6013,9 +6010,6 @@ map1 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 2>; trips { @@ -6057,9 +6051,6 @@ map1 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 3>; trips { @@ -6101,9 +6092,6 @@ map1 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 4>; trips { @@ -6145,9 +6133,6 @@ map1 { }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 7>; trips { @@ -6189,9 +6174,6 @@ map1 { }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 8>; trips { @@ -6233,9 +6215,6 @@ map1 { }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 9>; trips { @@ -6277,9 +6256,6 @@ map1 { }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 10>; trips { @@ -6321,9 +6297,6 @@ map1 { }; cpu8-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 11>; trips { @@ -6365,9 +6338,6 @@ map1 { }; cpu9-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 12>; trips { @@ -6409,9 +6379,6 @@ map1 { }; cpu10-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 13>; trips { @@ -6453,9 +6420,6 @@ map1 { }; cpu11-thermal { - polling-delay-passive = <250>; - polling-delay = <0>; - thermal-sensors = <&tsens0 14>; trips { @@ -6497,9 +6461,6 @@ map1 { }; aoss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 0>; trips { @@ -6518,9 +6479,6 @@ aoss0_crit: aoss0-crit { }; aoss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 0>; trips { @@ -6539,9 +6497,6 @@ aoss1_crit: aoss1-crit { }; cpuss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 5>; trips { @@ -6559,9 +6514,6 @@ cpuss0_crit: cluster0-crit { }; cpuss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 6>; trips { @@ -6579,9 +6531,6 @@ cpuss1_crit: cluster0-crit { }; gpuss0-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&tsens1 1>; trips { @@ -6607,9 +6556,6 @@ map0 { }; gpuss1-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&tsens1 2>; trips { @@ -6635,9 +6581,6 @@ map0 { }; nspss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 3>; trips { @@ -6656,9 +6599,6 @@ nspss0_crit: nspss0-crit { }; nspss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 4>; trips { @@ -6677,9 +6617,6 @@ nspss1_crit: nspss1-crit { }; video-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 5>; trips { @@ -6698,9 +6635,6 @@ video_crit: video-crit { }; ddr-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 6>; trips { @@ -6719,9 +6653,6 @@ ddr_crit: ddr-crit { }; mdmss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 7>; trips { @@ -6740,9 +6671,6 @@ mdmss0_crit: mdmss0-crit { }; mdmss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 8>; trips { @@ -6761,9 +6689,6 @@ mdmss1_crit: mdmss1-crit { }; mdmss2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 9>; trips { @@ -6782,9 +6707,6 @@ mdmss2_crit: mdmss2-crit { }; mdmss3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 10>; trips { @@ -6803,9 +6725,6 @@ mdmss3_crit: mdmss3-crit { }; camera0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 11>; trips { From patchwork Tue Mar 19 16:13:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781166 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 96E5C85936 for ; Tue, 19 Mar 2024 16:14:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864844; cv=none; b=bGmHRrAyey0aJo1p/48+7siS5fIKFQKSIktGAPBGtHcUYUvK92D8Ms5pWlkh94f3qK2aqrlL/fx2gKg2e5y4JX5vL6H3meqZfs0T+qBfhYF6IwLXAc2yiH2ZVwXMNxw9i4MYTWPClrE30CE3rJC1vKo48PXyklUpzgdH9QKrT00= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864844; c=relaxed/simple; bh=+cYea2v2/BKOer4KwV/CVWAJy8hOJfQVFafipAC2J+w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cMAhLhgIyAeJhwxsWjZxizcsM5yu9HzRTYBXWgyf7KEzMUmPcNLvlNQ01S2iSv8VPokYjmMk2a2sw7ySDc8co8FvEdmGu0bTDngj8HFii79/S39XkZ9h5sO2sFllN0PsccSW8wHyVkiEiqoaj7npMOZqROXvlOrkXx56pe6EirU= 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=OspmlzIS; arc=none smtp.client-ip=209.85.167.49 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="OspmlzIS" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-512f892500cso6434262e87.3 for ; Tue, 19 Mar 2024 09:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864840; x=1711469640; 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=pUJrKx7MvU52NeuXQ9HrJ3rBR5Q/85XuQI/RS6YMzDI=; b=OspmlzISMuWHs4p42TRJ3E/HM6ee+aHOLsfCTHcrsmFoIZ9z1NDRZfhiQHZvONh96g nqXcujlfTzZZGyThqak4MJH6Ht4DBVE1Y6A1PVpICPdGyEYqXqy1MD1ZQXUhLW9OIPL0 Pwp9nSb46AS3s8ka0upRjTAvGe66TZygC+tHXCo6ymZ5o9/ZJdamQvDArxdriFkRVil8 HJh9c0yUuEIxtJoZYOFWpnvltj+vJmaqgia03G9St4c8IlPI66ToCPfyZDTM2XbwrpkZ 0bWg9YY3d3fTzHFRZda90m8j+MkRK4Nj9tA5/NncEmdoywJz4LMAsfCsn1/naT5dLwx4 LAHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864840; x=1711469640; 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=pUJrKx7MvU52NeuXQ9HrJ3rBR5Q/85XuQI/RS6YMzDI=; b=Q1w+A0L7YAVYs0ZH/5flkCdXQY1ClLTeun1xBjJ8Bf+arb9vQf4V4OfjLYXK5RoDiV NCpObrVlkOZ4lSsLnSIJ/U3ojrYgSvZ9ENghZK+n66j7O1kyJmMRwkIbjeyr9rh1Jh80 E8qqa6DP2w3/2FK3rr/nwIWc8u3ZJE5NbcQ+H8b0tLgZe+LnnDS0WQs6Qr/deDNozGlD rJSVhesYPcSmpM5G2tirfuDNfU2Ivl6xl+bbVmigrhmuqGFOLH9meE4qSl3k3Oxokyev jzCtjYB97kTQHyZb8A2qLGOrUACCXTcA9M5rr3GYEG6iP9C6tbdTUGTb96GbPM54UYGB ojUg== X-Gm-Message-State: AOJu0YwMjHBrZu8R+IcUBqpPm5lbTrf55YW4662dFw2vVkVAK23uFl8h Jq/o+Nomu4Wjiqf4dwxqNn9Q4mbDd7xOr9dqUc3vSJL9iVzzcsTxn0/V819RFc8= X-Google-Smtp-Source: AGHT+IFGB1DWsnd12ElEbbIWQkgaeOW+F0Ihm5OZyQWwWoNxHzRzknGdE4iOkTj+o5szx6CpaZJqIA== X-Received: by 2002:a19:e004:0:b0:513:ca40:fafc with SMTP id x4-20020a19e004000000b00513ca40fafcmr8242229lfg.11.1710864839740; Tue, 19 Mar 2024 09:13:59 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:59 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:50 +0100 Subject: [PATCH 20/31] arm64: dts: qcom: sdm660-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-20-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/pm660.dtsi | 3 --- arch/arm64/boot/dts/qcom/pm660l.dtsi | 3 --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 27 --------------------------- 3 files changed, 33 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi index 98dc04962fe3..24efd1bf271c 100644 --- a/arch/arm64/boot/dts/qcom/pm660.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660.dtsi @@ -12,9 +12,6 @@ / { thermal-zones { pm660-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&pm660_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi index 6fdbf507c262..46165a2a3694 100644 --- a/arch/arm64/boot/dts/qcom/pm660l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi @@ -12,9 +12,6 @@ / { thermal-zones { pm660l-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&pm660l_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index f5921b80ef94..9851bc73222b 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -2421,9 +2421,6 @@ sound: sound { thermal-zones { aoss-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { @@ -2436,9 +2433,6 @@ aoss_alert0: trip-point0 { }; cpuss0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { @@ -2451,9 +2445,6 @@ cpuss0_alert0: trip-point0 { }; cpuss1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; trips { @@ -2466,9 +2457,6 @@ cpuss1_alert0: trip-point0 { }; cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 3>; trips { @@ -2487,9 +2475,6 @@ cpu0_crit: cpu-crit { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -2508,9 +2493,6 @@ cpu1_crit: cpu-crit { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -2529,9 +2511,6 @@ cpu2_crit: cpu-crit { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 6>; trips { @@ -2556,9 +2535,6 @@ cpu3_crit: cpu-crit { */ pwr-cluster-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 7>; trips { @@ -2577,9 +2553,6 @@ pwr_cluster_crit: cpu-crit { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 8>; cooling-maps { From patchwork Tue Mar 19 16:13:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781165 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 8F13684A51 for ; Tue, 19 Mar 2024 16:14:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864846; cv=none; b=hjrV9Hbb/AKm3Q9tbKXJS/4CwVkkHaxqAlXn0N1OI1hpZHWMYsmOLZB1EEgFLDy/E7/HVnygbQe7yEszug7/HwjdfqJHfRDubeyy91b6Rjzu9srj8BjUF2fk58Vn/DXRHCsHYAtibQTQOfNs80jVQwAMweXv8fcivhnHhTD1qic= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864846; c=relaxed/simple; bh=pA4U1gIpuSng0p4EvRgnsn4OXJOXp+4JRJ7zOeQmvfo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d9bAdPX8yGsfcamUIvJWjhPkdba6YBocunoS4Z9v1v5CeFeE+A1cOUpNMHJbA6QRA8XbNsBJOHk0xkOuWUPZDFAyB5grP8PLWuSnb3ftn0LqEvA5LVWvFCWKERBPwy4M98feWWzFxi7ezH4j7ngj1z5AWyDdV/r1XcuJV8KedBo= 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=qZPtC86W; arc=none smtp.client-ip=209.85.167.50 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="qZPtC86W" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-514ba4e5640so1069947e87.1 for ; Tue, 19 Mar 2024 09:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864842; x=1711469642; 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=OfcVMpSrriu/CCewjQNWQl8ouwgswOI0990n8OUQStQ=; b=qZPtC86Wt3w/sVLHwMIWWg7BIIP4GKA6xp/Cn5ellroR9rkRMeJBUCwpQxQqp9yo98 Gc/pXF1r2+CWLlNHNcaQXZra1X29fvSbLh1XhkocVOCGF0kif6lS/8KELBXomQGwzeAu rGkAH0oCdKiNKdgKz0Ho9xAv2eVxT4ulk425Q9ky6ano7DhVTzD8LTd2Bp5PWpMOm11s tGkk0aAVWmDhn1QUAehUdDMB0YrPnDOMgojdiFsuwzl0Us/Rr+RZDVCYp5dHuAsKmAtk w/czXs7WRT9aLTtZZxPcNU7X8mNSloA6TJxTlUvXmx7yxb2pY5k8I5ZxPhNgmwoxqROP z3/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864842; x=1711469642; 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=OfcVMpSrriu/CCewjQNWQl8ouwgswOI0990n8OUQStQ=; b=o3WLrkJvDBp7zgrEPPo20BsT/tvcE90a1SuIcRL/zSfWNqvsnkzKkPYaYgef56GEu1 MwwOfARH+K9yvYI4wub22lKliILMHNHxLBzjl5n4WDM5MUvu9gMOa0hw7CIoJewPnmhD U6h6K0NSDlvpGwGXSRxzANPLOMA9MtvFKflnc3K+lok1D8DjIavUp3hdQ/k5T6O2rdpm 1zmdEZQARY5GOBH0u99Gwo5WiGhNOAvEex1ydLZLbYb24nliLYI8FkgjWebPGvLxPPRc gB4+0z9Zew/fiVU4gWgzpx0Hy02G4clWa6inIlSIxDMT9e7eYWEk541Yy//ffx2mcmdr hDqw== X-Gm-Message-State: AOJu0YzsUEqCkowEMTdhS4RxsJCx2DSP9AukDCoNMOiAVI9pc24bZbDz v5phSpTOOsHKLvisCz2BK3b/HnAUJIqF5sGEFNFE/TpY2Pv1fsReZ6K20XOKEW0= X-Google-Smtp-Source: AGHT+IHX5iO3JUm8aTHh0lFyZbl4/yCiMz7XlUvrkC+8Ii2tRHFdbWywW9GwgMHPSMqebNS2pXg0Zw== X-Received: by 2002:a05:6512:32a8:b0:513:dfac:b29e with SMTP id q8-20020a05651232a800b00513dfacb29emr1185145lfe.26.1710864841772; Tue, 19 Mar 2024 09:14:01 -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.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:01 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:52 +0100 Subject: [PATCH 22/31] arm64: dts: qcom: sm6115-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-22-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/pmi632.dtsi | 3 --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 32 -------------------------------- 2 files changed, 35 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pmi632.dtsi b/arch/arm64/boot/dts/qcom/pmi632.dtsi index 94d53b1cf6c8..e1658993d6c1 100644 --- a/arch/arm64/boot/dts/qcom/pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi632.dtsi @@ -10,9 +10,6 @@ / { thermal-zones { pmi632-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pmi632_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index aca0a87092e4..0a0bb5310849 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -3011,8 +3011,6 @@ cpufreq_hw: cpufreq@f521000 { thermal-zones { mapss-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 0>; trips { @@ -3031,8 +3029,6 @@ trip-point1 { }; cdsp-hvx-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 1>; trips { @@ -3051,8 +3047,6 @@ trip-point1 { }; wlan-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 2>; trips { @@ -3071,8 +3065,6 @@ trip-point1 { }; camera-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 3>; trips { @@ -3091,8 +3083,6 @@ trip-point1 { }; video-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 4>; trips { @@ -3111,8 +3101,6 @@ trip-point1 { }; modem1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 5>; trips { @@ -3131,8 +3119,6 @@ trip-point1 { }; cpu4-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 6>; trips { @@ -3157,8 +3143,6 @@ cpu4_crit: cpu-crit { }; cpu5-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 7>; trips { @@ -3183,8 +3167,6 @@ cpu5_crit: cpu-crit { }; cpu6-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 8>; trips { @@ -3209,8 +3191,6 @@ cpu6_crit: cpu-crit { }; cpu7-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 9>; trips { @@ -3235,8 +3215,6 @@ cpu7_crit: cpu-crit { }; cpu45-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 10>; trips { @@ -3261,8 +3239,6 @@ cpu45_crit: cpu-crit { }; cpu67-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 11>; trips { @@ -3287,8 +3263,6 @@ cpu67_crit: cpu-crit { }; cpu0123-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 12>; trips { @@ -3313,8 +3287,6 @@ cpu0123_crit: cpu-crit { }; modem0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 13>; trips { @@ -3333,8 +3305,6 @@ trip-point1 { }; display-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 14>; trips { @@ -3353,8 +3323,6 @@ trip-point1 { }; gpu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 15>; cooling-maps { From patchwork Tue Mar 19 16:13:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781164 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 6D7F186250 for ; Tue, 19 Mar 2024 16:14:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864848; cv=none; b=Ww0UwNZYo9eKGlAIaRGugSosBJcaWwDU3Fr01GbPD+shHhQOipPZgR8kgL+TrONdjGtKAtP+CbRYG2cZ1hjFXpuBsuRn4e6h1L24Lq18iByc54jdRHgmO1qVRKzorTftt9nyAwHXp48dfgQ0utlWY8Ww8VSdGaNCaK++0o+ckW0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864848; c=relaxed/simple; bh=4ryAGqAK+Fc9WQiOXMMu5C5xniMZ51oUjQTqDkBykkk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cJ4S5NXLHo5xifFkN1Lz6izSciEWauXUw/N2Jlob3IfiJXXQF3QzHUemBw21fslJo+Lj/d7qq4kVBhVGPsz7ZAiYIA6NN5MZde3WNdCB/VzJ1N6/oi2fMmr6GNyrqLdTNvotDwarFS9WQ1b3ZLPrOffdinrjPiv4/NEY7ooK7jc= 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=bvv2rGAs; arc=none smtp.client-ip=209.85.167.54 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="bvv2rGAs" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-513e89d0816so2952225e87.0 for ; Tue, 19 Mar 2024 09:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864843; x=1711469643; 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=3PB20iR2ZLd5oZ38PSb8fZdY49P29stRXGwMP2qRq3s=; b=bvv2rGAs9vwryhkR8xNTDxsXGv/ec5u+IHGiV2/p7NuJ5br18HKjPYhXb+CVYdWC8k Pv9zUjVWEOJpm0PQXBqTDS1DurbSwC4aMDrRCqSS+WcKmWgwENVGyp01xjnnZNx9BmdH k7t7fnz5RwOBG4l1DOxZfbtz4+Co2T524T9HCME1dWGtgwQTbR/2tFKFZgMh0RrXhQUY j1OZ1Q54u5jHYn1q5bZ3MXQjZF7LneORxvr3BHFfgngz+3TkqSIzecMJFA3zngsR32sI 2g+nJl1ZbyRNBLge7jM3CTALXNytb2GcVpguywjR0MV2WdXG6GaYRmNyDFiOnC07Kx2m ccNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864843; x=1711469643; 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=3PB20iR2ZLd5oZ38PSb8fZdY49P29stRXGwMP2qRq3s=; b=fMPZvvvlQ0jLa7JdtrGsAwYj/2kCbDxIluuhTUGF+YFwwPb4dvIDDHIeGikMpNJtGu kOq9j8/FZy2VNMk35kNNIzc7Vx8j/itASVjRfihWiK8LxLRdW9jW5xtP8Itzm1CnOVpz FmSm5rrMTBOz9iLCcfosWLXh/G4OqzFeCgaIol5wN2Uvxa2occoUDQp5gDPVtlaZv2Sh XEgWJpZx7qPRE7Y0WOcjqeEG1O7+4NI1otFLzcqdMXuB9HtA52WM++PXSDT7bnyB0/5a aCUrhu2iEdy1funDIbabaqqdp0KpDiMR19aQIgUHbBRqtA1an7einW5VhKcxWbZXtEON WGVQ== X-Gm-Message-State: AOJu0Yy+xZSuT+UE/rbmRLs4BIsA29cq8lJNU4CwOxdpzPFB2HvuTH+A 6pZTgGWhJII3CsVXPAJke5AJgC65e/dw0v2ksF5Us9nbWf+CmpCLKyrPeJFog13OB3dtt5fM82n TApg= X-Google-Smtp-Source: AGHT+IH3bRQUCVmN1BX9wv+eReCSwFOq2pBH7CsQE1yZ1QIXXi7x2ZnCWDJJdrRzAjna6LFGhwiUAg== X-Received: by 2002:ac2:4474:0:b0:513:c2ba:edaf with SMTP id y20-20020ac24474000000b00513c2baedafmr2053915lfl.20.1710864843696; Tue, 19 Mar 2024 09:14:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:03 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:54 +0100 Subject: [PATCH 24/31] arm64: dts: qcom: sm6350-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-24-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/pm6350.dtsi | 3 - arch/arm64/boot/dts/qcom/sm6350.dtsi | 81 ----------------------- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 4 -- 3 files changed, 88 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm6350.dtsi b/arch/arm64/boot/dts/qcom/pm6350.dtsi index 3a2a841e83f1..be118da8838b 100644 --- a/arch/arm64/boot/dts/qcom/pm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6350.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm6350-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pm6350_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 24bcec3366ef..da17057028af 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -2712,9 +2712,6 @@ wifi: wifi@18800000 { thermal-zones { aoss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 0>; trips { @@ -2727,9 +2724,6 @@ aoss0-crit { }; aoss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 0>; trips { @@ -2742,9 +2736,6 @@ aoss1-crit { }; audio-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 2>; trips { @@ -2757,9 +2748,6 @@ audio-crit { }; camera-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 5>; trips { @@ -2772,9 +2760,6 @@ camera-crit { }; cpu0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 1>; trips { @@ -2800,9 +2785,6 @@ map0 { }; cpu1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 2>; trips { @@ -2828,9 +2810,6 @@ map0 { }; cpu2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 3>; trips { @@ -2856,9 +2835,6 @@ map0 { }; cpu3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 4>; trips { @@ -2884,9 +2860,6 @@ map0 { }; cpu4-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 5>; trips { @@ -2912,9 +2885,6 @@ map0 { }; cpu5-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 6>; trips { @@ -2940,9 +2910,6 @@ map0 { }; cpu6-left-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 9>; trips { @@ -2968,9 +2935,6 @@ map0 { }; cpu6-right-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 10>; trips { @@ -2996,9 +2960,6 @@ map0 { }; cpu7-left-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 11>; trips { @@ -3024,9 +2985,6 @@ map0 { }; cpu7-right-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 12>; trips { @@ -3052,9 +3010,6 @@ map0 { }; cpuss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 7>; trips { @@ -3067,9 +3022,6 @@ cpuss0-crit { }; cpuss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 8>; trips { @@ -3082,9 +3034,6 @@ cpuss1-crit { }; cwlan-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 1>; trips { @@ -3097,9 +3046,6 @@ cwlan-crit { }; ddr-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 3>; trips { @@ -3112,9 +3058,6 @@ ddr-crit { }; gpuss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 13>; trips { @@ -3140,9 +3083,6 @@ map0 { }; gpuss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 14>; trips { @@ -3168,9 +3108,6 @@ map0 { }; modem-core0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 6>; trips { @@ -3183,9 +3120,6 @@ modem-core0-crit { }; modem-core1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 7>; trips { @@ -3198,9 +3132,6 @@ modem-core1-crit { }; modem-scl-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 9>; trips { @@ -3213,9 +3144,6 @@ modem-scl-crit { }; modem-vec-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 8>; trips { @@ -3228,9 +3156,6 @@ modem-vec-crit { }; npu-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 10>; trips { @@ -3243,9 +3168,6 @@ npu-crit { }; q6-hvx-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 4>; trips { @@ -3258,9 +3180,6 @@ q6-hvx-crit { }; video-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 11>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index bc67e8c1fe4d..c50fa7f3a5fd 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -94,8 +94,6 @@ memory@efe01000 { thermal-zones { chg-skin-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm7250b_adc_tm 0>; trips { @@ -108,8 +106,6 @@ active-config0 { }; conn-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm7250b_adc_tm 1>; trips { From patchwork Tue Mar 19 16:13:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781163 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 9C00386128 for ; Tue, 19 Mar 2024 16:14:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864850; cv=none; b=rU0IgUAXX2v0vR5mK4hofsXwtpEL5xaoLzzgQH72QrQf6vAsSXTIUV/s8sxQdTm86eERIuuhVEMesu9P228/Jq/Qab6SfsrVCUQ3wpI6BPwWZf+DijAw/0fT8/liZ837i99CNyiaUbYQupCG8rI8fVFgD8sUckVLpFXmDJwSNEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864850; c=relaxed/simple; bh=SYRIPcVRg8wtEwy9lilxy1VuVa/JKKP+USyQ4up8dqM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gxNmjukZV4uC1PItLjY6R2YjK/IsdJW9jpBcQGQBCM8RhxlsL4Q4/Ng5eiReuHoOIg4eGc5d/5pkVT2SFfzzDmFhCxGhOlBSwiuJQTtaNK5Q6fMA0SBV+g3RnPjxQxWUR7oC+ib+otMu/49UlRQFyQsRW9j4bcv2ZlIS6Z0xink= 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=W/tmVSIS; arc=none smtp.client-ip=209.85.167.49 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="W/tmVSIS" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-513d4559fb4so6996654e87.3 for ; Tue, 19 Mar 2024 09:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864845; x=1711469645; 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=a30QI+q8MIR9amoxAl6v28Tm8Ljq8wSKHv73G7nTU8I=; b=W/tmVSISh3OdBVGhkvHSbIMkOYMsLjwSqq9H/yxhl48MUO3b2QWVwBpvZdOrMjWICj jufoIyj4dXYv572HNMTnOrCE/SElYt2jo3wlEIcUPCNqxNOP0c3elrizedi1sM8LH9nX IyYoHxMRoINq0ECb9ELv2ZYqB7WtSTULSMojtHGt1je2q/qDmbQVOBQhjz8CpOpP+L89 LpCp2jpgcmfZJZ957kL5lf5xiO8m0zFgGb7Xk4XsbUN4TaUT+tuoWL947wBgw2phw1dN v3feq7Y2OeyJC5BQgeXpFI43M7QZExNhmpEEGvoAznSG1MWL4wGZW8TrG/uhfuoAQufq sUpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864845; x=1711469645; 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=a30QI+q8MIR9amoxAl6v28Tm8Ljq8wSKHv73G7nTU8I=; b=f6TemZeToq1U4sSdO7LpnaFi+RSp8wUouwbC62rKhHRvoPZeWFhOytKZNPAFhqbyeo kLpd9stAzoZcFEvULoWKrdenoeh7yqoyc6XUQj6lQeTdZxCmcRbqjA+uyhC0eDIXlwO7 sTmd6qxIKjBtztezg/68W3yP8T09WMiJ5QMxFnyZ5oZw/zr3wBcVf5lSMk5vknEeDark S7vVZ1s2HRLMmk+9/nWkPiGimZ2Atpsnh2ZPV+x8imxgvpvmamvadiUYL8cqVb6sXLbm zd/mj1Tq74diPqrxeHXYELZDiUYg/ntVMQoOCEhe2fFLJ9qxYTPGyXo0Z8TpFhO4tT3S 0ACw== X-Gm-Message-State: AOJu0YwAKASU8cETatkdIsRPxYkRnoo27d9AjscxWnodUpMk20ovNdg1 Cubcz/Sd4s5NIYc1rGNf8TUF/y6WOzLHhC5cSQoqFP/apZ6OTBT7DORYJXsskK4= X-Google-Smtp-Source: AGHT+IGPBPNajx/uCmgHLtELEJ94O5c6E8RnencvMtahhFC3pBz4X9/JBADwYb4Aihhuo+1W2Tb9xQ== X-Received: by 2002:ac2:5206:0:b0:513:c25b:8fe with SMTP id a6-20020ac25206000000b00513c25b08femr2281462lfl.58.1710864845705; Tue, 19 Mar 2024 09:14:05 -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.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:05 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:56 +0100 Subject: [PATCH 26/31] arm64: dts: qcom: sm8150-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-26-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/pm8150.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 3 -- arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi | 3 -- arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi | 3 -- arch/arm64/boot/dts/qcom/sm8150.dtsi | 84 ------------------------------- 6 files changed, 99 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index 3ba3ba5d8fce..72343fc80a47 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -12,9 +12,6 @@ / { thermal-zones { pm8150-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pm8150_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index 1aee3270ce7b..f75e9817de85 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -11,9 +11,6 @@ / { thermal-zones { pm8150b-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pm8150b_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index ac08a09c64c2..b9e0c8af5c48 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -11,9 +11,6 @@ / { thermal-zones { pm8150l-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pm8150l_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi b/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi index dbd4b91dfe06..a25927eba785 100644 --- a/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi +++ b/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi @@ -11,9 +11,6 @@ / { thermal-zones { pmm8155au-1-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pmm8155au_1_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi b/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi index 1cee20ac2c9c..6c370d0e4938 100644 --- a/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi +++ b/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi @@ -10,9 +10,6 @@ / { thermal-zones { pmm8155au-2-thermal { - polling-delay-passive = <100>; - polling-delay = <0>; - thermal-sensors = <&pmm8155au_2_temp>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index a35c0852b5a1..a2ee7bfe03e1 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4556,9 +4556,6 @@ timer { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 1>; trips { @@ -4600,9 +4597,6 @@ map1 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 2>; trips { @@ -4644,9 +4638,6 @@ map1 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 3>; trips { @@ -4688,9 +4679,6 @@ map1 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 4>; trips { @@ -4732,9 +4720,6 @@ map1 { }; cpu4-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; trips { @@ -4776,9 +4761,6 @@ map1 { }; cpu5-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; trips { @@ -4820,9 +4802,6 @@ map1 { }; cpu6-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; trips { @@ -4864,9 +4843,6 @@ map1 { }; cpu7-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; trips { @@ -4908,9 +4884,6 @@ map1 { }; cpu4-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; trips { @@ -4952,9 +4925,6 @@ map1 { }; cpu5-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 12>; trips { @@ -4996,9 +4966,6 @@ map1 { }; cpu6-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 13>; trips { @@ -5040,9 +5007,6 @@ map1 { }; cpu7-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 14>; trips { @@ -5084,9 +5048,6 @@ map1 { }; aoss0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 0>; trips { @@ -5099,9 +5060,6 @@ aoss0_alert0: trip-point0 { }; cluster0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 5>; trips { @@ -5119,9 +5077,6 @@ cluster0_crit: cluster0-crit { }; cluster1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; trips { @@ -5139,9 +5094,6 @@ cluster1_crit: cluster1-crit { }; gpu-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 15>; cooling-maps { @@ -5161,9 +5113,6 @@ gpu_top_alert0: trip-point0 { }; aoss1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; trips { @@ -5176,9 +5125,6 @@ aoss1_alert0: trip-point0 { }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; trips { @@ -5191,9 +5137,6 @@ wlan_alert0: trip-point0 { }; video-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 2>; trips { @@ -5206,9 +5149,6 @@ video_alert0: trip-point0 { }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 3>; trips { @@ -5221,9 +5161,6 @@ mem_alert0: trip-point0 { }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 4>; trips { @@ -5236,9 +5173,6 @@ q6_hvx_alert0: trip-point0 { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 5>; trips { @@ -5251,9 +5185,6 @@ camera_alert0: trip-point0 { }; compute-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 6>; trips { @@ -5266,9 +5197,6 @@ compute_alert0: trip-point0 { }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 7>; trips { @@ -5281,9 +5209,6 @@ modem_alert0: trip-point0 { }; npu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 8>; trips { @@ -5296,9 +5221,6 @@ npu_alert0: trip-point0 { }; modem-vec-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 9>; trips { @@ -5311,9 +5233,6 @@ modem_vec_alert0: trip-point0 { }; modem-scl-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 10>; trips { @@ -5326,9 +5245,6 @@ modem_scl_alert0: trip-point0 { }; gpu-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 11>; cooling-maps { From patchwork Tue Mar 19 16:13:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781162 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 87CDC86AD2 for ; Tue, 19 Mar 2024 16:14:08 +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=rQK+AD6nlEABDUca1lDVA+d5jB9fPVaSQthQxzVi2LbGHeCMhXrnE6wjq4TUNmjlaWiCcTSmKyKQbOJjAzopaeASFVFPaYyawG5C4ow/i9vhByzeG+PXzzAybh8sGOhzm0HtyRbwEVmkmRNMxFd9HsODFjW4oChtfbA04tnNo+Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864852; c=relaxed/simple; bh=icuuXSqjatxpixxLqT1V6W9fC72HVgbLSz3h8APncwQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uArc2/La3sU36eN+9i4ApYPl8uJzmpwcz84AnsEhjGKsVc7YyFvPhohRXPEgwjXV7hbhHkvEkHuHnAVXx9BVUlURj5ugfPMAgrn8dwgzkQ3xSREAYfVbmoPO+YBPYnht25QrbA07qzzWJW+3Is38Xc+REXpZyexLESQtt+JzEF8= 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=n6bpnMdn; 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="n6bpnMdn" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-512e4f4e463so6489718e87.1 for ; Tue, 19 Mar 2024 09:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864846; x=1711469646; 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=yTraggok76PURW3wh7p9AIEGOGIaFqWcV70ApHtUPps=; b=n6bpnMdnfeDsvGoE1r0YWSrOB3Mj2ZSDl/ArMo5adIRYdETYKuSQD+R87csVXIFYkM WkF9jKyetTnyz25VUN5XJEDmkNNGgu+O4ydS2N57TVReLzln69GugxBHuyRV0x5C6TT/ W7UiuGIbLkRWHi/Ey2m3FRYug9kPhpTu6dXYUI2BdFznfPmXs6QupEzCnDsiRXJq0pHd urhtYww2o9mZ4MSbxho3VVB0wPOk9rfFEPeygvJ/NKt0XCoPP2nYD47Ostnb0DhnkiRO fXo6V3RV8Rwttmxo7LDXe6mc4RETxQkyYiKKBfuU9/GtXwQ/09xtWMl+24pnaLWz8yq8 IkbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864846; x=1711469646; 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=yTraggok76PURW3wh7p9AIEGOGIaFqWcV70ApHtUPps=; b=QEk8XzkS/k0/WkmccL4xg9pmZXzZYk71CB+5Vr2jJ42xGB8Hu2fSu5+8hATaskfCQi ZqKOfO0MA4Y2eNuk/CBe4spw9t5DsQLLLgx+pMIqmCmZ77amBtlmx+DeK7uUoxBvlDol peWtk4wFzLv9JuX6bfUrLn7NIqpQgxu5JT+lfwrqv1ygRVE1/7iNj0EjU2PUn77rch97 h1+h3a/rFIyTkv0gONcGIrNAVeCaIBjGcJXfRWcN0BFA9MvaPPQt+yh4ay4ljvnGv+qA pIbCkzwAp/1TvXyYqOSjkjGadJFi3Vpb6g0e0IPwRd8SQuqU0s3W/meyzgX3rAJNd59v Q1JQ== X-Gm-Message-State: AOJu0YyHU6MukNVOGyHY0v6XzAgMGv90d97EWsJ93Tv+snFmBkpb6+C2 kDr1NmRfxi/zPBtca8OKaM/ADhXKi3pFMzQqSNFniLB5BPn5b4G9PZBWWb/8Wvg= X-Google-Smtp-Source: AGHT+IHbsJDRjHFQvm/ZDq0oQX0UJDG+6JCb+tgPHLTjbTVZij5uEhzqf3ObDNd12cpRfz/vEyH1CQ== X-Received: by 2002:a19:ca51:0:b0:513:5a7b:1093 with SMTP id h17-20020a19ca51000000b005135a7b1093mr10395007lfj.21.1710864846628; Tue, 19 Mar 2024 09:14:06 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:06 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:57 +0100 Subject: [PATCH 27/31] arm64: dts: qcom: sm8250-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-27-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/qrb5165-rb5.dts | 10 ----- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 14 ------ arch/arm64/boot/dts/qcom/sm8250.dtsi | 75 -------------------------------- 3 files changed, 99 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index cd0db4f31d4a..ce13fdfb0797 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -110,8 +110,6 @@ lt9611_3v3: lt9611-3v3 { thermal-zones { conn-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150b_adc_tm 0>; trips { @@ -124,8 +122,6 @@ active-config0 { }; pm8150l-pcb-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 1>; trips { @@ -138,8 +134,6 @@ active-config0 { }; skin-msm-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 0>; trips { @@ -152,8 +146,6 @@ active-config0 { }; wifi-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150_adc_tm 1>; trips { @@ -166,8 +158,6 @@ active-config0 { }; xo-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150_adc_tm 0>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index 7ef99038cb37..21b2ca1def83 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -53,8 +53,6 @@ chosen { thermal-zones { camera-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 0>; trips { @@ -67,8 +65,6 @@ active-config0 { }; conn-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150b_adc_tm 0>; trips { @@ -81,8 +77,6 @@ active-config0 { }; mmw-pa1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150_adc_tm 2>; trips { @@ -95,8 +89,6 @@ active-config0 { }; mmw-pa2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 2>; trips { @@ -109,8 +101,6 @@ active-config0 { }; skin-msm-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150l_adc_tm 1>; trips { @@ -123,8 +113,6 @@ active-config0 { }; skin-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150_adc_tm 1>; trips { @@ -137,8 +125,6 @@ active-config0 { }; xo-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&pm8150_adc_tm 0>; trips { diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 39bd8f0eba1e..c8d4aaacb00a 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -6244,9 +6244,6 @@ timer { thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 1>; trips { @@ -6288,9 +6285,6 @@ map1 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 2>; trips { @@ -6332,9 +6326,6 @@ map1 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 3>; trips { @@ -6376,9 +6367,6 @@ map1 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 4>; trips { @@ -6420,9 +6408,6 @@ map1 { }; cpu4-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; trips { @@ -6464,9 +6449,6 @@ map1 { }; cpu5-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; trips { @@ -6508,9 +6490,6 @@ map1 { }; cpu6-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; trips { @@ -6552,9 +6531,6 @@ map1 { }; cpu7-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; trips { @@ -6596,9 +6572,6 @@ map1 { }; cpu4-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; trips { @@ -6640,9 +6613,6 @@ map1 { }; cpu5-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 12>; trips { @@ -6684,9 +6654,6 @@ map1 { }; cpu6-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 13>; trips { @@ -6728,9 +6695,6 @@ map1 { }; cpu7-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 14>; trips { @@ -6772,9 +6736,6 @@ map1 { }; aoss0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 0>; trips { @@ -6787,9 +6748,6 @@ aoss0_alert0: trip-point0 { }; cluster0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 5>; trips { @@ -6807,9 +6765,6 @@ cluster0_crit: cluster0-crit { }; cluster1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; trips { @@ -6827,9 +6782,6 @@ cluster1_crit: cluster1-crit { }; gpu-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens0 15>; cooling-maps { @@ -6849,9 +6801,6 @@ gpu_top_alert0: trip-point0 { }; aoss1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; trips { @@ -6864,9 +6813,6 @@ aoss1_alert0: trip-point0 { }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; trips { @@ -6879,9 +6825,6 @@ wlan_alert0: trip-point0 { }; video-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 2>; trips { @@ -6894,9 +6837,6 @@ video_alert0: trip-point0 { }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 3>; trips { @@ -6909,9 +6849,6 @@ mem_alert0: trip-point0 { }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 4>; trips { @@ -6924,9 +6861,6 @@ q6_hvx_alert0: trip-point0 { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 5>; trips { @@ -6939,9 +6873,6 @@ camera_alert0: trip-point0 { }; compute-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 6>; trips { @@ -6954,9 +6885,6 @@ compute_alert0: trip-point0 { }; npu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 7>; trips { @@ -6969,9 +6897,6 @@ npu_alert0: trip-point0 { }; gpu-bottom-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens1 8>; cooling-maps { From patchwork Tue Mar 19 16:14:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 781161 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 30678127B72 for ; Tue, 19 Mar 2024 16:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864856; cv=none; b=T8qEvpX38QtukI28OtnOlBkRj2LenIrae0IM0nCqP51bNRt1X/BsOFKOOI2aSBfu22N3pgVVpDVbrjF3hQqOz48epXe8s7PcD6uZnx1BNWJ8QwUCBgKHiOEQ14v3D95cMWorwtYL3CE1LsBjfJD/597MHH/B53ChuVSLANZNtjE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864856; c=relaxed/simple; bh=C1WwkTnF4D51zKxLRgtTi7neKO7FUlW1WZehIPRagUM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WQK7RebJExPhUgPyAyjLuf6Qw5uiOtE3MHbQ+7XmygwHRWRdZYTw8LBD6nYNPP2V7+8A+MVlin42MnSYcBuzsxp/oPz2WomSqPxW/cx0NUEYQm3GbLzpQRnxJxUkswOQ2nZazy4ZqskslGUoE7bTUxIjkDCAgLn/H6uiHdjTZr0= 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=dDwEOCR7; arc=none smtp.client-ip=209.85.167.52 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="dDwEOCR7" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-513cf9bacf1so7290688e87.0 for ; Tue, 19 Mar 2024 09:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864852; x=1711469652; 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=VE7A1TMqiKAqmFzW6nlWEzBc38jwIdf+oOhpNZjQBgs=; b=dDwEOCR7VW56O/7jQOeucTWq+b1EtjyBDgf6+7e3c1VbctQ9BHENidEj2iTC7gOg3L lWOqFZmgHH7XbjiMbWY7yaVVpMWUehoL8YlXF8F74AhfLBIcfdFpL8PDL9oXYHCUw6W3 xXHRwMQmmacqjBaEigAzcRJcHh0lP894W6skbgPRQS9jNir/knY9pVaEVEOIcrDWGgcb 6D/g2BoQLRxu4eUjnKKTfRdbaj/MFTUSuMLalQorSRzb9aTStT2azoZWPYvFmUVq6j3Z p0EeUXeExg6bLbeMHheb1dpQscFE4WDXW921HlbPON6SUUGlhvaluKeRo+D9XDQFUlp3 93Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864852; x=1711469652; 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=VE7A1TMqiKAqmFzW6nlWEzBc38jwIdf+oOhpNZjQBgs=; b=cEdbrplkDPSJWNaIzrMRHeJ+M5ApNnUqyxWG/wMEDMdzdR8kKALhMTfccvorrhHq7n JmK2cbKWZOCK9L71p3xJZs8nHiA4x6a4KoVmhjQ2LM3cMVxA55Kt47Xpp1SCPVXwOlLy hywpBj1zBSQ814MRQTkUu0VWq1uq3t+oLelei2fcTcG0WE5qhQg3W/kXJT/l0CCMi+sn X/+r96CDsVML54fYZp82Opy7EXUy+Q0KYlI+7Z/pKjUGVP5a1j9yflo/7lMBrrIEe+FP cbTp4ZSh6hOrPTC9GBd2XFfbUFSF//cvhFe1+9qLbTP4IJf764PyyssuleU81v5/6gi+ aPzg== X-Gm-Message-State: AOJu0Yzspa5V/Ert7BTxeqRSF+DnDPM0OrrZkqKXBis55Uun3DeMT9EO Bp+IQCbXq/u6vDZtWxANUkiytO41BuH+ablycoXWt/LtLiraUO+NbFQCRfLyFP0= X-Google-Smtp-Source: AGHT+IG9nJYuESJlyiQ7awgWZhAwPnAQNG+SHgHrl9DiIHJkT+cc5Zh1SDoCpiSoJ/eFSy9gFswN4Q== X-Received: by 2002:ac2:4985:0:b0:513:9f14:8f73 with SMTP id f5-20020ac24985000000b005139f148f73mr10387113lfl.36.1710864852401; Tue, 19 Mar 2024 09:14:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:12 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:14:01 +0100 Subject: [PATCH 31/31] arm64: dts: qcom: sm8650-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240319-topic-msm-polling-cleanup-v1-31-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/sm8650.dtsi | 88 ------------------------------------ 1 file changed, 88 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index ba72d8f38420..f7707c155696 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -5091,8 +5091,6 @@ compute-cb@8 { thermal-zones { aoss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 0>; trips { @@ -5111,8 +5109,6 @@ aoss0-critical { }; cpuss0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 1>; trips { @@ -5131,8 +5127,6 @@ cpuss0-critical { }; cpuss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 2>; trips { @@ -5151,8 +5145,6 @@ cpuss1-critical { }; cpuss2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 3>; trips { @@ -5171,8 +5163,6 @@ cpuss2-critical { }; cpuss3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 4>; trips { @@ -5191,8 +5181,6 @@ cpuss3-critical { }; cpu2-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 5>; trips { @@ -5217,8 +5205,6 @@ cpu2-critical { }; cpu2-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 6>; trips { @@ -5243,8 +5229,6 @@ cpu2-critical { }; cpu3-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 7>; trips { @@ -5269,8 +5253,6 @@ cpu3-critical { }; cpu3-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 8>; trips { @@ -5295,8 +5277,6 @@ cpu3-critical { }; cpu4-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 9>; trips { @@ -5321,8 +5301,6 @@ cpu4-critical { }; cpu4-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 10>; trips { @@ -5347,8 +5325,6 @@ cpu4-critical { }; cpu5-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 11>; trips { @@ -5373,8 +5349,6 @@ cpu5-critical { }; cpu5-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 12>; trips { @@ -5399,8 +5373,6 @@ cpu5-critical { }; cpu6-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 13>; trips { @@ -5425,8 +5397,6 @@ cpu6-critical { }; cpu6-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens0 14>; trips { @@ -5451,8 +5421,6 @@ cpu6-critical { }; aoss1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 0>; trips { @@ -5471,8 +5439,6 @@ aoss1-critical { }; cpu7-top-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 1>; trips { @@ -5497,8 +5463,6 @@ cpu7-critical { }; cpu7-middle-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 2>; trips { @@ -5523,8 +5487,6 @@ cpu7-critical { }; cpu7-bottom-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 3>; trips { @@ -5549,8 +5511,6 @@ cpu7-critical { }; cpu0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 4>; trips { @@ -5575,8 +5535,6 @@ cpu0-critical { }; cpu1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 5>; trips { @@ -5601,8 +5559,6 @@ cpu1-critical { }; nsphvx0-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 6>; trips { @@ -5621,8 +5577,6 @@ nsphvx1-critical { }; nsphvx1-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 7>; trips { @@ -5641,8 +5595,6 @@ nsphvx1-critical { }; nsphmx0-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 8>; trips { @@ -5661,8 +5613,6 @@ nsphmx0-critical { }; nsphmx1-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 9>; trips { @@ -5681,8 +5631,6 @@ nsphmx1-critical { }; nsphmx2-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 10>; trips { @@ -5701,8 +5649,6 @@ nsphmx2-critical { }; nsphmx3-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 11>; trips { @@ -5721,8 +5667,6 @@ nsphmx3-critical { }; video-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens1 12>; trips { @@ -5741,8 +5685,6 @@ video-critical { }; ddr-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens1 13>; trips { @@ -5761,8 +5703,6 @@ ddr-critical { }; camera0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 14>; trips { @@ -5781,8 +5721,6 @@ camera0-critical { }; camera1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens1 15>; trips { @@ -5801,8 +5739,6 @@ camera1-critical { }; aoss2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens2 0>; trips { @@ -5821,8 +5757,6 @@ aoss2-critical { }; gpuss0-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 1>; trips { @@ -5841,8 +5775,6 @@ gpuss0-critical { }; gpuss1-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 2>; trips { @@ -5861,8 +5793,6 @@ gpuss1-critical { }; gpuss2-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 3>; trips { @@ -5881,8 +5811,6 @@ gpuss2-critical { }; gpuss3-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 4>; trips { @@ -5901,8 +5829,6 @@ gpuss3-critical { }; gpuss4-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 5>; trips { @@ -5921,8 +5847,6 @@ gpuss4-critical { }; gpuss5-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 6>; trips { @@ -5941,8 +5865,6 @@ gpuss5-critical { }; gpuss6-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 7>; trips { @@ -5961,8 +5883,6 @@ gpuss6-critical { }; gpuss7-thermal { - polling-delay-passive = <10>; - polling-delay = <0>; thermal-sensors = <&tsens2 8>; trips { @@ -5981,8 +5901,6 @@ gpuss7-critical { }; modem0-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens2 9>; trips { @@ -6001,8 +5919,6 @@ modem0-critical { }; modem1-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens2 10>; trips { @@ -6021,8 +5937,6 @@ modem1-critical { }; modem2-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens2 11>; trips { @@ -6041,8 +5955,6 @@ modem2-critical { }; modem3-thermal { - polling-delay-passive = <0>; - polling-delay = <0>; thermal-sensors = <&tsens2 12>; trips {