From nobody Sun Feb 8 08:47:49 2026 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 7C1DA81AB3 for ; Tue, 19 Mar 2024 16:13:41 +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=1710864823; cv=none; b=mrHfpOIMFNbD3JOJfiOZB/Dbm8Mt68Ep+E1esjY9YSdGgtmXXF07wGXsR6bWB9k/WEZ9OMfMf/DIn2kc9dt60T+2YoimfbeOn8NotblT47MC04m46wD10kvFhH8oWv8dyzGuCHV3ieHO+WlIRN3RLfcij+aAjab4u6Udi3LoLgw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864823; c=relaxed/simple; bh=k8lnyjg65wL5etJQYY5aU0Vd22mGTE1lhYSWDl+Scgc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HasLKOPmAkUiN3XU7ekWiAfb1IkCtFjR1WDhQUjQ1s+Xaoxdt1IBiR1DUb8Mk+ZFU+7GWC1lN2rm7f6WZDUoqdCHf7qcBuH3I3rE5EQmfVk/WqXuEECRmShZt1ddjetEbT/5sc+hZ8Eb+3kwocwiGHDIhwyZG7VxIuBFKR2ablk= 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.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="brvYlci3" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-513d4559fb4so6995893e87.3 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=MH8OZZLw5CPkf4PjiHKYnN/YI4G1DanrugAe+BY4xQi+Rzv8JFTUuGE7hrIMngD+8G GHk6+jOj/hWZqqmDEIm2n+9e0aPnhSZkIU/lQBqruri/AI6wM90seJHrF5StW5rPt8LY dUFD/7vREI+oZX+zRHZnobr5qLI1HYH8oWoUfNrWJvU+WhRwnXUIk1LkOtS00Bejv6O8 LVi62zWOkctOl29+OeXxfh3XGSqZkYSaZC8ty2OyBEt5oHF+aPKqpc2Jl21iQonVbDKp v9VQRrJtVJhQbw/h/ow0v33uG8CM9DNPgrsi+bRtdCVT2u6qMFQO2Z9v+E5hEUn2OdLJ e5YA== X-Forwarded-Encrypted: i=1; AJvYcCUZDHeYdqao6MKCPB0BtPgWOpkZD3QKNA5bLuXrSeeRuxqbuvnKFujUpAmMCd6JE/xYeLhpIARC0q+7B7YT1qljSIs/1d8Xxta3UZpM X-Gm-Message-State: AOJu0YwtAXuZV7CEZEFrhzOggTNGeRfohxIiGwEqGoYKa7SjTwXBS6ur eq/6vAHzF4r6IJpNWl4TRARTO/9IeIYPN+YRJv2hXfHlsGpeqheck6Lo1oy7Bv0= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 { =20 thermal-zones { nss-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 4>; =20 trips { @@ -926,8 +924,6 @@ nss-top-critical { }; =20 nss-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 5>; =20 trips { @@ -940,8 +936,6 @@ nss-critical { }; =20 wcss-phya0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 7>; =20 trips { @@ -954,8 +948,6 @@ wcss-phya0-critical { }; =20 wcss-phya1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 8>; =20 trips { @@ -968,8 +960,6 @@ wcss-phya1-critical { }; =20 cpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 13>; =20 trips { @@ -998,8 +988,6 @@ map0 { }; =20 lpass-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 14>; =20 trips { @@ -1012,8 +1000,6 @@ lpass-critical { }; =20 ddrss-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 15>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7856281ABF for ; Tue, 19 Mar 2024 16:13:42 +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=1710864824; cv=none; b=qISn34Qx8aXeAEmxOEU2hTNPsjOyCfR09tQQYDPWuN2dRA5kQ2bIXtpjUz8BL7HAqXfyNiLtL6C08jo6Qz3xioe8ngrHcFjb5pCDJecGiW/KzrGT2H2aRh93/zBRg9+fIt2FD+3Duge5SE/Ly+l0P5WVT6aDhTDz0cD4J5jHPiE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864824; c=relaxed/simple; bh=53rfcs6wPcUFJBxFhOnzU59sjBsZn8dZASabRE5EfFs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mm+yJZcqKOmXZevsCztlCMJcCswKPnjtly9fn4+3sFD7L6HL9c199jBTs1a52Rtr8e+97FPCR8EQOQ3GSY5HuPv9EGx0NaJdw1RNDSpB7qC9Jv8lw4yIq+5mXjqT4Uwgh/4azZjP89JNmWEyIC3cGbEArPi9DkTPxYK8izYh04M= 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=pCNuOEFc; 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="pCNuOEFc" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-513d212f818so6867980e87.2 for ; Tue, 19 Mar 2024 09:13:42 -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=dKhk60UIiAqlpRk16jVKRzKgNE6SdDJ//RGq9EU9euk=; b=pCNuOEFcz9UHAqLDtbSRAR0ZFgaLEWiy7bL0JOpdXb1+Bt6c82xnN7bDivw8BalMC+ K4kbXHjloJeCJwOUhI7GrKHLND+ZtE89fhuXMmyfF04nOVqUpi+rdJ3RRVXCJm85nlgE LgydoQQUQOtXae3bCZIybwhYhmz4SF+gMceNOB7E9Hfo/QVdu9L6QIW4+smWGO/orJYi TrC4lIJW0W27KdUKwBV1NA1z6YNb2hB2LeZNLB/SzClHQTd65iyb3w96Rkpo1zw3ABHe DOr5uLcNFf434ooxYTnj4SzbPHO32A0Gco6WVXg9FvafhTplo+Wwwoik7BHgsxmi/51H qwCw== 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=dKhk60UIiAqlpRk16jVKRzKgNE6SdDJ//RGq9EU9euk=; b=MOP/yGoX6FeEA9cshGgC6WIV0Hfne4wPHVKoULlS/3DKHLaRH/wTNOiSH4Yjh6TNpV bvIr80gRtjcpPhIEHZpwkJa3yOEwXmQShqtNEJdvrwmXbcPMDsslVAhlO47E9M60R58V aBTA7kVn64y1/VHsfbNgAq7rvFyGWdeaOiZ3Qd9gWZlpAkSxek+uG/aKZAPBNPC3iR9L fEjGfSeToEEIUzZnDVlxo+lOf2K+giztGaRJOJfAWimnmWEgBrPSidVlBBKDWmqd8Gsg qFx5TWugTinNA2tCu6UIwh3Zf7m/Jk9i0aiCKJjpCC9yWZwWFaKK2wnY67qq3Wp93UWR dKUA== X-Forwarded-Encrypted: i=1; AJvYcCWBQjNspeSRpZW+Kkzq3GaJlaVHvU5mtoLHPSOOwZGtMZz+xoUwnCz0fzVvKNzQDgga4NZJyg3Kk7qd+fLfv6kRE98lmdZlAz4BnuoU X-Gm-Message-State: AOJu0Yw2IqfMdWJhc6ZPQPVCfqAkns8zhxrG/9sYNOvE017hs91q3Y3x F7H5KQEOZa22MbI1tyL30hX32zxe8OYqtDLscO1tJdgX99IynWaNINkJAKK/cYE= X-Google-Smtp-Source: AGHT+IH6aNVKYcARt+lJ+X5dNVRSQXSHI9p8pOvhyEOLbX/nKridsjACQUtxdYhIW+jNSEVbE+si7w== X-Received: by 2002:a05:6512:473:b0:513:da61:9b46 with SMTP id x19-20020a056512047300b00513da619b46mr8573736lfd.53.1710864820716; Tue, 19 Mar 2024 09:13:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:40 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:32 +0100 Subject: [PATCH 02/31] arm64: dts: qcom: ipq8074-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-2-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/ipq8074.dtsi | 36 -------------------------------= ---- 1 file changed, 36 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qc= om/ipq8074.dtsi index e5b89753aa5c..75641175dbfb 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -942,9 +942,6 @@ timer { =20 thermal-zones { nss-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 4>; =20 trips { @@ -957,9 +954,6 @@ nss-top-crit { }; =20 nss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -972,9 +966,6 @@ nss-0-crit { }; =20 nss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 6>; =20 trips { @@ -987,9 +978,6 @@ nss-1-crit { }; =20 wcss-phya0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 7>; =20 trips { @@ -1002,9 +990,6 @@ wcss-phya0-crit { }; =20 wcss-phya1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 8>; =20 trips { @@ -1017,9 +1002,6 @@ wcss-phya1-crit { }; =20 cpu0_thermal: cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 9>; =20 trips { @@ -1032,9 +1014,6 @@ cpu0-crit { }; =20 cpu1_thermal: cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 10>; =20 trips { @@ -1047,9 +1026,6 @@ cpu1-crit { }; =20 cpu2_thermal: cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 11>; =20 trips { @@ -1062,9 +1038,6 @@ cpu2-crit { }; =20 cpu3_thermal: cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 12>; =20 trips { @@ -1077,9 +1050,6 @@ cpu3-crit { }; =20 cluster_thermal: cluster-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 13>; =20 trips { @@ -1092,9 +1062,6 @@ cluster-crit { }; =20 wcss-phyb0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 14>; =20 trips { @@ -1107,9 +1074,6 @@ wcss-phyb0-crit { }; =20 wcss-phyb1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 15>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 8DFD481ADD for ; Tue, 19 Mar 2024 16:13:43 +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=1710864825; cv=none; b=BtlJDlhmkkA4khOWYhh9vOxNupS3WWwP40uRhE+9ICA7gvF4DYSZ7FCcCY6mDN3A5NATUZyoo6P+cUx387Dw24jIZ0Deq4lq8nm9xGLKUDo3EKoF9nMRQnbxBsj0h4/qVRggT0o1e3jZjf/Cy2uM09gCeYtsr5T0HAJo4I2btHs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864825; c=relaxed/simple; bh=AI/6GDzleNINtkezjfAEmbDXxNIt1iLgs6smOMt1BtY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FNLApXlyU7ZrNZRpb6AWKdyrJnfAjV6wxclP8+6innVKCgqcMKAHYhsFe8IwGZKRW7+W1FWtcTSEuSq8/EPEhkAdCsPcuRVFUjpmaJP4Zw+uNiUYnBqKQC6njo3aVzSZLXTB3ghwEbxRIfyP9TlV41U4oD+LLIg7LEeYNQp0/Cg= 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=ozFW/VoO; 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="ozFW/VoO" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-513e25afabaso3209631e87.2 for ; Tue, 19 Mar 2024 09:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864822; x=1711469622; 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=cK/DjygM8+bO8NZk8MSB3Ko2HzSfu+tnWhQWu8DehZc=; b=ozFW/VoOBKXQeUN5+MmsNMk+xzgS/xe2wt90gXKcbpvD/6UH0iPhESuGZbkLlOOkMJ 18vwuTzxV+SSPKkoeBnQPzMdVIZubObW2i0pBPNwNMGp2CTvpZPBjGqxw9ho6PtTKf8k 6PlTPxnQ88I8Vg7KnjybhQzrhXrTXlroR9TZfPrIQsqjmfFAVhc0oVvnryXa2eCoT9od lor1u0dkUinBnehZNR5rx8M7m5P72egVzusy7ASQnJTYs/M9w57Pv4/Vvahzr/qqquqG jh1i1Nr2v3t0030W9zBEjcNzXc5uNqWTkx1pKQJXfz8wLd1LTakoEiMPH2noLRcRSpNI U+dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864822; x=1711469622; 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=cK/DjygM8+bO8NZk8MSB3Ko2HzSfu+tnWhQWu8DehZc=; b=oVFnFlzUTrCB4gT+tIspKODDsWiCCS7uLx6JPF8bLtfreX4g3e4H4cB9uMSv+w44q2 8Lj+ucoeNnE46SA9vqGEMICsXZqE4dv3aw88Um0SINnOSoeICb6Nj367B9Ys1Ft06Hpc uXilAIFolXM9s/o2OrSjf4l0SpLR20/Y8quG+WflybKLwee3vTddgBV00zft40Vz1Fk5 G+cypit4bREXIiUO4w2WaDCfkog+XCFcaT7e3kS318VaN/NY3Sqia9ONGOpTm7c7UTyN kxO4VNrrbfLgQbnAM/2FYpdBF5yzPp8FYSBN82cxWh1kH2YQeXjEH0ANtNEmAQ7Amf5U tpcw== X-Forwarded-Encrypted: i=1; AJvYcCUV8iikvQYF+t4Hto0ZnqxSYGBiKDa3gW/17nhqtbtQeI4bR0k96DXrJtElrliME+mwXLub1/LcIrw8uzXA2BgVnZ+OebDECWDDubcM X-Gm-Message-State: AOJu0YxTwMf8VgInHwLIJbMbZ44zkniScPmgZJQxodIuJOJpd2LYstT8 +TFO7msmqK4CibHAMgiqZKT0Rn7pxD4lsYTAza9ifbiHay8LlnhlCpU5DzhO8og= X-Google-Smtp-Source: AGHT+IGXpqTMMqMQtoD8GlYkET93+vUVl53lsGT3mijIE32aVUr82o7PSkzaLdW1uxZRxDx/280DBA== X-Received: by 2002:ac2:5b84:0:b0:513:58a1:f4fd with SMTP id o4-20020ac25b84000000b0051358a1f4fdmr9833316lfn.25.1710864821702; Tue, 19 Mar 2024 09:13:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:41 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:33 +0100 Subject: [PATCH 03/31] arm64: dts: qcom: ipq9574-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-3-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 Reviewed-by: Varadarajan Narayanan --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qc= om/ipq9574.dtsi index 7f2e5cbf3bbb..98c5623f4391 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -749,8 +749,6 @@ frame@b128000 { =20 thermal-zones { nss-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 3>; =20 trips { @@ -763,8 +761,6 @@ nss-top-critical { }; =20 ubi-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 4>; =20 trips { @@ -777,8 +773,6 @@ ubi_0-critical { }; =20 ubi-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 5>; =20 trips { @@ -791,8 +785,6 @@ ubi_1-critical { }; =20 ubi-2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 6>; =20 trips { @@ -805,8 +797,6 @@ ubi_2-critical { }; =20 ubi-3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 7>; =20 trips { @@ -819,8 +809,6 @@ ubi_3-critical { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 8>; =20 trips { @@ -833,8 +821,6 @@ cpu-critical { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 9>; =20 trips { @@ -847,8 +833,6 @@ cpu-critical { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 10>; =20 trips { @@ -877,8 +861,6 @@ map0 { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 11>; =20 trips { @@ -907,8 +889,6 @@ map0 { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 12>; =20 trips { @@ -937,8 +917,6 @@ map0 { }; =20 cpu3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 13>; =20 trips { @@ -967,8 +945,6 @@ map0 { }; =20 wcss-phyb-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 14>; =20 trips { @@ -981,8 +957,6 @@ wcss_phyb-critical { }; =20 top-glue-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens 15>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 93BB8823C7 for ; Tue, 19 Mar 2024 16:13:44 +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=1710864826; cv=none; b=iEJlHTb6eaD550y6sZeeOnVqZCbpGeYR+C7gIPGYz+WsXWIbBZ6+KzD8xChqsZYfEY7KKnhbkS1DYshjgzZPBHEY52/VeKYFo4JkMYz9ZCVcMOvCpZ4fxa6TmpvBrVnSKxelJ5wEEYaFD7W+I7a42qqSTEAJJoYolWRSKlHqfJ8= 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.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="E9JtSYDv" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-512bde3d197so4708858e87.0 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=g1cPXCI/PvC950dZ2m9f+LU8m16qsdMZf9YdGX6wqLcXoF38DBXNtpjcC4s46a4VSm v/98PwKGDUbR9Fa63RteZ3r2gBAAdXI15ootLBmxWGFu56eZOOq4zaIKxDjiF2c7bNbQ K+cnRn+gTbQq55TNVLfFC7RWhk6zNWiAXo2cvd5aa9aeVFbzQefzfK3tYt75mRrvW+b7 7q4bEXRRlBFlcWnRLIYewL4xKFXFxlI5wPzyxmlb3sKnmv9iHeudeRIgK2vUfraSwZWa wEGE9Mo7AKqNLo2U0D8qrwW0y6NSUD2NNs8md/YdVrIOYT3Zxx+Pa8ioQ9oYCsO4H10L KIpQ== X-Forwarded-Encrypted: i=1; AJvYcCUBO3HV4qsVFxSgb2Xt4h21ZluF0wp7Ymj10bGa/46I/MPDitH7PXG0yyZeY69PvAkN+dDMqd/0Pzn3TUUMCYGEUrV/Rp7luUB+H0w3 X-Gm-Message-State: AOJu0Yxuc+FpgeQ8GxUxr8nocfaV7bfPzMtFTY9pB5d5WT/1dxt/QjNw P9wSdF91v7NEfc2PK/fx6/xC/6bgBLJhpttHhR7i6n6OE1A+/GCX+MRvpzwqOzQ= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 { =20 thermal-zones { cpu0-1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -2655,9 +2652,6 @@ map0 { }; =20 cpu2-3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 4>; =20 trips { @@ -2685,9 +2679,6 @@ map0 { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; =20 cooling-maps { @@ -2712,9 +2703,6 @@ gpu_crit: gpu-crit { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; =20 trips { @@ -2727,9 +2715,6 @@ cam_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 9B32181ADB for ; Tue, 19 Mar 2024 16:13:45 +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=1710864827; cv=none; b=Euye8kX9pZVRO8N1fWTn5bGZkyQmgGWLIA+KGXUtlnvtddKhcCs2p7jqVK7RZ+cP7lVO8CAax/uu3xhaWzqcJYWQs2dy6SUjvXMeEiFqwGR+WPXwfPccDrxsrsobenbAkrYfwrOBUIrJJj/6ZGD7vz51OY/W7WqmqOPvy8wKauM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864827; c=relaxed/simple; bh=DbBjX4DIiuCNjj3JhLbWIrKqfrFfqGS03QX0BIULxbA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PWRFKzlUU+y0bzJbzQJWBUa+TXM5BVh8rG6bnQVQWWUyUqN7pVtOQgnUrdFxZBXFX+WKMZ56zRXEo0/BxlxxBeQ5a3Mko+NaEn2PKgbJX4/X6pFqb3MQJB5urlVTaibh2lH+avuklTvQ1Zw0YWD65Fhmu7pMDqXz3cq8XE91R00= 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=KNNT/yNN; 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="KNNT/yNN" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-513e134f73aso3556968e87.2 for ; Tue, 19 Mar 2024 09:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864824; x=1711469624; 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=r4U5+kdqeP777KP8JmcZQhYQROmx+V53PtnamLYp1ng=; b=KNNT/yNN2oRVvu9Tew/UrrLTeRM2Qdx3IUSRwFEkM1v+3LKt02O27cOWBsAZSFJtwF Rsp3BxMDixQoosiYbIB5yCbjpGQOflK2mgfh6vOlSs0wDa7Z+NuDXLMCGf02ZOOFUYyj hs5GKBhPLTt6RBNhGFu38CZEq/LVwtGFmyH+ZCBU9GHcS5TzKTqDuw44wHnKadEwXLYC QbrDM/5sKQC/BVzB1BqCzktrCg549HybTRmvtlYwFVE0NKYTBg9EgV5OCVl3WdgPjD/Q eCByMLO92vIeO0d6dx5NXf0Z3/zSVrrxauSkQhle+QMv1d+9ewLYcXtHjN/BQPKZ44Df Zf1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864824; x=1711469624; 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=r4U5+kdqeP777KP8JmcZQhYQROmx+V53PtnamLYp1ng=; b=nIQnc09uleejyeaZ5pca/7xiVdt0d6DCYbpXt8nn3KfrVq4fvwfh9jE4s3lCElwo7N Tze+ejYoaLDYjak2b8yXElcwWl7M5se7/7R9BPW25RSMg7NLMdZPexWzV5yPyzOJFJns /y5cxdd+uu/16uGBHnTaqm5YjyHwvusITSokz7Ln6z7ZwX8Dodyk+Mdi591cygLAgWge TKkej3ze158QcOLecMnlBu/sQgU0EAebOJ/htOYwhEki/fga3ljkrqRdNv55UF2cr9BQ DQWB2Ai8mogGqo2N+d0UdNH/Dy4cNwNNJ7rLsLK+vu/XfZ3+9FrmFBoqqqMWMC0z0AwN OIHw== X-Forwarded-Encrypted: i=1; AJvYcCUD6pNabodZSfw7uxFHucdnLvtTL2oXEVReiOg2XpjHmIvMHCwfO8FlG/zi+K4CqjZVwJkLB/XB1iseDfcJWnxCf/YTKQiC25mENYBS X-Gm-Message-State: AOJu0YwkACi7njF5tfTijgzgfMJv++F23AYIuwQD2QIsFJ/2cUoYwW2r TiHFOHJc/8tt84D4+eYHtTHXHbEpVJDscij3oY9jkZ+mBKackeoKOLMemD7fZG8= X-Google-Smtp-Source: AGHT+IH3IoYWQxwcFXVcO05zaViq2XKBO5jhW6naBXXxyUbEelGzFLhanXgDvzukc/mr4Qo9YZbPMg== X-Received: by 2002:a19:e00f:0:b0:513:c54d:7bd1 with SMTP id x15-20020a19e00f000000b00513c54d7bd1mr2226551lfg.35.1710864823932; Tue, 19 Mar 2024 09:13:43 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:43 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:35 +0100 Subject: [PATCH 05/31] arm64: dts: qcom: msm8939-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-5-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/msm8939.dtsi | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qc= om/msm8939.dtsi index dd45975682b2..43c0335b2be2 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -2298,9 +2298,6 @@ apcs2: mailbox@b1d1000 { =20 thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -2329,9 +2326,6 @@ map0 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 6>; =20 trips { @@ -2360,9 +2354,6 @@ map0 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 7>; =20 trips { @@ -2391,9 +2382,6 @@ map0 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 8>; =20 trips { @@ -2422,9 +2410,6 @@ map0 { }; =20 cpu4567-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 9>; =20 trips { @@ -2453,9 +2438,6 @@ map0 { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 3>; =20 cooling-maps { @@ -2481,9 +2463,6 @@ gpu_crit: gpu-crit { }; =20 modem1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { @@ -2496,9 +2475,6 @@ modem1_alert0: trip-point0 { }; =20 modem2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; =20 trips { @@ -2511,9 +2487,6 @@ modem2_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 B341582C6B for ; Tue, 19 Mar 2024 16:13:46 +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=1710864828; cv=none; b=qdqSzpFKqsfCD2a9rxNqNNluvz/KrEIZi7tFoj0Api0IN/UCTYTp5u4SECHlnNAgld2frPndt4ieS4LPLUjOQV/QoV3GJTw4OV0o61xC6Y2eqsm/d7cijzau4l9IqK/ROhEeN/leiMNP7VcxhYxa/N3Yh3D+CYnkzLu2CW6e4pg= 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.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="RLb3xpLj" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-513ccc70a6dso9874526e87.1 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=nLh1x6KjK2xZTZh4FMh6+vgeeBZMNtWB56rQQLwcnAJVUFu/5W2S29xRHVpTWF5rs4 u0AJXCj3mZm6zwNC4xvzZkCxzcF3pDX2n4RmbnB58y5XhGHByky6Gctub4kOfy0HwLWC rvToLDswy92Vy1TPTYlCcPU4cyzxmgdgrabT5Fn4fQlsfmu9BgRV1/S0QzOgT5iUb3sJ a4Yponh6SfbV/7r58f22M61G8zPn1RMOI8DQC3m9fMehoF1inzCFSP6E+yg372MfKZaH jFAdJrsRx6YerpWYpw1i4g4bFbWllpGL9+8SYaDRH3OnMNJdadv13DNFe4R8R9gn4S6w mp9Q== X-Forwarded-Encrypted: i=1; AJvYcCXLcsqpgURT9mF+OSMoBxUdHu5xrJh03OxglNDs1HE5fF6YFqZ4rFbSP9E+csnk7/je0LTH7BmA4wbSdt3msZR3+gpRKh9T7tHjgr88 X-Gm-Message-State: AOJu0YwU12Wth5Ncwh/Jr/rZDZQhhlQgHksz1kjBTSel2aN1HTtp1Tlr Y6lC/aEj25aTWDY9+S6iWYuls5IGrrRN7crwEldyfabO7iXr0lJg9TqXACYBt2s= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 9>; trips { cpu0_alert: trip-point0 { @@ -1976,8 +1974,6 @@ map0 { }; }; cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 10>; trips { cpu1_alert: trip-point0 { @@ -1999,8 +1995,6 @@ map0 { }; }; cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 11>; trips { cpu2_alert: trip-point0 { @@ -2022,8 +2016,6 @@ map0 { }; }; cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 12>; trips { cpu3_alert: trip-point0 { @@ -2045,8 +2037,6 @@ map0 { }; }; cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 4>; trips { cpu4_alert: trip-point0 { @@ -2068,8 +2058,6 @@ map0 { }; }; cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 5>; trips { cpu5_alert: trip-point0 { @@ -2091,8 +2079,6 @@ map0 { }; }; cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 6>; trips { cpu6_alert: trip-point0 { @@ -2114,8 +2100,6 @@ map0 { }; }; cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 7>; trips { cpu7_alert: trip-point0 { @@ -2138,8 +2122,6 @@ map0 { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens0 15>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8953.dtsi b/arch/arm64/boot/dts/qco= m/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 =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8953_temp>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 B679F82D85 for ; Tue, 19 Mar 2024 16:13:47 +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=1710864830; cv=none; b=k26qs2/UhD1MLi0hqhJ2M3BHUpSmIQgR0qYGlR98eeWKSXLtb31IFS0kOT60N2aUtvSLtce3wPt6+4KDPPHMKHkeEe4cgIo16Vbv1h23w32gYMd8VtMEKsGEO0ss+pArKsYfLDRS4wVaJltEHUe5TBxLueY0NZKCYQyINhHXGLs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864830; c=relaxed/simple; bh=PFYMK6VYlsNGq0yT2mzUkiCLZovHcDvfCBSf9J4E7w8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W8DL1Co7CxHiAGQr3tHUSShUgtRkaFdrXVuuSMoHokRIIv3+kinmeFQ1RffVyUwZV2/xgkPy2za2Wegdv4YaKiCNz3F/B5kjiAXbNrR8MT0T4KCxT2gnCDAeaRUA52sB1pJ8NIYPG77eoCpX+Kjwv6D6qrvTqSnSxYjYKdsmIKk= 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=flJxft6Q; 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="flJxft6Q" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-513e6777af4so4509729e87.2 for ; Tue, 19 Mar 2024 09:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864826; x=1711469626; 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=5zjX2LvJZoTkKgrNigxF1JXeIkRgZu7NU8ImcW2GIeo=; b=flJxft6Qx/sLfL08fCzLeilXx4jeuhO52LEJ1wFqXPnA9rGStX8zrdnD6woN8U0X7A WM7ClmDewfd5dGA0swmYvUZPD4YGLShtLpFU28P1rqDDyxkFRXcBGkkJzgg0EmVC2K9k eJ/UOzyHYoXyuDeNbIa2yfR9Blxkq7I1KROC/HCZUSb4OgfoKzJOYjGc9zmTtHBK1zkW 7u+yy4Lihn/AzLtsBTlkUi4IHbjbSGH1o3JgSILN45k63oN/3vKDfSsls1SZb08i/m2E +AIZgJD6DWLNW4omSjYYW3jdewFVn/3UW4anq8M/adhISC/fD63w+yaXh0miMwwUhYMt Ue/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864826; x=1711469626; 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=5zjX2LvJZoTkKgrNigxF1JXeIkRgZu7NU8ImcW2GIeo=; b=BEvExyMNcipzSkTY5wCOH/nUBxq0m3sGDygaZ3iGLnp2ppE6E7qLtIyHSrSi3Vu+64 BAbP67MdB38/umukojxNZokkEuINqP2cwWK3/rqiSROTrgXPqvPxaw0qGctcXUDvRcuQ 8DDoAEc88RZd1XXCV0KWNzEZRVX784pt/09PJlVlV19cVXbNtsVkjXWUjc/y7uOnf0I7 NXBJiLvUGCcrtqHzhrARqaShvG0ZYFHGWsu5KcMZ5eLaI7fNaGNWQzhiE9RPb6JNK93E QIDD3lg5RrCbSqkrnpIEMHUeIrzv1UNp7f5XmRM8IKu6hDHa21tSazO6581d4k92cgG1 FnTA== X-Forwarded-Encrypted: i=1; AJvYcCXW/pIo3JR+BEgCZRvKB3gZ5B2j5mRiYn8EveGj2ojsrwEW5RUMKMcvHbIgS/OzhJl6aXFSZzOuwuWxL1QZz1qOzAdbwWiZX86xuBIr X-Gm-Message-State: AOJu0YzgAhJRqQhHdQSNTbpgt0Ft+3DhVezZ1edIoKpmFQrBWSJgrOnw FTgzZZB2WWo/18+cjkeW0urS23E4QDW7goZ6nm9xD9msPJkzQVKqZOxkTbDABxrC820gscsQhMw wp3I= X-Google-Smtp-Source: AGHT+IEl06sVnPcghkVNp49cEc/4CH7lfCC+t3lCR6sd/PvrNoUINkJMCmtaDs7RzkSG1YYm3FInlw== X-Received: by 2002:a05:6512:b9e:b0:513:ed17:af03 with SMTP id b30-20020a0565120b9e00b00513ed17af03mr5570583lfv.59.1710864826155; Tue, 19 Mar 2024 09:13:46 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:45 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:37 +0100 Subject: [PATCH 07/31] arm64: dts: qcom: msm8976-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-7-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/msm8976.dtsi | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8976.dtsi b/arch/arm64/boot/dts/qc= om/msm8976.dtsi index d2bb1ada361a..09cb8cbceb6e 100644 --- a/arch/arm64/boot/dts/qcom/msm8976.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8976.dtsi @@ -1123,9 +1123,6 @@ pil-reloc@94c { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { @@ -1138,9 +1135,6 @@ aoss0_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; trips { modem_alert0: trip-point0 { @@ -1152,9 +1146,6 @@ modem_alert0: trip-point0 { }; =20 qdsp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; trips { qdsp_alert0: trip-point0 { @@ -1166,9 +1157,6 @@ qdsp_alert0: trip-point0 { }; =20 cam-isp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 3>; trips { cam_isp_alert0: trip-point0 { @@ -1180,8 +1168,6 @@ cam_isp_alert0: trip-point0 { }; =20 cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 4>; =20 trips { @@ -1204,8 +1190,6 @@ cpu4_crit: cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 5>; =20 trips { @@ -1228,8 +1212,6 @@ cpu5_crit: cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 6>; =20 trips { @@ -1252,8 +1234,6 @@ cpu6_crit: cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 7>; =20 trips { @@ -1276,8 +1256,6 @@ cpu7_crit: cpu-crit { }; =20 big-l2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 8>; =20 trips { @@ -1300,8 +1278,6 @@ l2_crit: l2-crit { }; =20 cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 9>; =20 trips { @@ -1324,8 +1300,6 @@ cpu0_crit: cpu-crit { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; thermal-sensors =3D <&tsens 10>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 E9348839EE for ; Tue, 19 Mar 2024 16:13:48 +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=1710864830; cv=none; b=fHTEMHm0n0C9ZIDyTLwUOx2pfRsn9cPPVQrIzXduGQ3qx4OYBzbabaf2nreCot7AXFYY+2XNZ4YyCk++n4vxRRroLKqK2bqYPLXC4jrK55qCikjrtqY7H7tXT+Xyl8hv1uTRRMRRQ7WhWQg/eqvG9L//oOoopLrcLHcw4LLpLNA= 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.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="cdmnIy1b" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-513d717269fso6157358e87.0 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=E4mTgfBXX/AVu5drxYSkVE/ffgI3xDYdxuoZ8MXvcn+ibGLgo40XgbV1vL0oE/9ORS YpGbNvy2ouWzJCaQPK3nVATI/yzPRV8RSWBGRa/hlJ31+kFqBW3hNJcjCGF8jgTb7n1D oWT6pq+WdmTTFewPiirzxkbdWtHb6rlXR5E1wqUEtZfoiKVXRVQXzUvw4q5ThxZDPBVh ygqi7fjjfTHhSGs8Su1pc0NZRVHQFa7S+Wj5vDKe6qzJjAqGnU+WClBlWkb7axcuH1Hy 1k6vgGO4NMlwO7hbVkG27NpKhneD10ntl8aNPDmZOOiwvXhoeDv4WOtmt/v5ORZfuiVW oAcg== X-Forwarded-Encrypted: i=1; AJvYcCVG3jDnanDq123EDvinAwedXG9wLONyfRyXbB0vU3RMYGwVmVipwi5R36bX6UpRLBLyMWA8eZWRmwEULVgtfWdCvbQY3rmKnNxGYAEG X-Gm-Message-State: AOJu0YxTLG2f42DvrZFs2X5gitCwA1457DqJThAQMdbYYsc8vySFarbT Jc097yJFz4tL9tbRE3KvQVhbIoTd2IDjoQE9gItoNMte8h6U4Y3teXMnAORk60Q= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -3644,9 +3641,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -3665,9 +3659,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3686,9 +3677,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -3707,9 +3695,6 @@ cpu3_crit: cpu-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -3729,9 +3714,6 @@ map0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -3751,9 +3733,6 @@ map0 { }; =20 m4m-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -3766,9 +3745,6 @@ m4m_alert0: trip-point0 { }; =20 l3-or-venus-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -3781,9 +3757,6 @@ l3_or_venus_alert0: trip-point0 { }; =20 cluster0-l2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3796,9 +3769,6 @@ cluster0_l2_alert0: trip-point0 { }; =20 cluster1-l2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -3811,9 +3781,6 @@ cluster1_l2_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -3826,9 +3793,6 @@ camera_alert0: trip-point0 { }; =20 q6-dsp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -3841,9 +3805,6 @@ q6_dsp_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -3856,9 +3817,6 @@ mem_alert0: trip-point0 { }; =20 modemtx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qco= m/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 =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&pm8994_temp>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 B4D6C83A05 for ; Tue, 19 Mar 2024 16:13:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864831; cv=none; b=clL030eYWEObdQxzmu/PERDp8y7/N0UwB5Z8qcudf7102ewyOSKh9SfDaAUwOYYj3rNCfOKAGxrjrsgRrgmlmmR+KKC/HNYVY3xmNlz/ezZrYe6JxGJa7QvtXWDfK2AcW25cAa/STl58HCcCQ/ywGkIKBWXqWR7lLDYuXh1r2qg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864831; c=relaxed/simple; bh=Dx4eKRKD7RSI0UXacL9tWgAfAMYTeDCaf8UjZrFGLoY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=E1Q90ndcs6wVXvtUv/RyM0CCs1rJYGkzTwW+/Vm0O569UgegukNbI+a+Xk11CpH23RnvgSNlJyc2V7wPMtAFu5J6Cjkc7qVAJ99SnKOYrJ62mjpQLB4Tn6toFw+jZbj26/T/aElqDf8yLWCAx5k9RPLkVJCiKJmeCrCLVQjExOs= 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.53 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-f53.google.com with SMTP id 2adb3069b0e04-513e89d0816so2951766e87.0 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=Zt2xKCnUSoRySCfhthf9f1CNpDZowWFTGv36rJSCKgJ+N6QR7QWDksiVtitqhyivfX JYSi6CCBMaTA0UNOtt43+fZlC3BZxytM3orr1sd2FklMp4pzQpfChvvaNpKJLAzxe+vN qpb3tiI095e+77RgNT0woFHqFSLAxCZ3wD7jekUTp6S29f3LB6gvi/ObxV+ZUKXLOLe4 UJs6E5RbyxFLbPXOUsS0+y5YjpqxWT03gl6rxVwvdqwptwSkBhX1iKnBIP0vJnUQRZwi MMMR60C/FupGZKRptVn4Zl/kAMh3RkDO6qEAEXnnZoO/SgArHwKLeMo5qitYVoHL9c4o nqqQ== X-Forwarded-Encrypted: i=1; AJvYcCV99A10ItK5/2446v0gHUURQZweBh9YImlr0ySLEwGEkzYutwO0GDovpDjPiHTE6gEx9bXiGZ8yfPIkliEZOuTztY4HwzGsqdTIL9uV X-Gm-Message-State: AOJu0YwgQcX90noJut64zjOyznERrlOBvUKUrZs+6i8mVTNVvwQVndAX Qdqbv7lbJ2uKRabQIIDcv6KMg20yWrYS1ADBcSohQZsZcbhMNmdaTWN1P1oa5Zg= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -508,9 +505,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -529,9 +523,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -550,9 +541,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -571,9 +559,6 @@ cpu3_crit: cpu-crit { }; =20 cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -592,9 +577,6 @@ cpu4_crit: cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -613,9 +595,6 @@ cpu5_crit: cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -634,9 +613,6 @@ cpu6_crit: cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -655,9 +631,6 @@ cpu7_crit: cpu-crit { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -670,9 +643,6 @@ gpu1_alert0: trip-point0 { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -685,9 +655,6 @@ gpu2_alert0: trip-point0 { }; =20 clust0-mhm-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -700,9 +667,6 @@ cluster0_mhm_alert0: trip-point0 { }; =20 clust1-mhm-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -715,9 +679,6 @@ cluster1_mhm_alert0: trip-point0 { }; =20 cluster1-l2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -730,9 +691,6 @@ cluster1_l2_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -745,9 +703,6 @@ modem_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -760,9 +715,6 @@ mem_alert0: trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -775,9 +727,6 @@ wlan_alert0: trip-point0 { }; =20 q6-dsp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -790,9 +739,6 @@ q6_dsp_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -805,9 +751,6 @@ camera_alert0: trip-point0 { }; =20 multimedia-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qco= m/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 =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&pm8998_temp>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 B930083CA1 for ; Tue, 19 Mar 2024 16:13:50 +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=1710864832; cv=none; b=Wh7WFeEMhtSf8AC4W7WV04PyRX839vFv2osZHNlev0FHxlLly8csIHM98v/GzA50XmGN1BXkqkEQcmvx66LKbgVa7v0WSHlregzuE5XpjjPcPQP1IvnTMawn72RecPMKim/UGkp3VC5KG6L7YnCAJGDw/ZFycb6aoz2HAMPrH0M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864832; c=relaxed/simple; bh=rqTT2LFE/EriY/sI55NVs82+QuhEPrh1quGlno/eeng=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=duJgxdjjmRGIVRO83rmFMZwtTfF81PavbQ2mC9uFIzCinh3vYVVRF03fyFnrAkS1Dj5nQ7JIjXsN6hemSXp2pquN/drM2rvN1aTPvs0ltlDAtJ5oafHSyuNmhCgR/+e/4pQelb521h2+o2RZCcJpqm0TVusDBVOHT7ZDSI3CjUY= 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=Tnb9Cit5; 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="Tnb9Cit5" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-513dc9d6938so5076031e87.2 for ; Tue, 19 Mar 2024 09:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864829; x=1711469629; 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=CaO4eTXrc8bS0xtP0sgmAWvsE/xaS0w0srPaY2mNrgU=; b=Tnb9Cit5A1+0LGRYXHFNbMuPQ3FANcLt1pEyXbEcL5t3RK/jBtTnWdbOK700Pq1gow ULOoGlLOdkiSJmQiBMpwBz45uWOb+Rcsca6Rjn8I3JAXUr2Hixjz1CSCsGKCbeFWjk/v 7kpidzXVml4+U10rzFTDi+JGueyh7lxPI66qikcuEnhnjY7aWPKvNqbHkNRtOp8DUncS +M2odqCDnGFp2M13KsZPGl2KzTnyoWWvZy+d6SJLYiYF5voc/mWh/TD8NhOz/6mnfE/P m5PUIKXKxGd3yI92G6c0tD7i9M5RrjRvpp99radzs9XFsUJ6ZLeYu0xIgPRQ7E8eZ06b YSGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864829; x=1711469629; 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=CaO4eTXrc8bS0xtP0sgmAWvsE/xaS0w0srPaY2mNrgU=; b=C3w2/mBg3qaq/MkmEI3ixvlM1uLEnx/pcEMyIHscTNi3pNmExhQDDFfYQSjwlhDM/T v6ENAhpCeFM5F80rJKWg2Ur0U/VeChljiGd9EGhpDYpDqM2PkQJzIouB12hQD7br1uAC RVMuyIa0h4kUsA9Gje7XT7SgbsuDNPDsAmOOjRCiipUFOHcaXq4Qpc/z7UMrvBK3UtPd 1mR9pEaAzfhNEuLvcSy3ChFov5ga2za7Yo+eKBTDpckG7vtmmI91DDKxOYu6w0TPHoOw LRT+jQfegwWRI8H8Xh0Tqy/P3XU1IiEicE2DSDtyyMeJWjNsRogVJZXCPUu8p5PoE5v+ RgYw== X-Forwarded-Encrypted: i=1; AJvYcCWskfSkKCzOtR3A8nebOIj10yFvvvLNUpWv7lLXpv7cax0Efe15NnrAEtZQdnmJF2cXwhEi7p9NPwJbLIaJwep+zCDD70xrP/34TpLC X-Gm-Message-State: AOJu0Yx1Gp4LWg9USvMV1IVccrKDJ7VZlmi5iHiRWel2R06W15ch4UOd 6iPAxkz8w5r0c52XRwoRLnSmbxWy67Vi4KLFrk6DMKM8DYUmTUgQmzz0jIENl0I= X-Google-Smtp-Source: AGHT+IEpdYlptaBm4VHg/aEwjg5gYcaCyCqLlerLuNKxFlHCamxxx7hc+yN5zx7MrQiLGznoqGSQzQ== X-Received: by 2002:ac2:4d91:0:b0:513:c53b:90db with SMTP id g17-20020ac24d91000000b00513c53b90dbmr10684237lfe.8.1710864829101; Tue, 19 Mar 2024 09:13:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:48 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:40 +0100 Subject: [PATCH 10/31] arm64: dts: qcom: pm7550ba: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-10-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/pm7550ba.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm7550ba.dtsi b/arch/arm64/boot/dts/q= com/pm7550ba.dtsi index 8b00ece987d1..05fcd8591367 100644 --- a/arch/arm64/boot/dts/qcom/pm7550ba.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7550ba.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm7550ba-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm7550ba_temp_alarm>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 A96B883CBE for ; Tue, 19 Mar 2024 16:13:51 +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=1710864833; cv=none; b=kLuo8RgkQrQsF85N5/zWxbctKLSrO2SEImNHtMOYysovG6XE9xWsl+TE/R0/lVDO7kw+9Hmj/Jiu2zvP90BjhR1ITj+NJpfvyhyO+orKYcyeDwg/JvRgfbJcv/YWgoRgXHShqKsuWfag/Pt+HLB5xWgxRcWcBe8GM5jWJzdgnHk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864833; c=relaxed/simple; bh=u2xT7Esby1J3RKYeYjNslw3blgBjT8SrllnP1vANh1g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=W92f2i0T7wBE/KQEfAJPYM7MPgKCftAMY9sfzswFrt0NVV2dFTb04CQARQm4R0ehJmUi5rCDwPPVNzdxXY0E6XwgBnz69my4NfJ/EFhox9fgff+6GszKDYSb+OGUzFkVgY0CDrms2KA/Oq5jtuGM3vn6qSmOcmPh1Xx3yDX1Ys4= 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=PoVgTN7g; 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="PoVgTN7g" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-513e6777af4so4509895e87.2 for ; Tue, 19 Mar 2024 09:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864830; x=1711469630; 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=3s72ROV1TY9FQ/rR1vBGeAP8Yy4vPnMBh3DjvW5n6Dc=; b=PoVgTN7gLvPTvkmKiGX8HGjMFMT16ZNOqLfHC5SogxN5vRvcElJFfXtfKetMUlhPhR HFX8/e1BUsqVHoGrFUBqEWGuZueeWmgsGUnAOHJJeUK9N5/6RoVlQtF1Hy+/LP8CxWWI qJRBH6WRd6dXGELE+g+/93nOEDAqOA3OGxr1LGn9b93scTkInp1iCXNcTD50KdvlkXpK 0kIKwergdnwcPwpEV6v22gxZNZSuEfeD+X0xsUIlnevN+zvajk6pkH2FbEZFmUczkgac i+fR0wn6O4u9T5Tp8T9LpHqVool7TdO2JG5UPWMmsR9J9RRo+kELX9msL6BeDeqWVkdD iU6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864830; x=1711469630; 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=3s72ROV1TY9FQ/rR1vBGeAP8Yy4vPnMBh3DjvW5n6Dc=; b=cWoDCFVoJyPGO4jjxnijCgbuwnvA9hQzmKMF6FZKm1e/L3nYF2Lg4A/ehJaMMjrWWf Pssch88tO8WVHG9sW7JPDvZ2Tm5p2PNFwBq4w5ylL1L89eBUEzO5ZBnrzDQkoaujuyNs FcEfJzoyLgB0fUYKPJtzRS6OpQWx1zo8us1y+96tCTcND0qjdFpgbqEt4AxBGN5l9MiX HIQqEa/KR5fD6LoMoe5P3pInn8RPS6L7G6W1hUYrJU0bHB+K0CYzVOlhVh3kP3y85MGS wFJnmPnEY8XYcpbaO+nOyPVrrOY/cIv1Igw02ZO5vRtPAee2FjVnCWIs+JMP3Es3o+3K 7c9g== X-Forwarded-Encrypted: i=1; AJvYcCWtT1AVVC7gv5WTUjBP5z6nuR5uYkwoy5hXRQvDl7npTJUkzYpJ9jxKeWWg0c7VfJou5yDGWkcETlYNQOH3e3WDEav/gGdmkn9oH2Rp X-Gm-Message-State: AOJu0Yx5YTvTRfjERm8HZqNrSJOXUQtUuWiPO28kdUXgtsXIMwwILdXp ejRJri33onQQLZn9ZAjgLIg/1+kglk+nPXuqg9L54/aRmsgttpekJqXmvTTfraw= X-Google-Smtp-Source: AGHT+IG2XU3dXTL/HMZ0wjyShkm3yq6aj6ltXYMlCGV82MQ6syYCRqDz2EHkP3M7StASoKKBNwcBjQ== X-Received: by 2002:a19:8c56:0:b0:515:7686:6068 with SMTP id i22-20020a198c56000000b0051576866068mr1917610lfj.55.1710864830033; 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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:49 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:41 +0100 Subject: [PATCH 11/31] arm64: dts: qcom: pms405: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-11-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/pms405.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pms405.dtsi b/arch/arm64/boot/dts/qco= m/pms405.dtsi index 461ad97032f7..afa3bb469870 100644 --- a/arch/arm64/boot/dts/qcom/pms405.dtsi +++ b/arch/arm64/boot/dts/qcom/pms405.dtsi @@ -11,9 +11,6 @@ / { thermal-zones { pms405-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&pms405_temp>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 8330983CD7 for ; Tue, 19 Mar 2024 16:13:52 +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=1710864834; cv=none; b=vEiylqdjFDoq4nagjwH1hiVMFunfgYk568ulSqooqx9o1k2TjKR/bBc5cByJglQwhOkZYbWmP02N+naFPxS1Bf1Qk9lz4f58yAHPxPzgvAVVahJSEU4fI279fISy8BdzLY63kZ6RT/ubf+GSgwtMnf1WTuGa6kBKfON89Mu77pc= 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.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="mM19I7B0" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513dc99b709so5118526e87.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=MFqOstK3oFc5kdMcJyBWx0huf7XzLV0VMWeXrFI/T/300QobpwsfOo8/RH9WaHN4j1 yZnt009/ITgHdVXyRhBTwNVMb4se7OXSwCi5uPpb4/CmYAL6psXrYM8UTvooTbaYBlKA vrJ41bsVliDv8EMZj8E9vXlmSR2ltS3IcP9xHihphN0WZmv9zHWy5//I5PsqEfCPwg71 +w4wYudXJsRKraEO/oT5DPBkoHUt+8UZ1U+0vtNJceyYK8eILNFqEL4vc5kX7efdSZZ9 oQI1idOYhXaP0QXqZ3yFqrjsQ+BmJbRmpV1hrbbPZReCdWr1y86eiFcqD3pN5WplJQBD +5Qw== X-Forwarded-Encrypted: i=1; AJvYcCUMtVZfnylxEproLyC7Yt6bSt3q5ka1Dl9W6oMRl/IeRaLitpsewdyFDPguST1Lwq9Qm6a5n9lP6cqrrNTPIqwY7n07xdJJZHFG+UMY X-Gm-Message-State: AOJu0Yy9RKAR7jKbiUT7b0EF4zmvMZ6oN/CHSzX948isZXDCJLkEG66i gQZnoaXajNi01WlhNUe4feuaOch1CzO2/d6Heze+jxRxaffLMq7rQcsw7kPwBxs= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmx75_temp_alarm>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 88A6784A28 for ; Tue, 19 Mar 2024 16:13:53 +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=1710864835; cv=none; b=nSGiGF70kZoZ9skA9FMZoqTDSVFM9RyhvSlw0t+gT2VCQmDzZn8sQQpygBxEInclS/ie8JOEpwDQrpdr9Ap57NJKxHzynnTaM3iQ2eYZHAJYhFV7Xwfnp77r75OeLAt6WUdtX3oSiigAVE6WUvu0njS+EOBpkEqc/eYCji01xIs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864835; c=relaxed/simple; bh=0/k1OG8zIp9FMg8VdY+lmNOtRCz0TLzyGKYijhkIjTo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b47dqpT0QVvxH/ZfNk7JNnOY+VAzpWcIAmfAahdrMERdp3E7IFpiDpvwv1iX+QCPCebLmrUHmR6kOmLQeK3s/EKAoBoREJ4bb6QgHcB5iD/riwG9qCpDGvOgkEHUEiUjMVo9qH7uHHg1vvWRcGJgUFBrdRw1unu3mZ5mdJHksaU= 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=v6L734cM; 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="v6L734cM" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513c8b72b24so6462836e87.3 for ; Tue, 19 Mar 2024 09:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864832; x=1711469632; 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=CnnzTjYGMYdvVMtijUR117h7wwCsVG1+77vBOY60uzM=; b=v6L734cMTxW2Eejvl/1EpxONpDbGWqm/fOnLabUIDQOaOX4pWvEEyczEvw76GHts+y 42yb171d7qsqkNAOUajT0NSiXkBjQLcPwci8wJGHeBMc0SImWrQgqVaeDXrFcgHrx93t pZdfdNGBiDXyG63DuCHjoNfvteA8YGIofj5gMHugu7XD+Rb72XflWfccj27g+h5Ep6wK bFPe7u1fy3hcSUBPOCnAuGJkmdynSG5i2gPOxEFYP08lE8yZ8NHR9Q4MrvWcAbFMqPaU ZwdAaT8C68llOMacq9hJ0mAL9gBLrqyf37YpS4lmbxGtCA9X7YmauDNQSD5tOdQTLx3r yAUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864832; x=1711469632; 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=CnnzTjYGMYdvVMtijUR117h7wwCsVG1+77vBOY60uzM=; b=V0KzNiSyEhkHVW2c8531qBLWsrGG6h1wDkZYiqev6tVdD3a738iBL4dcfc5L8edcuw UcMvmM6400qJUZgQCrtYxqC3EdUMkVNMA6qcaro1hKzdxnj7AgEVTwMTi0jt0A6IZuOm Q8sM/FMv9y3HFOufuMOAgTyKf0phLAY0iDxJLLie95er9/FMaHp4vIP29/0wBNYxSGg3 +C6k4D1pnSLcboEdH50OPsAKVYTDCY0gTSnrnlm1jQTSfsYkbd5Ma6eD+iS/5RDElL5o 1KisFWkJCeWESteILB7tuocvFOs7wL3dJaUtE3X67M2dOhCivXYxFoICowPAphD+gaAn 3QXA== X-Forwarded-Encrypted: i=1; AJvYcCXJxJeYGJY8doVWF7ohaKFQPDUQZtRgKJcS6H4DBD0Ct5b0awIMzQp1ZeaROOixQQFCqEBBgpqVIx48Rxr0VZANE/idL62VSRnpSeMr X-Gm-Message-State: AOJu0YxvxbsCbLvBaHH85uFFwXjKMQiPoSHkiRNtTEv7TMDsGDWEpSs6 17IqKQfkCspHlk2AQ9vKrILWEjoBj3sWZiJB56Z1xgGxCEzKbiEIVZabVU/pIYo= X-Google-Smtp-Source: AGHT+IH9sfgGnrDzwU543lAC82msqrPzdaGnPwcC2+ew+N4WAUzGLZoh1nEIF2YHhSYiwBYkdFUK7g== X-Received: by 2002:a19:9103:0:b0:513:2b35:2520 with SMTP id t3-20020a199103000000b005132b352520mr2283451lfd.58.1710864831891; Tue, 19 Mar 2024 09:13:51 -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:51 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:43 +0100 Subject: [PATCH 13/31] arm64: dts: qcom: qcm2290-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-13-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/qcm2290.dtsi | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qc= om/qcm2290.dtsi index 89beac833d43..c439ad5a16ae 100644 --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi @@ -1870,9 +1870,6 @@ cpufreq_hw: cpufreq@f521000 { =20 thermal-zones { mapss-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -1897,9 +1894,6 @@ mapss_crit: mapss-crit { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -1924,9 +1918,6 @@ video_crit: video-crit { }; =20 wlan-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -1951,9 +1942,6 @@ wlan_crit: wlan-crit { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -1978,9 +1966,6 @@ cpuss0_crit: cpuss0-crit { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -2005,9 +1990,6 @@ cpuss1_crit: cpuss1-crit { }; =20 mdm0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -2032,9 +2014,6 @@ mdm0_crit: mdm0-crit { }; =20 mdm1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -2059,9 +2038,6 @@ mdm1_crit: mdm1-crit { }; =20 gpu-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -2086,9 +2062,6 @@ gpu_crit: gpu-crit { }; =20 hm-center-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -2113,9 +2086,6 @@ hm_center_crit: hm-center-crit { }; =20 camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 6DFC684A51 for ; Tue, 19 Mar 2024 16:13:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864836; cv=none; b=OKycFFCqAJD0+QD/emHCnSUa3GRtcpFW+MRZfR5h19h0TGZHhL6fj/5qerppgieEdwVHfLw54TlnGKefkdMsNumSwbLAwtsQ/2zGzIkD1oNHfUkKLTV8o5hl70uaeMGXr+BQirIXaP48jMpnTv2DKDyUrgSzmNQGtnih2LHiCjI= 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.43 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-f43.google.com with SMTP id 2adb3069b0e04-512f3e75391so4553483e87.2 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=oAmw8jfVLiAFoFX3rudCAZ1q/VcKCMooOckkdC73sjIb65NL/92XylZFVP8qTpBvqG 3WJU280GvDR4WR+3Xsjn0aZ/p91Yk7IvbkrYEcCNbAILIz32rQJBUaYXLAu5plyWfgTr g/umN9lLbvaDhAvdFZ/uUco08EzwWHRQ+f50E8KUFz/x5JJNRp3CkUdpvJEBjh0bgPrU ij4G/GeoTPACQnNb+IhQoyeyAO39txz516Dyj+iDk3BwWmnvUgTTGj49OE0vl9IavrOX RWrDw4XONmp1dJi1oZJv0d4boUTR9kYOPVOIJrqvVbA8ieNnTrEQNH09PvL5dUx+M9v3 nHUw== X-Forwarded-Encrypted: i=1; AJvYcCVXrVNQwL0GVt7kkXW+/8RXxOE5YS+v/2f4flhWWAK5s3IPiJFkPkXpa0bahwgNXHqqALjmSYYOuAUXBGg6IqKJOjoFvxx+GlBkaURo X-Gm-Message-State: AOJu0Yyi+jzCCo0NJAyZ7vIbM2MqORFeCYpRlMHLZd0YAVG811v9rdv4 LPfEjIjBk3fhHIqe3uWHhMg28Mfl4ccy8gQnE9pYLyFGyffOB69B7fYZvgLR9Qw= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 { =20 thermal-zones { aoss-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { @@ -1604,9 +1601,6 @@ aoss_alert0: trip-point0 { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; =20 trips { @@ -1619,9 +1613,6 @@ q6_hvx_alert0: trip-point0 { }; =20 lpass-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; =20 trips { @@ -1634,9 +1625,6 @@ lpass_alert0: trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 3>; =20 trips { @@ -1649,9 +1637,6 @@ wlan_alert0: trip-point0 { }; =20 cluster-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 4>; =20 trips { @@ -1683,9 +1668,6 @@ map0 { }; =20 cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -1717,9 +1699,6 @@ map0 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 6>; =20 trips { @@ -1751,9 +1730,6 @@ map0 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 7>; =20 trips { @@ -1785,9 +1761,6 @@ map0 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 8>; =20 trips { @@ -1819,9 +1792,6 @@ map0 { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 9>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 ABB8984FD6 for ; Tue, 19 Mar 2024 16:13:55 +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=1710864840; cv=none; b=CurDrYrrRvosp3PMJSG3GT/ZvoCIYY2A/X2BQA7gnuFGx0h+iHsVAC4Na5jKF5HOBT7B6jEz/FGsC6Qu/M0lbc4Cn4K7/EdOXmLpCv+9vxhtt+grKD5C8ba5AhTVi5jRrBIryeNinlAkSmoEX8vFgMdagdaaaat4J+FSHiksGvc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864840; c=relaxed/simple; bh=UPpmjMlmBKk2/udod9kMX5V3IsyI/+xirDIA9F4xpAg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=eGprWqID32a9baNPee8SFaV0azMrrI4J1ooNfWPlu4ZU3hA+/4DnJ+w0Hy4lRiBo2qGy4OEtCBIXfBLzdjI7tX3AFAb6eSt5pFk/KiucNEePmEcEGq7G/9HO0MJUhsUa0Mv5lJQY9CqZFHXgSmcAe2rJhm7d9KNXx4HTSjriegA= 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=lYpJxIHR; 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="lYpJxIHR" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-513d4559fb4so6996334e87.3 for ; Tue, 19 Mar 2024 09:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864834; x=1711469634; 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=n8vHp34wYH0eBavZgf2d5N2sDGNWZk3dOCjl6ar2I9w=; b=lYpJxIHRA8SH5PcyQPF5DuRZ/Mlz7ZiRWiXG2gqvPlbDyTPICukppdPesWinFZWB9U pYXydBTd2+8CKg97BgPJjHdpX/80vsCTtsif5QffCRk8N5qJKV0q+1Q7EzcDJaM1u1jf ukbbodHEWKtdtPs6Fz8fU6PdcbCWy/csKPCz/n4c3N0PDsHhsHftMcwUNGkpOW9jnExX ooOA1fyO2qy8c26gWy/MqrnJwhA5GBCa3zvwKaveWT6LWCRF7dLPbHQrMWpHwBGLvDEh KQtdW07ltytixBAlDN0eaD/gF2BnKJnMex8FyUsz6Bd58LC4KMkp7oYZoSvO9vtxYWoQ ZPeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864834; x=1711469634; 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=n8vHp34wYH0eBavZgf2d5N2sDGNWZk3dOCjl6ar2I9w=; b=a4vPspXe5EdGSVMGV6MkgoLrTq3zQZrjX0qCAdc8iZpSbXbcqAhll+vEM14JoyJemz VZMoJFFKSZH8s8i64miMJVLTob799yHMSyJxzW9+HvUU0waRaYMvXGB145rEatGRSRVz BcRrYPOVcMxLMsHBKjUwL+2qbcVlpwAhfstNjI7gPrAU6kDRgBXGVlNQlz2DV0KaXNUr LmEo/3wvJ5EyZT5jNV+xqO64FJ1ka+IyaUZU74Wt+/SfSYFWrkGxwN9GgIjeUx931CkQ jX5JzpWwrpF09ZvlLn7WSh0oNn9ogFYzhCg+xJUbmqTJEpBih+9kNq//H0v+iC0p5rgn fVqA== X-Forwarded-Encrypted: i=1; AJvYcCWb+bMtz1JyRIQWTkOW+I1ImaVfcSck4ZtOAGT/wTmvd/wrQ+S6hAYWYnIqhRekscWe1q9niBdckyNmiS9qcjEVa7TUHwUdi6xpWNWV X-Gm-Message-State: AOJu0YzXjFkbWRlhMwQitaFuEB5LIPw8mJM7LSLTEAmTvLzdw7rbQ8/j HU09HGF4A200UQHn2Xp5UsaKxWqBuGPrDycrl3GVdgE6HpHsBsFSeEityLy36Pw= X-Google-Smtp-Source: AGHT+IHf19K1aDBaNbed6jLjYNWWlcBcPonDZ+aWjWxbYBFSfheHBGtR67+lTUxtGCrZLUboZzpezg== X-Received: by 2002:ac2:5f89:0:b0:513:c9a6:46ce with SMTP id r9-20020ac25f89000000b00513c9a646cemr2227507lfe.9.1710864833949; Tue, 19 Mar 2024 09:13:53 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:53 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:45 +0100 Subject: [PATCH 15/31] arm64: dts: qcom: sa8775p-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-15-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/sa8775p-pmics.dtsi | 8 -- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 150 ------------------------= ---- 2 files changed, 158 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi b/arch/arm64/boot/= dts/qcom/sa8775p-pmics.dtsi index eaa43f022a65..f23a99729d9b 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pmm8654au_0_thermal: pm8775-0-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmm8654au_0_temp_alarm>; =20 trips { @@ -29,8 +27,6 @@ trip1 { }; =20 pmm8654au_1_thermal: pm8775-1-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmm8654au_1_temp_alarm>; =20 trips { @@ -49,8 +45,6 @@ trip1 { }; =20 pmm8654au_2_thermal: pm8775-2-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmm8654au_2_temp_alarm>; =20 trips { @@ -69,8 +63,6 @@ trip1 { }; =20 pmm8654au_3_thermal: pm8775-3-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmm8654au_3_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qc= om/sa8775p.dtsi index 231cea1f0fa8..45e6443c9dc9 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -2550,9 +2550,6 @@ ethernet0: ethernet@23040000 { =20 thermal-zones { aoss-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -2571,9 +2568,6 @@ trip-point1 { }; =20 cpu-0-0-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -2592,9 +2586,6 @@ trip-point1 { }; =20 cpu-0-1-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -2613,9 +2604,6 @@ trip-point1 { }; =20 cpu-0-2-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -2634,9 +2622,6 @@ trip-point1 { }; =20 cpu-0-3-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -2655,9 +2640,6 @@ trip-point1 { }; =20 gpuss-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -2676,9 +2658,6 @@ trip-point1 { }; =20 gpuss-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -2697,9 +2676,6 @@ trip-point1 { }; =20 gpuss-2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -2718,9 +2694,6 @@ trip-point1 { }; =20 audio-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -2739,9 +2712,6 @@ trip-point1 { }; =20 camss-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -2760,9 +2730,6 @@ trip-point1 { }; =20 pcie-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -2781,9 +2748,6 @@ trip-point1 { }; =20 cpuss-0-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -2802,9 +2766,6 @@ trip-point1 { }; =20 aoss-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -2823,9 +2784,6 @@ trip-point1 { }; =20 cpu-0-0-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -2844,9 +2802,6 @@ trip-point1 { }; =20 cpu-0-1-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -2865,9 +2820,6 @@ trip-point1 { }; =20 cpu-0-2-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -2886,9 +2838,6 @@ trip-point1 { }; =20 cpu-0-3-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -2907,9 +2856,6 @@ trip-point1 { }; =20 gpuss-3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -2928,9 +2874,6 @@ trip-point1 { }; =20 gpuss-4-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -2949,9 +2892,6 @@ trip-point1 { }; =20 gpuss-5-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -2970,9 +2910,6 @@ trip-point1 { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -2991,9 +2928,6 @@ trip-point1 { }; =20 camss-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -3012,9 +2946,6 @@ trip-point1 { }; =20 pcie-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -3033,9 +2964,6 @@ trip-point1 { }; =20 cpuss-0-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -3054,9 +2982,6 @@ trip-point1 { }; =20 aoss-2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 0>; =20 trips { @@ -3075,9 +3000,6 @@ trip-point1 { }; =20 cpu-1-0-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 1>; =20 trips { @@ -3096,9 +3018,6 @@ trip-point1 { }; =20 cpu-1-1-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 2>; =20 trips { @@ -3117,9 +3036,6 @@ trip-point1 { }; =20 cpu-1-2-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 3>; =20 trips { @@ -3138,9 +3054,6 @@ trip-point1 { }; =20 cpu-1-3-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 4>; =20 trips { @@ -3159,9 +3072,6 @@ trip-point1 { }; =20 nsp-0-0-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 5>; =20 trips { @@ -3180,9 +3090,6 @@ trip-point1 { }; =20 nsp-0-1-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 6>; =20 trips { @@ -3201,9 +3108,6 @@ trip-point1 { }; =20 nsp-0-2-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 7>; =20 trips { @@ -3222,9 +3126,6 @@ trip-point1 { }; =20 nsp-1-0-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 8>; =20 trips { @@ -3243,9 +3144,6 @@ trip-point1 { }; =20 nsp-1-1-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 9>; =20 trips { @@ -3264,9 +3162,6 @@ trip-point1 { }; =20 nsp-1-2-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 10>; =20 trips { @@ -3285,9 +3180,6 @@ trip-point1 { }; =20 ddrss-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 11>; =20 trips { @@ -3306,9 +3198,6 @@ trip-point1 { }; =20 cpuss-1-0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 12>; =20 trips { @@ -3327,9 +3216,6 @@ trip-point1 { }; =20 aoss-3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 0>; =20 trips { @@ -3348,9 +3234,6 @@ trip-point1 { }; =20 cpu-1-0-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 1>; =20 trips { @@ -3369,9 +3252,6 @@ trip-point1 { }; =20 cpu-1-1-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 2>; =20 trips { @@ -3390,9 +3270,6 @@ trip-point1 { }; =20 cpu-1-2-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 3>; =20 trips { @@ -3411,9 +3288,6 @@ trip-point1 { }; =20 cpu-1-3-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 4>; =20 trips { @@ -3432,9 +3306,6 @@ trip-point1 { }; =20 nsp-0-0-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 5>; =20 trips { @@ -3453,9 +3324,6 @@ trip-point1 { }; =20 nsp-0-1-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 6>; =20 trips { @@ -3474,9 +3342,6 @@ trip-point1 { }; =20 nsp-0-2-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 7>; =20 trips { @@ -3495,9 +3360,6 @@ trip-point1 { }; =20 nsp-1-0-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 8>; =20 trips { @@ -3516,9 +3378,6 @@ trip-point1 { }; =20 nsp-1-1-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 9>; =20 trips { @@ -3537,9 +3396,6 @@ trip-point1 { }; =20 nsp-1-2-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 10>; =20 trips { @@ -3558,9 +3414,6 @@ trip-point1 { }; =20 ddrss-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 11>; =20 trips { @@ -3579,9 +3432,6 @@ trip-point1 { }; =20 cpuss-1-1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens3 12>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 6BB068529D for ; Tue, 19 Mar 2024 16:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864839; cv=none; b=A6XLqx9EnTNy6YorTK6HPZigtv9cLUSGn+lieaY5yDuTZZi52/bqQ9jh3ZDyOzVlD84YdjDhTORfvLrzd1Ylv1xY3cBhBMuz++P2SRNR9gsKZ5Uc2dgVhZQOdLCqG5874caQoYS4aXMszMv5igbbUvqunNAy/XTqg50pudpYa5g= 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.53 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-f53.google.com with SMTP id 2adb3069b0e04-513d599dbabso6581103e87.1 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=dMlS0qZLnOlKKLdR0zGEYiREmgM3M7/tWR2yilz8Zmaw3dIl7fK49HkBX++FbWeMpP twHimMXVuulR5BJkOmidjdpACMKI6J/JUX7UzXPSAraRTvYV/hVH5WeP+/I4d/2Tt+MQ 8OGnTXiFwQClpy97GTolz/QHyieg9PdDTv+Mi5NLYD6JYuXjlF4V+d9KY7k44csLJFtj TuaN7wtS1a81JZHkA72qkgXENDzUZ58LE9s7YwEZBmJCPC6VQ1OnJ7c+lrPrvz/xooke +u9a8fbLzEuypjYz0eigmJxEW7wuNq+sGvW6W7EdEGahBjNoXBvHO/koxsXAuFm72JUh rcig== X-Forwarded-Encrypted: i=1; AJvYcCUj/Vmw7OjtLlrOeTt4IWJBSpIIz0OJS84MWSZUwjzm31ior1cOMweseV0sdW0OpoSyklrA119xgdRLxaoNS6mg3tCo1/e2rmWiwhLg X-Gm-Message-State: AOJu0YxiaTHZYbphPXReDkB2QEnQlNYLkzRWqEp/B3ZIg/jXMEN3QWgt gDI773saIjmWmXX4XD3/niP5H1m0usYVjUykjaF4a078SCrefUlaDmMxpZ/2yzM= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6150_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qc= om/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 =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6150l_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi b/arch/arm= 64/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 { =20 thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6150_adc_tm 1>; sustainable-power =3D <965>; =20 diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar.dtsi b/arch/a= rm64/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 { =20 thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6150_adc_tm 1>; sustainable-power =3D <965>; =20 diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-pompom.dtsi b/arch/arm= 64/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 =3D <0>; - polling-delay =3D <250>; - thermal-sensors =3D <&pm6150_adc_tm 1>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler.dtsi b/arc= h/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 { =20 thermal-zones { skin_temp_thermal: skin-temp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6150_adc_tm 1>; sustainable-power =3D <574>; =20 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 =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6150_adc_tm 0>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { cpu0_thermal: cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; sustainable-power =3D <1052>; =20 @@ -4080,9 +4077,6 @@ map1 { }; =20 cpu1_thermal: cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; sustainable-power =3D <1052>; =20 @@ -4129,9 +4123,6 @@ map1 { }; =20 cpu2_thermal: cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; sustainable-power =3D <1052>; =20 @@ -4178,9 +4169,6 @@ map1 { }; =20 cpu3_thermal: cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; sustainable-power =3D <1052>; =20 @@ -4227,9 +4215,6 @@ map1 { }; =20 cpu4_thermal: cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; sustainable-power =3D <1052>; =20 @@ -4276,9 +4261,6 @@ map1 { }; =20 cpu5_thermal: cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; sustainable-power =3D <1052>; =20 @@ -4325,9 +4307,6 @@ map1 { }; =20 cpu6_thermal: cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; sustainable-power =3D <1425>; =20 @@ -4366,9 +4345,6 @@ map1 { }; =20 cpu7_thermal: cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 10>; sustainable-power =3D <1425>; =20 @@ -4407,9 +4383,6 @@ map1 { }; =20 cpu8_thermal: cpu8-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 11>; sustainable-power =3D <1425>; =20 @@ -4448,9 +4421,6 @@ map1 { }; =20 cpu9_thermal: cpu9-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 12>; sustainable-power =3D <1425>; =20 @@ -4489,9 +4459,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4510,9 +4477,6 @@ aoss0_crit: aoss0-crit { }; =20 cpuss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -4530,9 +4494,6 @@ cpuss0_crit: cluster0-crit { }; =20 cpuss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -4550,9 +4511,6 @@ cpuss1_crit: cluster0-crit { }; =20 gpuss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4578,9 +4536,6 @@ map0 { }; =20 gpuss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -4606,9 +4561,6 @@ map0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -4627,9 +4579,6 @@ aoss1_crit: aoss1-crit { }; =20 cwlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -4648,9 +4597,6 @@ cwlan_crit: cwlan-crit { }; =20 audio-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -4669,9 +4615,6 @@ audio_crit: audio-crit { }; =20 ddr-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -4690,9 +4633,6 @@ ddr_crit: ddr-crit { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -4711,9 +4651,6 @@ q6_hvx_crit: q6-hvx-crit { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -4732,9 +4669,6 @@ camera_crit: camera-crit { }; =20 mdm-core-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -4753,9 +4687,6 @@ mdm_crit: mdm-crit { }; =20 mdm-dsp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -4774,9 +4705,6 @@ mdm_dsp_crit: mdm-dsp-crit { }; =20 npu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -4795,9 +4723,6 @@ npu_crit: npu-crit { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 9>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 7CF578563C for ; Tue, 19 Mar 2024 16:13:58 +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=1710864840; cv=none; b=B+b+MuckJ79nJnp/K7i6WAkkW505ewjODyFqFnW3K7c0Yk1u3irz1brSAnyK0b4Ua7UPj6v4VMmRMo0YJtBfOeEeWveQ7w6iCkpIkR3vnb2xiUyiDJ7fuRXvwUQ2WucxirbLnE7s+ulUyBmfmtsjJW1LCb9eFiWBNzOTT7fbnRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864840; 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=DRou26p1zUr2HGH3Q97u5yOjQqidpTqRUGK4QChCjiTcI7hdyTb3lPGyKcZdMdw2iFmIk+xL1ra3Lt9V47oka6LdFXcoJ2CF4otoy/ki167IKxUyVzFsbPtjmQ6DK4GAyDMeS9FRPGM5D4v+umFoIZGjKJYFHTFM52v/g4bxToo= 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.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="erW6ab4R" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-513d4559fb4so6996419e87.3 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=kffjQsMDWLAt0JjmV9ij29s6579o/6TB44hssFX0WLBMkh/qKJ9jq71LjDJeJiHiGa m3MC/0jbi59LD/0C2XjJWJhr5R1dtqxkygQ82SGIKJBkttoeAQp0YA4jm2bTLvmE07Bv aMPOGpibc9xE3PCaefaTNtfWQd1JWVcGBmSqpWMichHj24kZ/KaXHjYWgsG4zOmUGbX/ TBM5aIEvBt8bN4xO3NsULNGKw1k9DnQT7tYwyvTq2+6T6o7ajCeapyakwRRYcz5pOhy6 RQX4hmwCroluhqc3CWlCQzRgikZO28SI7FhERtxzcLPgSVtp248QNWqTQ+G/KExdMNWr FxsQ== X-Forwarded-Encrypted: i=1; AJvYcCVUJgAkhlLstm0uNCaRmJ9AdNH48KqsljIXl6RH6YPWFI7gToIyI6VXm4KJ1XMs3LaNo+rfTzyGXOqVUWm8/yg3+ZVcBHsASkjW2Xim X-Gm-Message-State: AOJu0YxLt1WJ+Ed4MsbowkuYVNuMigKmmoZWvnJup0l2nf5V6cgYrwed qUwPKnsct3obtD7+hkIh67COUgf7cNjh4TKKciH7z3sc7AXVpRVsY2XTIP+I7Ck= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qc= om/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm7250b_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm7325.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 &thermal_zones { pm7325_thermal: pm7325-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm7325_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm6= 4/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 { =20 thermal-zones { camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 2>; =20 trips { @@ -178,8 +176,6 @@ active-config0 { }; =20 chg-skin-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm7250b_adc_tm 0>; =20 trips { @@ -192,8 +188,6 @@ active-config0 { }; =20 conn-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm7250b_adc_tm 1>; =20 trips { @@ -206,8 +200,6 @@ active-config0 { }; =20 quiet-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 1>; =20 trips { @@ -220,8 +212,6 @@ active-config0 { }; =20 rear-cam-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 4>; =20 trips { @@ -234,8 +224,6 @@ active-config0 { }; =20 sdm-skin-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 3>; =20 trips { @@ -248,8 +236,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 0>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -6013,9 +6010,6 @@ map1 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -6057,9 +6051,6 @@ map1 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -6101,9 +6092,6 @@ map1 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -6145,9 +6133,6 @@ map1 { }; =20 cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -6189,9 +6174,6 @@ map1 { }; =20 cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -6233,9 +6215,6 @@ map1 { }; =20 cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -6277,9 +6256,6 @@ map1 { }; =20 cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -6321,9 +6297,6 @@ map1 { }; =20 cpu8-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -6365,9 +6338,6 @@ map1 { }; =20 cpu9-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -6409,9 +6379,6 @@ map1 { }; =20 cpu10-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -6453,9 +6420,6 @@ map1 { }; =20 cpu11-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -6497,9 +6461,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -6518,9 +6479,6 @@ aoss0_crit: aoss0-crit { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -6539,9 +6497,6 @@ aoss1_crit: aoss1-crit { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -6559,9 +6514,6 @@ cpuss0_crit: cluster0-crit { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -6579,9 +6531,6 @@ cpuss1_crit: cluster0-crit { }; =20 gpuss0-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -6607,9 +6556,6 @@ map0 { }; =20 gpuss1-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -6635,9 +6581,6 @@ map0 { }; =20 nspss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -6656,9 +6599,6 @@ nspss0_crit: nspss0-crit { }; =20 nspss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -6677,9 +6617,6 @@ nspss1_crit: nspss1-crit { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -6698,9 +6635,6 @@ video_crit: video-crit { }; =20 ddr-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -6719,9 +6653,6 @@ ddr_crit: ddr-crit { }; =20 mdmss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -6740,9 +6671,6 @@ mdmss0_crit: mdmss0-crit { }; =20 mdmss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -6761,9 +6689,6 @@ mdmss1_crit: mdmss1-crit { }; =20 mdmss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -6782,9 +6707,6 @@ mdmss2_crit: mdmss2-crit { }; =20 mdmss3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -6803,9 +6725,6 @@ mdmss3_crit: mdmss3-crit { }; =20 camera0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 11>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 675C085645 for ; Tue, 19 Mar 2024 16:13:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864841; cv=none; b=D4oL/VH9DrxdKzYWeq1fzmXE1UQV6JdwZhrEkLx9pY6/JENCaNVy0r1ElLk6IPlo9H7xCm0ENA62aWKoOdcvlLHcjcND4OAq8b0T4mFPuvWW7acI0Lpuw+XmKIjb3WwVsqvhr+EyK8UPMGyUfBtj4/fFsaVN+3yiTO2sN8a8X38= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864841; c=relaxed/simple; bh=Pym46qMvyaBMeluBErICeXf56DkeoKFLyK79WkEUGgo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Dz0YcS6uiG5gIk+9TmxJbwQfNCw0Ojkwf0KSToNXCLoYvzDkEcEqNoWFN94KVwBrCdBWVp5EiUGm/5xLH0PL9huAsh8XoRJ4zDypAZokHSrfABxuQTJMf0f6swphmzsG4Ule7iWolcZI2+GuUQm+VFs3W3TErRbZBgbbFNNhz80= 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=JNLYWvDZ; arc=none smtp.client-ip=209.85.167.43 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="JNLYWvDZ" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-512e4f4e463so6489518e87.1 for ; Tue, 19 Mar 2024 09:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864838; x=1711469638; 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=gVOjsRMRBg/iht2+2tLbAZFzfh1YTouYAMGPzwwP3vE=; b=JNLYWvDZLynDEwL62pAaAjP4MIzjVwsXqlUSsor/TsyYDPjPH0WGHh/kYv67i7zI40 2LGna5DvgOF7JhqwRLC/QwkxF+3Dx4EV77bacXdBqLc3019H46i8CeI6q0nZaX37ipiz yck4O4JTdlUszeIW2Pm7JDkh0MGO87tyzVD4Igi/YFUqev1Ryrk+LypM0byVkuEMMEJV E2pVZ2qMWPcz9lr8zahCM+4yXY3WsL+dez8a1RfpdaSAWFDS7EJebr1VUznjNA6LHZyX KeJvCUUB9KW+bR/yyAmdrWWOi7Y9pc8E8KpKbDeIQK/acHZoORSr0nGaIFdRpkaUuhDa Impg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864838; x=1711469638; 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=gVOjsRMRBg/iht2+2tLbAZFzfh1YTouYAMGPzwwP3vE=; b=oebOz+YohzSgBWKLvK4mK2GgQQLlcg9/yu6KaA27W6ee9d/5Q9pi6jPjr7y8yrukmW 5YAEs/Vn/Jxi6XQnc0WL0ew7Y0Cbs4A3A/UEamdXS3sRp6vRszUlYv8z/rBrawZYzsjT UWYCI6XaBHAl6LV9aQuiSdkLKScxlIbynlwL8g15fVpedU2Z0GHMkcacXUavkpn+dCfa lDrq4Sle5vpE6+MJhYPmX4JDkVwW4VQqPG2/AaJYMzaLa86exQJsQXilPfbISvvleCGT hmccUg8CzHPBdOzCF5a27vXAkFRNO8r8heSTds8OvpB+1k1RCQmolRH8+pbzJRCW+SWb kY4g== X-Forwarded-Encrypted: i=1; AJvYcCVUDlSbCHub/yFBd6W7RAORYiv9DvzOwcP6G9EPWuIJtUr1RrjVUGKjGCdSC5lkKpwRDkhhs0nuo07H/IANO5zMnOhpfYzuk+n8+n6f X-Gm-Message-State: AOJu0YyTeoZzHEfMdotlFfIE0sK3QEMVh757a/pdRDjKOkrQA208y82w IVb+hcBY3I5lkl3XqgT8HvBjZMw66tMlJUUmeR57Eh9zddjZlEr24gZ2wz9EUQo= X-Google-Smtp-Source: AGHT+IEymQE2R/LPuSMOAm9qmiinQ4oyVDBn5+RUKhwWE3x96afumU2CeKD9X+VyStQdVL0uKRpw9w== X-Received: by 2002:a05:6512:619:b0:513:dd23:7a02 with SMTP id b25-20020a056512061900b00513dd237a02mr7815593lfe.26.1710864837754; Tue, 19 Mar 2024 09:13:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:57 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:48 +0100 Subject: [PATCH 18/31] arm64: dts: qcom: sc8180x-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-18-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/sc8180x-pmics.dtsi | 6 --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 78 -------------------------= ---- 2 files changed, 84 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi b/arch/arm64/boot/= dts/qcom/sc8180x-pmics.dtsi index ddc84282f142..e88e7fd832fe 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi @@ -12,9 +12,6 @@ / { thermal-zones { pmc8180-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmc8180_temp>; =20 trips { @@ -39,9 +36,6 @@ trip2 { }; =20 pmc8180c-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmc8180c_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qc= om/sc8180x.dtsi index 32afc78d5b76..010afc39895e 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -3729,9 +3729,6 @@ wifi: wifi@18800000 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -3744,9 +3741,6 @@ cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -3759,9 +3753,6 @@ cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -3774,9 +3765,6 @@ cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -3789,9 +3777,6 @@ cpu-crit { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3804,9 +3789,6 @@ cpu-crit { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3819,9 +3801,6 @@ cpu-crit { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -3834,9 +3813,6 @@ cpu-crit { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -3849,9 +3825,6 @@ cpu-crit { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -3864,9 +3837,6 @@ cpu-crit { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -3879,9 +3849,6 @@ cpu-crit { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -3894,9 +3861,6 @@ cpu-crit { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -3909,9 +3873,6 @@ cpu-crit { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -3924,9 +3885,6 @@ trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -3939,9 +3897,6 @@ cluster-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -3954,9 +3909,6 @@ cluster-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 15>; =20 cooling-maps { @@ -3976,9 +3928,6 @@ gpu_top_alert0: trip-point0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -3991,9 +3940,6 @@ trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -4006,9 +3952,6 @@ trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -4021,9 +3964,6 @@ trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -4036,9 +3976,6 @@ trip-point0 { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -4051,9 +3988,6 @@ trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -4066,9 +4000,6 @@ trip-point0 { }; =20 compute-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -4081,9 +4012,6 @@ trip-point0 { }; =20 mdm-dsp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -4096,9 +4024,6 @@ trip-point0 { }; =20 npu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -4111,9 +4036,6 @@ trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 11>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 3F48885629 for ; Tue, 19 Mar 2024 16:14:00 +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=1710864843; cv=none; b=LKzBg1kh2X7YaJ8r9iucJD3E6zyPPGXPmX1P6S8sUDWC/OCopq4A1rnROv//RL8etiz1hMWEDz18/Ku1Requ5RZlDvVjc0T3PTcjAJ1kbnPYUUuOvP3tynMa+dsSU+ETK/5fVMhElXxko9SiH/r214Ft02CFcbNUlY0jTtXJprM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864843; c=relaxed/simple; bh=WvPyzZfNQUrQySxckVP5QXfPEr3BylcrJTFZjJRL61g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=AjWFyhiKCOG9LF7Eu0jCSxlofPH/YRdsh0aMTtNCkeaM2EXVhtOSozlVFMu5Es7AMK2sFbMA4P/2axspvb1kkH7pk4/RUAN/oxlVhBNpClpo2zotrhsJGJ1VhKqsBR3Q2Waj513jQkYkwBn/YMfRufPIYtjDxBpMk1JK9lo05y4= 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=QDVXop/L; 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="QDVXop/L" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-512ed314881so4119411e87.2 for ; Tue, 19 Mar 2024 09:14:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864838; x=1711469638; 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=INVlAMS/JfEb8n+Ryd4uQ5TKLO8ePn6L/ZZbKVUldII=; b=QDVXop/LRZ24TtAcm0/l7AOfrinN4v3n3GL7w/ixXGSY3ps+kFZDkS/W3+IEWVagGI WYnADkh37tbVlq5dcYmr3B6/TZADRS9oFMm3T8c7MpemTIrz9R2caJcAjqEmHRw2Z8dj cQLB4ucsbmbs05yN+tGM5REdJV0AGmVVnggvACK/kYfJc1348XzSaLPWcgvzdWATB6T6 9QPabHuhc+2mUL/XmaJ4nWtF1hAuDSWxkR8UUckMlDt1sOmgAQ3D/gubBRNfEA/KySqA SqUnY2dZNVnaY4IstMU4adxKkiLtocH1DVV12yYeLVw+azUiwtHNLBwMCzZKUlplthHk QQ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864838; x=1711469638; 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=INVlAMS/JfEb8n+Ryd4uQ5TKLO8ePn6L/ZZbKVUldII=; b=hJehF9UFhYPsbqXEoWLTxxsaQmGtSMBwOrW6BTTIDYbujiHlZDFKZaqreiBDkEC/5B zL3wosnZ5vVk60cbagPzBVO2HK3SQwqLZX36eDtVudtRK+x+tAY+gF5gafSwRdTJflYF 0J+Drj68iz6FiTQ39dgSzA1a63GEiyqzOQDEdsQP1qfL/a6To8xKsgGnFJAzQe1wqCmr jsOTWxoX2wfeJ5sqI+FsiXeN5+6j9T3Uz0QJYp+jmElO93Nqvv0RJjwgFUQ1R880oQUs FIapZ8ZaY/eWq7oRbzEqiJ8JZGWughUJ/8Ce+z+VqDX/CN2WkQQrb83wpVF1OeOeNeZ7 epFQ== X-Forwarded-Encrypted: i=1; AJvYcCXvbbNH8X4B+cPb+pO7Ai7VdgojxuQfULnaqepLeM8LRthTAZqF8Vde7lti2K+7dX8DobcthnhIjSso4hZcsatD1UtMsf7HyK6BxY7n X-Gm-Message-State: AOJu0YzOUnQz96czMbBzoqknuq+ZDvKn01HAnMeommnA+yKHK3o4v9a0 dIRthqEsaBJR2Eze3cRdrHCyH3m4RP6lDrE18gqPB/esOkiZkZyHWWpeRIbzcvA= X-Google-Smtp-Source: AGHT+IGbyA85Wt5UtTI71E56whtDNrT9UVmjbmi/g9ZDIbZFuiPEsalu9HEPteYL6ysWDwPWZtFjtw== X-Received: by 2002:ac2:495c:0:b0:512:e220:d3ab with SMTP id o28-20020ac2495c000000b00512e220d3abmr2313798lfi.65.1710864838712; Tue, 19 Mar 2024 09:13:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:13:58 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:49 +0100 Subject: [PATCH 19/31] arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-19-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 --- .../dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 -- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 4 --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 33 ------------------= ---- 3 files changed, 39 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/a= rch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 15ae94c1602d..cd6a585359f7 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -296,8 +296,6 @@ linux,cma { =20 thermal-zones { skin-temp-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8280_adc_tm 5>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot= /dts/qcom/sc8280xp-pmics.dtsi index 945de77911de..4283d59c556d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -13,8 +13,6 @@ / { thermal-zones { pm8280_1_thermal: pm8280-1-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8280_1_temp_alarm>; =20 trips { @@ -33,8 +31,6 @@ trip1 { }; =20 pm8280_2_thermal: pm8280-2-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8280_2_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index a5b194813079..00fd4a187297 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -5648,9 +5648,6 @@ sound: sound { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -5663,9 +5660,6 @@ cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -5678,9 +5672,6 @@ cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -5693,9 +5684,6 @@ cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -5708,9 +5696,6 @@ cpu-crit { }; =20 cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -5723,9 +5708,6 @@ cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -5738,9 +5720,6 @@ cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -5753,9 +5732,6 @@ cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -5768,9 +5744,6 @@ cpu-crit { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -5783,9 +5756,6 @@ cpu-crit { }; =20 gpu-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens2 2>; =20 trips { @@ -5798,9 +5768,6 @@ gpu-crit { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 15>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 70D3B8592F for ; Tue, 19 Mar 2024 16:14:01 +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=1710864845; cv=none; b=KWe0cBMlVUBeWdfQcAyyvzC2uiFgaOMLh0bYbA9Rc5t6V1SyF9/SR1STlxYwCBdiTiBitOkJed513U3yzvOzrylQ12nXx0FGXaEhVNgSMnm35XUuME3Iuu/kg7HLmcwSIM6OaKnwT0UsWFin5F/7eYJetlkyBGpEmJeH89GVWFM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864845; 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=KAhwQsRV1B+DT1SLsRbbFD/1ajQ9GTiSOyizqSKZEOKlzxYfEO8wr/FKXOQrY/Nyp8OLuT0qnib9C4JcXhl4gqhKmnuesosM+SBF7RN73ay3fXeVheldkgQbm/5D19yuhaHpIr2eDUq1pXnSqhumw4/Wot06CbSphOiMpOrlmL8= 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.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="OspmlzIS" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-51381021af1so8369114e87.0 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=dqCteewDYjT9lDTi17NgLYVN4Rdzmh5Lu9stL2BkEHR/vewKA7V6rJUBFmyPV522R1 77PN1jZaiiaf8Os5Uu9Pqzry/JqvACvf25z2Jo2aN8fzfRAHM87rfMrHxew2lKIRHAYe dq8bpjqbJ1Kj74ktlP515o/XrWDHYT05E2g264GsebpnbhaUKSll78R+3sEkFFLDcssN WcpQaIOowJohP9CI+pI+C2NtpqNCNUurU16wG0xbcg50EfoizbzNLFG+f2EV1UBOL1n8 X73bzVey/tMtI+FQmuln7EHKvcrvZ+zXJzWNehjOTC6f6DWMy7qJkVC7kpCs8jvxifys 1jQw== X-Forwarded-Encrypted: i=1; AJvYcCUgvI3xIKHoC6ggk5+UCWOR3miVAXlNTSDyq5rTwJLZ9nBhKFX7tr3vQrmjDfBz0Dc9luQHjjquW3YOgrNNxAfktPoGZaLYhNNa+s9L X-Gm-Message-State: AOJu0YwGn67jVpNSRtStbaOuRLwqCXx3JFdEtJfx9f6+QZQ+tkVIf8IY lRE1Fuuw1+PFHvzVAh/2I0Q5eCTGPcJnbXHIJQO2OUW9+MrseGD43rlh1LBFDI8= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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 =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&pm660_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qco= m/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 =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&pm660l_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { aoss-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 0>; =20 trips { @@ -2436,9 +2433,6 @@ aoss_alert0: trip-point0 { }; =20 cpuss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 1>; =20 trips { @@ -2451,9 +2445,6 @@ cpuss0_alert0: trip-point0 { }; =20 cpuss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 2>; =20 trips { @@ -2466,9 +2457,6 @@ cpuss1_alert0: trip-point0 { }; =20 cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 3>; =20 trips { @@ -2487,9 +2475,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 4>; =20 trips { @@ -2508,9 +2493,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 5>; =20 trips { @@ -2529,9 +2511,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 6>; =20 trips { @@ -2556,9 +2535,6 @@ cpu3_crit: cpu-crit { */ =20 pwr-cluster-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 7>; =20 trips { @@ -2577,9 +2553,6 @@ pwr_cluster_crit: cpu-crit { }; =20 gpu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens 8>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 88C2C85945 for ; Tue, 19 Mar 2024 16:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864845; cv=none; b=l/poZeZ9ktjKF5iu2MDhJM3z4YQST4yvsQslcNdZmi+eMqOr1kgf4hEhgAhtreA6CHKAgd/sHNfH6Zw7OcXhzPsHRzVreJJDF0Umb3iJTe1k313I/ZUSn+4u1rbS8XUWRyKIQluvQ08dqEm8gB5dlsC0wIioxIjp4U/mJ4Um26k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864845; c=relaxed/simple; bh=CyTy0OiFU+Nfk1dsdjAmqIKr/Ix2mPrqSyyV6yCRfCg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ibOeCj8jXTWvq2CVv3i9ubQYdWclDZWZ4U/e7I2qaMn6djeWu9rEI1NgsRaB1LTjgLd39ObCyOMLr6ezYfbmed++4GcrYOQJ0sW6NrSKLtycUm8SVMtsIgYolczNgAzN5+euIrvRhHKUf/Z0NPppLR7hoLZz+kRF7sZTahpEB1s= 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=y4mtqUeL; arc=none smtp.client-ip=209.85.208.182 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="y4mtqUeL" Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d288bac3caso72861731fa.2 for ; Tue, 19 Mar 2024 09:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864841; x=1711469641; 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=UUin3oci0fFi0rj9oRXbvvL87KWcWHkvEUupVOm/N6A=; b=y4mtqUeLSjscXgzmk7j3q9nkganFza1YYJWDd9yVd8B5/sDzPCIfWdkiipqrV6Yokb BQxNgErVyoAoFQmOe8kk1L/mAc45ijzevM6E1nYyBg93A2d2yeB2+fapsHIvBuS3OWRx QFQ9M+tSc5+gPSVdMxb2avACZtfPzwvTeFojVS/hFppD9wPTk50K+PQtuhxdfsDHjb2L 0iOU326FGO+mgwMYEHL2atsinZyDZMTF6g9KUKP77Bk6KKkIdVeCm/Z1qwCoIwF8ZgUR v+zJiS/SRlyHTRU8J1ScM6f2NvcZinQV+mCyr3xatrnCIVzdpZFd7WxuZTnpAIRGXR/B ggbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864841; x=1711469641; 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=UUin3oci0fFi0rj9oRXbvvL87KWcWHkvEUupVOm/N6A=; b=w4NBpmFY9eU6QmT7rT7+Ni61Uqxf2oXzXj0CHN4RdBWnbnw8sqGRcNhbgSPaVhLNyr 4oTEDiOJN7rFhnjfvBHv43UkgKBcI3WyyUTuE9MqMCtLZEnfAg1CnMpkNZj4/By5uZr3 l7NaSy+niAr5SMsDdKfyFMfBkWbs8RVeEX2M9/jSFKb3ZF0/fY9ZnhtrvxAH+svIt/JA NqP8Q5x66WzOdgY2klUdO72BQ6ltY9XyTKJ+FWSrrTlnzNZxsZTR0xxR30EDvPE54RuX RQigsmtTaxVVcV2aJd9+Mwhg3fbF4R3oVx48IeTVrgTY0KiPbmOGdwWT8wyexw6UGCK4 YU3Q== X-Forwarded-Encrypted: i=1; AJvYcCU9OXJijz5hGZM/HH4Ly69Q9BAcUGZm4YewcchDDZFDkD68bUdYXRPnlJRpH5DcbfwxlFiiOW4zSDSyok0y083VLiUtZDo5bHm0XrXI X-Gm-Message-State: AOJu0YwVKwVJEkkiCPbtDRnYuarMCAIrzvBgpbVYgyts1wUsS6hf8KGP Uh8CD5iQhTV10pUw9B4280Ih61xiXvl3d1ZiiIjUI0WuOq7+CXJKhq4sgoWfTNQ= X-Google-Smtp-Source: AGHT+IGdWTnHvARXaD6ICYKtFfWMnupgF0nxAalA1wwRz5vssMQi9UGRXeacXHNYh3C+RKrjNRFOUQ== X-Received: by 2002:a05:6512:102a:b0:513:c28e:8215 with SMTP id r10-20020a056512102a00b00513c28e8215mr9542879lfr.64.1710864840842; Tue, 19 Mar 2024 09:14:00 -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.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:00 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:51 +0100 Subject: [PATCH 21/31] arm64: dts: qcom: sdm845-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-21-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/sdm845-mtp.dts | 12 ------- arch/arm64/boot/dts/qcom/sdm845.dtsi | 63 -----------------------------= ---- 2 files changed, 75 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/= qcom/sdm845-mtp.dts index 76bfa786612c..2391f842c903 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -51,9 +51,6 @@ vreg_s4a_1p8: pm8998-smps4 { =20 thermal-zones { xo_thermal: xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8998_adc_tm 1>; =20 trips { @@ -66,9 +63,6 @@ trip-point { }; =20 msm_thermal: msm-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8998_adc_tm 2>; =20 trips { @@ -81,9 +75,6 @@ trip-point { }; =20 pa_thermal: pa-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8998_adc_tm 3>; =20 trips { @@ -96,9 +87,6 @@ trip-point { }; =20 quiet_thermal: quiet-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8998_adc_tm 4>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index 2f20be99ee7e..ef05e3506d54 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -5337,9 +5337,6 @@ sound: sound { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -5364,9 +5361,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -5391,9 +5385,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -5418,9 +5409,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -5445,9 +5433,6 @@ cpu3_crit: cpu-crit { }; =20 cpu4-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -5472,9 +5457,6 @@ cpu4_crit: cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -5499,9 +5481,6 @@ cpu5_crit: cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -5526,9 +5505,6 @@ cpu6_crit: cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -5553,9 +5529,6 @@ cpu7_crit: cpu-crit { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -5568,9 +5541,6 @@ aoss0_alert0: trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -5588,9 +5558,6 @@ cluster0_crit: cluster0-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -5608,9 +5575,6 @@ cluster1_crit: cluster1-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 cooling-maps { @@ -5630,9 +5594,6 @@ gpu_top_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 cooling-maps { @@ -5652,9 +5613,6 @@ gpu_bottom_alert0: trip-point0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -5667,9 +5625,6 @@ aoss1_alert0: trip-point0 { }; =20 q6-modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -5682,9 +5637,6 @@ q6_modem_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -5697,9 +5649,6 @@ mem_alert0: trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5712,9 +5661,6 @@ wlan_alert0: trip-point0 { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -5727,9 +5673,6 @@ q6_hvx_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -5742,9 +5685,6 @@ camera_alert0: trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -5757,9 +5697,6 @@ video_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 760F785C45 for ; Tue, 19 Mar 2024 16:14:03 +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=1710864845; cv=none; b=oXZoGWPAGlVYlz+X3/Z+Qba+OmaFpeUtLmxKEHlN5q6NRUSbiDkZUiH0uVPYgdNOVzOAZToXz7hRiemuA845chQBEg9+Lb+XrGv8LeQvIaQnVztuogFq0PDHK6DNWsSba2ksCiW59K964qVvUkBtJJiQV43oRXLryZ64KGCAePY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864845; c=relaxed/simple; bh=pA4U1gIpuSng0p4EvRgnsn4OXJOXp+4JRJ7zOeQmvfo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L0ajRQfPRdGV0nmS+8pW/I42x4SiltMrWOrvpiEGs5VoTEei+Ln6Xp83ULlvdXAXjoFZJFxdMGS24rOeFSy/CyADd7hNXp7+V52FcC9LYSLR2AlrH8zGhL4SXIElMClkSqwR6GqmhQNOiltRg7RAcjFSVgsILoub6mi+2v9bqTs= 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.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="qZPtC86W" Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-513e6778112so59e87.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=DQdXH+ZpkETorMtUkHfBfkO73FCXvE3pcPTcgD5x8p1pK5Jt1ZNgaBjPcfOzll8ybh HGwwuDSitrlvJhSlJAdndRJKR2o2wkaLad9GKP88GAMVPfFitn4T9qeZTwC9rQX3tvCU 6OcS6JV/UEWsmnitwkeewhomMKDt8tLKg6np60ijmDh/t+Lc9QZDN2W+Wt8Lypbp1UpI L+qhJr/LWsCFQRN5sZEwSRlL3pUMRJRC8ozbU9A0mswq857Ia31UFtWU8AeH6ySCId2Y vGTjFQQF/w8cyac353MM7nqCBxCT9JRNvXlRg5wWyPovG3gZsF9i5X/RcSeyIcih/Q/d lzYQ== X-Forwarded-Encrypted: i=1; AJvYcCWHEkHwddUnUrbH52QRmc89v+uOu4gcx5QwXb+J16BG3Y1e6k+rwbykW+uPXij//PXBgaZbDQflHLKeb7qku49i/6yMcIhjFoYF+9MJ X-Gm-Message-State: AOJu0Ywix7C2xmhJ5GBnDnFcOD9uJQOM9SDPDZ/OWciOToEdq72zxlFd xUzf4kgGVmEtlVD7GERY8Qi4Me540C/jjoDTnq9vZR/5hWi3CtAOaW0sfHnp2+8= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmi632_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { mapss-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -3031,8 +3029,6 @@ trip-point1 { }; =20 cdsp-hvx-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -3051,8 +3047,6 @@ trip-point1 { }; =20 wlan-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -3071,8 +3065,6 @@ trip-point1 { }; =20 camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -3091,8 +3083,6 @@ trip-point1 { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -3111,8 +3101,6 @@ trip-point1 { }; =20 modem1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -3131,8 +3119,6 @@ trip-point1 { }; =20 cpu4-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -3157,8 +3143,6 @@ cpu4_crit: cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3183,8 +3167,6 @@ cpu5_crit: cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3209,8 +3191,6 @@ cpu6_crit: cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -3235,8 +3215,6 @@ cpu7_crit: cpu-crit { }; =20 cpu45-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -3261,8 +3239,6 @@ cpu45_crit: cpu-crit { }; =20 cpu67-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -3287,8 +3263,6 @@ cpu67_crit: cpu-crit { }; =20 cpu0123-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -3313,8 +3287,6 @@ cpu0123_crit: cpu-crit { }; =20 modem0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -3333,8 +3305,6 @@ trip-point1 { }; =20 display-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -3353,8 +3323,6 @@ trip-point1 { }; =20 gpu-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 15>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 858648613C for ; Tue, 19 Mar 2024 16:14:04 +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=1710864846; cv=none; b=gy7JcUX1/toqlJb6EdnUzmoVsd/BfLaDTLnqHALmXltPRglhn2HoWQVhnigIOm2VoIKyPqB6hO9bn13HldrdBul1euA2Y2q9tUljqT94q1rGsFSAhAOaPdqpI79o0m/n9pYw5Mp1lXmtfqGDTdWoeBQkVxbx2fGblipsc7qRZ2w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864846; c=relaxed/simple; bh=T0AMd595+W1sDBZ4qDqfxuerOD3YhbiZuI1wj+Egzv0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KB8U0fOn3rvbn5UGxBT/4/7edc/vA5hg3Q1F1YKvJi5zR2CmiomVOg6ldfnfsNTCogm+eFjX/Daq1cyYvvMC60nny2D612O1SRlAsACxs9Qsq/J3R5XGAmrXYVDdh+SLRLjUCeVIBxic1KAKjzUa0HhfiEZBEbSKJPiaG6h30zM= 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=toAw4Bzm; 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="toAw4Bzm" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-513cfc93f4eso6503462e87.3 for ; Tue, 19 Mar 2024 09:14:04 -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=SFUKOQmXWTLWdjtaov2aUjztp6b4X+go7eRh8s9UnHk=; b=toAw4BzmRm9eWWOKEWD8kBGc9D0w8hCgdRGRnhFIqKy5DtB6l8NjKobaI5aVIhIfM6 Sk+A4Azs4PR2DYGTrQeG6pYcGwv8yEt82JKv3sUcS1p3/ZHlBMp4R/tUHsNpRdT28RpW y0uKNk1cWvFGG+2p+3GodUeN+pG8fz/DAmZE0lqIr7J6gfrJN+8qh+1xfN2M/90zKbPY y3/Wv0ajb6RmCoiOqWv8yJfiNkHbDTSCnWENxpQwk2Alf6R5XmOaoFjJMquKhJgykAjE dsQyvW/T5gFduq4FdDWkpkHE729y59INzr3SILh+6eu54e8NwhFVvlc2n7ynilwtSQ/P eOpA== 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=SFUKOQmXWTLWdjtaov2aUjztp6b4X+go7eRh8s9UnHk=; b=gRwSQJIG7MiF9PdC4p5eQVN3/1r+dDDqnTDLCsVXbQ10TcmfZ1htdSJyFpl6PrUSb6 EmpvUYuCvaiKGIhprgdotGrsrYxkj4rCmvdMdvn7FHL/q87oV3GM1YMON/U+vSEhTAzV oYWS2ZVYEr5VBWusi2MP+HtNswXcVNglhV3ZB/8Gm6Abt4fPwrfMsMClvRtTaSQLNr3o cxAXF/JRzl0bXIPb7yS9SB0d+Uu3dz5ZZLKy7SidefSazkoMoE3nEy4yLeDDiNGnRbp2 rf3u07RkRT1DXzoStVi2U354aW1keHRP4FhcLDi3qSN1guNEE7FAWFYqhX7AwnKpLEKk sI7g== X-Forwarded-Encrypted: i=1; AJvYcCXiXWZ58LDgvS94WCF7SjOxuRI+gVBioZK6Lo9vsKcMSyVtjluthOhTHEz2fwZieuIeNT/OJCrWv87Rtz0BXhJjDn+pF7IaMI4vwEda X-Gm-Message-State: AOJu0Yy6VOK29jFlDJmrSFSVxStIoErVz/8YePdahR3tzWLEII13jaMQ 9vVq65YrTQKocL/0ANm8ZVhl71pu/hB5wQOEqTkaoZdT0TGCsxgSvmSXFlc7lsc= X-Google-Smtp-Source: AGHT+IEvECGMkclgL7HfDaZoY+kI+4AjXLi+FOv4w3hDzPRZ/xHz5uLc5WHnzIsltONPG4EerYCTUQ== X-Received: by 2002:a05:6512:280d:b0:513:dd43:a153 with SMTP id cf13-20020a056512280d00b00513dd43a153mr10968746lfb.59.1710864842687; Tue, 19 Mar 2024 09:14:02 -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.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:02 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:53 +0100 Subject: [PATCH 23/31] arm64: dts: qcom: sm6125-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-23-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/pm6125.dtsi | 3 --- arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 8 -------- arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts | 6 ------ 3 files changed, 17 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm6125.dtsi b/arch/arm64/boot/dts/qco= m/pm6125.dtsi index 99369a0cdb61..b92f357511de 100644 --- a/arch/arm64/boot/dts/qcom/pm6125.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6125.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm6125-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6125_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts b= /arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts index 08046f866f60..dcd05f303b78 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts @@ -90,8 +90,6 @@ cmdline_mem: memory@ffd00000 { =20 thermal-zones { rf-pa0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6125_adc_tm 0>; =20 trips { @@ -104,8 +102,6 @@ active-config0 { }; =20 quiet-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <5000>; thermal-sensors =3D <&pm6125_adc_tm 1>; =20 trips { @@ -118,8 +114,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6125_adc_tm 2>; =20 trips { @@ -132,8 +126,6 @@ active-config0 { }; =20 rf-pa1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6125_adc_tm 3>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts b/arc= h/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts index a49d3ebb1931..994fb0412fcb 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts @@ -84,8 +84,6 @@ key-volume-up { =20 thermal-zones { rf-pa0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6125_adc_tm 0>; =20 trips { @@ -98,8 +96,6 @@ active-config0 { }; =20 quiet-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <5000>; thermal-sensors =3D <&pm6125_adc_tm 1>; =20 trips { @@ -112,8 +108,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm6125_adc_tm 2>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 8CA1F85936 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-513dc99b709so5118829e87.1 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=lWJoSSK7f6XqheHK17W2VxgpCeJr3Th2JEwqjL3rX9yUF9yPYx+AEGGhRWPTg0/G8r Jpq0iODFN72cdUUi5D+Y2z5cy5H+jhCrA0G3XV7MkOSbvqXdnLYVx4Hpkw+j1cbFE5ZI viIJNp83RpKeNowYcNYzZVmLidS1dRCI4yg9nHjBU2bYedLslHcDey2qECfrzrzzu7DH /f08MK+F8/ca4OUa7FYLZ1XX5nmY/+BMa2N/+RwUPAWV1H5t+SvpG1FRRuQ4GUk61FtO wByC3D3PwywXcsRWfwDcPgKKXzyWA2n9A2Agt/V2Q0jU3HeYVQUpg41jwhotSHIOhgEu t/Aw== X-Forwarded-Encrypted: i=1; AJvYcCUr1x2ydcf1ehxyQr/kPzNokDvm9GweVynyA/qWtVREXLZG9+S2qFFaEa9tfX03cFgGq9U0eutUlKh4AIupttdYQGgkS2UB0nbpwS50 X-Gm-Message-State: AOJu0Ywcm5D8vki2bCU6fBX6tsfXnZzXuRHoQMW8Ubfu0NbcGLS3Ernj dkhJ/pvwqNlx5zwluxphLWUlCJl2Fspz6Pvv1TE3/GekAyVwEE1blVFhpyCIfAA= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm6350_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -2727,9 +2724,6 @@ aoss0-crit { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -2742,9 +2736,6 @@ aoss1-crit { }; =20 audio-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -2757,9 +2748,6 @@ audio-crit { }; =20 camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -2772,9 +2760,6 @@ camera-crit { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -2800,9 +2785,6 @@ map0 { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -2828,9 +2810,6 @@ map0 { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -2856,9 +2835,6 @@ map0 { }; =20 cpu3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -2884,9 +2860,6 @@ map0 { }; =20 cpu4-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -2912,9 +2885,6 @@ map0 { }; =20 cpu5-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -2940,9 +2910,6 @@ map0 { }; =20 cpu6-left-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -2968,9 +2935,6 @@ map0 { }; =20 cpu6-right-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -2996,9 +2960,6 @@ map0 { }; =20 cpu7-left-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -3024,9 +2985,6 @@ map0 { }; =20 cpu7-right-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -3052,9 +3010,6 @@ map0 { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3067,9 +3022,6 @@ cpuss0-crit { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3082,9 +3034,6 @@ cpuss1-crit { }; =20 cwlan-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -3097,9 +3046,6 @@ cwlan-crit { }; =20 ddr-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -3112,9 +3058,6 @@ ddr-crit { }; =20 gpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -3140,9 +3083,6 @@ map0 { }; =20 gpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -3168,9 +3108,6 @@ map0 { }; =20 modem-core0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -3183,9 +3120,6 @@ modem-core0-crit { }; =20 modem-core1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -3198,9 +3132,6 @@ modem-core1-crit { }; =20 modem-scl-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -3213,9 +3144,6 @@ modem-scl-crit { }; =20 modem-vec-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -3228,9 +3156,6 @@ modem-vec-crit { }; =20 npu-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -3243,9 +3168,6 @@ npu-crit { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -3258,9 +3180,6 @@ q6-hvx-crit { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 11>; =20 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 { =20 thermal-zones { chg-skin-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm7250b_adc_tm 0>; =20 trips { @@ -108,8 +106,6 @@ active-config0 { }; =20 conn-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm7250b_adc_tm 1>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 9B88D86279 for ; Tue, 19 Mar 2024 16:14:06 +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=1710864849; cv=none; b=ZF0HFI73YZ4FXzMu+d9S4vNIi/S+bdhk6w5Usj8hZt66geU9yJZIzMb4qlIVRdwK59G2iehe54feohwhvAHxEG1c6+f/ySFnaj59wsHjHPL7jqiO2JkPM8uzK2Fb2E8nwtVYOEKXVUnTqv/fpbe5OQN96VTJHd8bkLEa174pzaY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864849; c=relaxed/simple; bh=+x3S1GOyxWB2Z2s6XmbdEQtu2mW213BCuZcfP0oLFQQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VGEanq6fwEorXew3gRqzr2jrTqQDHrq0AA89iUNpFtZOVtZlfsOCSaWgPYqFI5xTl9DTSIDIpAlJC5c2SCsd0Jd7f78Kl0YI2cGmZTs1YJPHIZFXwtpfCWgqbsUqvdZdcP1aztR+lzyE5ywBegOgFdUArhWHgk/G32hlRdLK3F4= 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=y84bVfN1; 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="y84bVfN1" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-51381021af1so8369285e87.0 for ; Tue, 19 Mar 2024 09:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864844; x=1711469644; 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=OW+eeLA6maKWkhRGMwKQSoYuxmPlvkorttyO5LKS3ac=; b=y84bVfN1WAih+eD5CRB8thGR/2uKVtbGtpo1HzEWMnjB/X6kNngzY6JGOQlriJXDqL f/IrT+5dS8A0Yv5EtOpxD7mBMS7N3WHpO3Zmzkpk/06Y0WxsVWqIeujSC4QVa6u6f8Dq X2pOtdXMHAhuFZOCJ3WSkw6zgxTBuXw8YwBwr/EM4YADKaxEokfM8rvrzRuzsKTuii01 ajAtUFLSMastHLbrwNkKpf7OIsa/GA8Mk6KZ1x++uQMoMYP97Ke1ZLgzwMNW7CSnwlhV VULFaOTjcmXt0qQk8khHYhYWTO5UMb5iOcNF5/aXDD7OMUas26kFYfqorVwRABChlwUK KH/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864844; x=1711469644; 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=OW+eeLA6maKWkhRGMwKQSoYuxmPlvkorttyO5LKS3ac=; b=HfQNJLwdcOiE2yo+D2Q9jb27xw1O2l2CACW7QzJoLZwpMS0LzFdtWQqKTxqci/TSJX qFwwU+CEN6NqYf0nSsCVWOQvDYKMXD0LKMBzJQotIV59R/8CnX/tjoyxaj664xd2IRnu AQ0i8XYaGY+fr5UYRsoVb7bqPWgjtYSX9V197zmVu52QUwERYpywnPqTgdO8rCTJOVVh 5HO38ZWOC75GEDtUV0TUt8LoDYFm7wNdp1OxR7/VM452cZpu3wCpIt8dqX77dtHWfOYY dEAwGrZZ9Rlv1s6+HgrKpXRNNDBCoosScFQCTW2xwQSXlniEjpknH1YxAo2J4SStbvln 8wlg== X-Forwarded-Encrypted: i=1; AJvYcCWdL48hOojVC22+W17hm4tgJ2FhfB8J0YoF+3oVGVKFKrKZxedcSrZJjgSreHNCKCz4vfHsyCZY026bOSNpuA7cHFMPr3Osv+1GCiCy X-Gm-Message-State: AOJu0YxOzYOw/a23AFQBjfPq6O2D306STqactEhX2fzPdyMMi1yScmwy +OF9ZvwNm4uVhPLOXhgm3QcN37i4L1F6TdG+szAkuu6ax/tQn/6XfTb2jcSpk88= X-Google-Smtp-Source: AGHT+IGNJp5+cs35sQnDjBJluajP3H20zhUEfI4pfVkeHkaX8IUlnm7VzXT9bg1O1prVdJBPhrEr2w== X-Received: by 2002:ac2:4d9a:0:b0:513:d82a:8d3a with SMTP id g26-20020ac24d9a000000b00513d82a8d3amr8250521lfe.35.1710864844739; Tue, 19 Mar 2024 09:14:04 -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.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:04 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:55 +0100 Subject: [PATCH 25/31] arm64: dts: qcom: sm6375-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-25-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/sm6375.dtsi | 78 --------------------------------= ---- 1 file changed, 78 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6375.dtsi b/arch/arm64/boot/dts/qco= m/sm6375.dtsi index 4386f8a9c636..16880789f071 100644 --- a/arch/arm64/boot/dts/qcom/sm6375.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6375.dtsi @@ -1837,9 +1837,6 @@ cpufreq_hw: cpufreq@fd91000 { =20 thermal-zones { mapss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -1864,9 +1861,6 @@ mapss0_crit: mapss-crit { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -1891,9 +1885,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -1918,9 +1909,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -1945,9 +1933,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -1972,9 +1957,6 @@ cpu3_crit: cpu-crit { }; =20 cpu4-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -1999,9 +1981,6 @@ cpu4_crit: cpu-crit { }; =20 cpu5-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -2026,9 +2005,6 @@ cpu5_crit: cpu-crit { }; =20 cluster0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -2053,9 +2029,6 @@ cluster0_crit: cpu-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -2080,9 +2053,6 @@ cluster1_crit: cpu-crit { }; =20 cpu6-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -2107,9 +2077,6 @@ cpu6_crit: cpu-crit { }; =20 cpu7-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -2134,9 +2101,6 @@ cpu7_crit: cpu-crit { }; =20 cpu-unk0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -2161,9 +2125,6 @@ cpu_unk0_crit: cpu-crit { }; =20 cpu-unk1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -2188,9 +2149,6 @@ cpu_unk1_crit: cpu-crit { }; =20 gpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -2215,9 +2173,6 @@ gpuss0_crit: gpu-crit { }; =20 gpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -2242,9 +2197,6 @@ gpuss1_crit: gpu-crit { }; =20 mapss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -2269,9 +2221,6 @@ mapss1_crit: mapss-crit { }; =20 cwlan-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -2296,9 +2245,6 @@ cwlan_crit: cwlan-crit { }; =20 audio-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -2323,9 +2269,6 @@ audio_crit: audio-crit { }; =20 ddr-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -2350,9 +2293,6 @@ ddr_crit: ddr-crit { }; =20 q6hvx-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -2377,9 +2317,6 @@ q6hvx_crit: q6hvx-crit { }; =20 camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -2404,9 +2341,6 @@ camera_crit: camera-crit { }; =20 mdm-core0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -2431,9 +2365,6 @@ mdm_core0_crit: mdm-core0-crit { }; =20 mdm-core1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -2458,9 +2389,6 @@ mdm_core1_crit: mdm-core1-crit { }; =20 mdm-vec-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -2485,9 +2413,6 @@ mdm_vec_crit: mdm-vec-crit { }; =20 msm-scl-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -2512,9 +2437,6 @@ msm_scl_crit: msm-scl-crit { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; - thermal-sensors =3D <&tsens1 10>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 61E7A86647 for ; Tue, 19 Mar 2024 16:14:07 +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=1710864850; cv=none; b=C0kG3aHLOnUsk4DgqwbLYCw6xWFsVTMmnE7mLlKyN8mToDoyCIraXHjdtYZMm0TQyBIPXLlzaAm8E/n3a5UgwjROfmFNgBM3nEMAtZyZS+8jzYPogrA4Idia6NslHlFaBlovgKvg0x3xHUwQ85K7FgZlIZ3hj4xuaVsn6/gB6YY= 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.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="W/tmVSIS" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-513d23be0b6so6074654e87.0 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=g6HqFcRvmPb/NzVBt63b/sHHFcGIdGAWwzzwhvPCKiMhJbJmx3N4hqEntPQ0m7+IZK YmMbT6Dpt5h0oIXvKMfp9rbNqPZPmf8ReGBo4V/n9mPjgZVhztYdVfqIoEf3uXEqhDUe mATm1t0jFZideKTEMTiAs5gyKK/E+DYpf9/bWjzqNJ9E8bxR3ac/0hJI0kh4jOP2vhne eMjwA4RYbHCsIXYFBD9OjP+Tk4i7TM9uDbJoS5rr5fprv8HFfb65YNNo1fVgDnIYSmrK J8BDZ6stNPEyEqe+KQFZDqBClY/YTqvIx+ip41XgGPI33Exn6xVdeDtYROYUWA5J69Pc Xx3g== X-Forwarded-Encrypted: i=1; AJvYcCXLjz1BKp3i0x3Rktkh4/E/h3IFBeCxBtDNMkuhH9fi9p2dwIHJUTwaQRmUIYLJHxK9rCvtpJXYC50nlS1RvSpYUAaehD7EL3ltAvJ3 X-Gm-Message-State: AOJu0YzsSFPhOvPOJ2kfODCjfVjCiiJPy/K5D/5XVk+A9bGkPuZEm6lf UC2njKca/JCtAHXkYpl9j7yv8jxsWNfnzJL7Npg4jLvTCFIzeLfRCSFtwInUq1M= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8150_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qc= om/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8150b_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qc= om/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8150l_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi b/arch/arm64/boot/dt= s/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmm8155au_1_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi b/arch/arm64/boot/dt= s/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 =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmm8155au_2_temp>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -4600,9 +4597,6 @@ map1 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -4644,9 +4638,6 @@ map1 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -4688,9 +4679,6 @@ map1 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -4732,9 +4720,6 @@ map1 { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -4776,9 +4761,6 @@ map1 { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -4820,9 +4802,6 @@ map1 { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -4864,9 +4843,6 @@ map1 { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -4908,9 +4884,6 @@ map1 { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4952,9 +4925,6 @@ map1 { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4996,9 +4966,6 @@ map1 { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -5040,9 +5007,6 @@ map1 { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -5084,9 +5048,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -5099,9 +5060,6 @@ aoss0_alert0: trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -5119,9 +5077,6 @@ cluster0_crit: cluster0-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -5139,9 +5094,6 @@ cluster1_crit: cluster1-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 15>; =20 cooling-maps { @@ -5161,9 +5113,6 @@ gpu_top_alert0: trip-point0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -5176,9 +5125,6 @@ aoss1_alert0: trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -5191,9 +5137,6 @@ wlan_alert0: trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -5206,9 +5149,6 @@ video_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5221,9 +5161,6 @@ mem_alert0: trip-point0 { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -5236,9 +5173,6 @@ q6_hvx_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -5251,9 +5185,6 @@ camera_alert0: trip-point0 { }; =20 compute-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -5266,9 +5197,6 @@ compute_alert0: trip-point0 { }; =20 modem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -5281,9 +5209,6 @@ modem_alert0: trip-point0 { }; =20 npu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -5296,9 +5221,6 @@ npu_alert0: trip-point0 { }; =20 modem-vec-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -5311,9 +5233,6 @@ modem_vec_alert0: trip-point0 { }; =20 modem-scl-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -5326,9 +5245,6 @@ modem_scl_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 11>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 8D4F086AD4 for ; Tue, 19 Mar 2024 16:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864851; cv=none; b=QKJQKV+8T0xuD4Pwu/phzolx0hIL5P3nZw4+EIjfjOzi6l6Mvnj4MgBPgFlC0l6YkYnhGyoapeiVRgScvjV9qj4XeWG8gHsrObD8K2ZlbZ9xuwsePg7jQ4RvQE8HnDqRbkD010eKt5U8rnRb9lK5At8+t41IMJGlL/U4rzwE6aU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864851; c=relaxed/simple; bh=icuuXSqjatxpixxLqT1V6W9fC72HVgbLSz3h8APncwQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=V093EjLYBPm3zkjZLiDuUpaz+o/KLixsno26Aai5M2mY7EfrJVp1m0aLj9Ysj7XqA1fRblqSPYKTFSfWHtgIWkjGHWolrWSqL6/4Hz4UFkGuxp8ddn/0PawFYoPXi2L2g0KWg2X/8pIKyizuTgIbNHioXUZwlFEYH4k9Tu/qTco= 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.53 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-f53.google.com with SMTP id 2adb3069b0e04-513cfc93f4eso6503556e87.3 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=XLi9nVCotR6lJEE7lDeQrXb5WlnzYHLrt4SAAy/kwQoTe42QgyQwO/j13aVmtDZnay 6kIA6kju0P38vs8pxKUTlWchY9CssyIQFC/F3v3sokorraI18Vot3k/JmYfwbRVz8FKE QHK5BLv1gqREpqcA2jTqd6WNhJPkwQ4LbdfAw9tCuL7S8rS8qgSHs7KGl8tjy5MjH/aU ZfMJtbpo3rpNg6vDWB/qa1FwFXottvUF8xQ9nWxXEaUDKJ+Wyqehj9Zogt36/59milUO MnAD64e1MPzb8eqorVZOfT/k/4zAzzNZznJAEyBWXdM0j003AlSuYAvJiG+0Yl2LGxT2 b4Lw== X-Forwarded-Encrypted: i=1; AJvYcCUbTilaKsrnVARFwim3tFBGUV1DFOXamMsDAWT2wmsJS5zz1p+EyMA6FbpFpfkT1/B74O0jb5bgSqaY4tRTToeE59xl3qFsN0H73TE+ X-Gm-Message-State: AOJu0YwHcNrkysfLY4Jrum9m5Bo0B9lUcnYRYuDqlsitXVHsgrzDJq88 +lAS8Tpe6SmMJQlCh72lU1q9FzfjoO7q3bngtDL1FmDRiVlB9sIClOvhbnz+jqg= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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 { =20 thermal-zones { conn-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150b_adc_tm 0>; =20 trips { @@ -124,8 +122,6 @@ active-config0 { }; =20 pm8150l-pcb-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150l_adc_tm 1>; =20 trips { @@ -138,8 +134,6 @@ active-config0 { }; =20 skin-msm-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150l_adc_tm 0>; =20 trips { @@ -152,8 +146,6 @@ active-config0 { }; =20 wifi-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150_adc_tm 1>; =20 trips { @@ -166,8 +158,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150_adc_tm 0>; =20 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 { =20 thermal-zones { camera-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150l_adc_tm 0>; =20 trips { @@ -67,8 +65,6 @@ active-config0 { }; =20 conn-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150b_adc_tm 0>; =20 trips { @@ -81,8 +77,6 @@ active-config0 { }; =20 mmw-pa1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150_adc_tm 2>; =20 trips { @@ -95,8 +89,6 @@ active-config0 { }; =20 mmw-pa2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150l_adc_tm 2>; =20 trips { @@ -109,8 +101,6 @@ active-config0 { }; =20 skin-msm-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150l_adc_tm 1>; =20 trips { @@ -123,8 +113,6 @@ active-config0 { }; =20 skin-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150_adc_tm 1>; =20 trips { @@ -137,8 +125,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8150_adc_tm 0>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qco= m/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 { =20 thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -6288,9 +6285,6 @@ map1 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -6332,9 +6326,6 @@ map1 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -6376,9 +6367,6 @@ map1 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -6420,9 +6408,6 @@ map1 { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -6464,9 +6449,6 @@ map1 { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -6508,9 +6490,6 @@ map1 { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -6552,9 +6531,6 @@ map1 { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -6596,9 +6572,6 @@ map1 { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -6640,9 +6613,6 @@ map1 { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -6684,9 +6654,6 @@ map1 { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -6728,9 +6695,6 @@ map1 { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -6772,9 +6736,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -6787,9 +6748,6 @@ aoss0_alert0: trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -6807,9 +6765,6 @@ cluster0_crit: cluster0-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -6827,9 +6782,6 @@ cluster1_crit: cluster1-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 15>; =20 cooling-maps { @@ -6849,9 +6801,6 @@ gpu_top_alert0: trip-point0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -6864,9 +6813,6 @@ aoss1_alert0: trip-point0 { }; =20 wlan-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -6879,9 +6825,6 @@ wlan_alert0: trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -6894,9 +6837,6 @@ video_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -6909,9 +6849,6 @@ mem_alert0: trip-point0 { }; =20 q6-hvx-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -6924,9 +6861,6 @@ q6_hvx_alert0: trip-point0 { }; =20 camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -6939,9 +6873,6 @@ camera_alert0: trip-point0 { }; =20 compute-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -6954,9 +6885,6 @@ compute_alert0: trip-point0 { }; =20 npu-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -6969,9 +6897,6 @@ npu_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 8>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86D28126F02 for ; Tue, 19 Mar 2024 16:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864852; cv=none; b=aijJ4zhfkR5nRQG+qeZqbzhQTPyIB1RI4UHcdsENtAV8rBmYCQdicEw60dH3Fh0546+lWyskI1NX5ysSec7+kyULEe72X0L8Mh1iLy+pCnmIIXB/ZIUQNhNyH2CPYlE2VutuOl3gY5gcAv2sif1lArXRadSwvQ4+sKWlLHEXe3I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864852; c=relaxed/simple; bh=bZwzKCPFP36K4ma9bczD6CPYa7x8uP/DtfKIjWU2Fc0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dfdZ9ATkONO1h/6/MIVrVHsZMYi9SU2DzXREoAZ3McNKmenjdrqdBBlI54UjiYj332kLGmP+I4g8r5ncDHefqfd5cqiJWBrF5SkZTdtu4EtjfT973Axknth6c6l1aNGtJ2TiiLMY1u+btHcQ7M//98Sg4E6kWmGOZWMByYuP/k4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=F/uHbJAK; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F/uHbJAK" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-514ba4e5640so1070031e87.1 for ; Tue, 19 Mar 2024 09:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864847; x=1711469647; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ts1LMNcNLj/PrvfTQKo0ihyTi9/sKmL5uu9MIAZoRlc=; b=F/uHbJAKOWiaCj0CoG540/mTxtu4KvBMGtQV13wP6+mHZlBKfbv9TfBBjQQOH02Bnu 2hW+h35u5Q+gO641ennKZ4fUydyKh6N5akriU1Adp76q7BTvbxc3PcIJ9mBePhbt/8jb 6fyeeWrHPerT46gG0q/50lFSCSXHeERVG0z9v3wRIwnBu9JfRbgkJ4pTKk9ikj90HrDo df3d9erh6yUffQnRMj9Rn2F7QIwqNCoKtEDW97xb4+iU+67KmVt6UwJi70hGwGeBGm1S zGdnN92wjF2FveS0zsoW5HzSYyCbchIKlUGpuQdnwThfaLtg9VBo0S2ch+YNNOytQAjT NjHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864847; x=1711469647; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ts1LMNcNLj/PrvfTQKo0ihyTi9/sKmL5uu9MIAZoRlc=; b=DrcdA061tiPOyjClBMgDeRL3rTkMCuvbvUCb3I4gxKR3Q+El755aX7CPdg8PH/POdr p+5MJMk3YQvjq+eWU8YAvgNCFc6N/8jGBwRkDEiCOo1vfsp+nYXZT2CKCH5NnyjOB4hr qOsHT7bIOliKq1CT8r+TgL3C1b6ApjBVh+LmziY4SXDeRIfPSfdTZr4oPB13h4392Db7 594SsDS7X+74U4eLkcXWPeki1dyF2TUh+FVnSG6CPd8e+SbdA3P05iPuQrp1AglU5zv9 fMmlQD6tEt8yRlkn++hLcVI07F/km3WSvGH1CHxRFfP4trqS89/2cuaUMuDPg+ViZhN7 z/xA== X-Forwarded-Encrypted: i=1; AJvYcCUm/fH3/RK+DtE7GmKKmsXk6ltnyAB0RdVQKATkCjd77KqgxbgBhNrbmb9Zq8VBX1c7UvxvV7qWPgx0Fq5sZ+MRTnGT6AwYFHON+5gF X-Gm-Message-State: AOJu0Yw57fvp2OqOkPTESXb8g6aE9tg9TEXrRkol9a23+75NvOfbe0/x cx+ZHmQ2hVlRMab3BJhtKKyijMz/G68pPShIf1VhIknJbb1addwF6n293eVYTzw= X-Google-Smtp-Source: AGHT+IHJOtXiU8caDiHy8B47iUqFn8AMRgkM8k6dim/xM5Gp/GQTTCOJODaZ7aXGWjZ0REwEYj0JAg== X-Received: by 2002:a19:ca59:0:b0:513:d4fb:fa76 with SMTP id h25-20020a19ca59000000b00513d4fbfa76mr1229302lfj.3.1710864847623; Tue, 19 Mar 2024 09:14:07 -0700 (PDT) Received: from [127.0.1.1] (netpanel-87-246-222-29.pol.akademiki.lublin.pl. [87.246.222.29]) by smtp.gmail.com with ESMTPSA id dx9-20020a0565122c0900b00513ee207982sm607686lfb.198.2024.03.19.09.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:07 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:58 +0100 Subject: [PATCH 28/31] arm64: dts: qcom: sm8350-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-28-e0aee1dbcd78@linaro.org> References: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> In-Reply-To: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.13-dev-0438c All of the thermal zone suppliers are interrupt-driven, remove the bogus and unnecessary polling that only wastes CPU time. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm8350.dtsi | 2 - arch/arm64/boot/dts/qcom/pm8350b.dtsi | 2 - arch/arm64/boot/dts/qcom/pm8350c.dtsi | 2 - arch/arm64/boot/dts/qcom/pmr735a.dtsi | 2 - arch/arm64/boot/dts/qcom/pmr735b.dtsi | 2 - arch/arm64/boot/dts/qcom/sm8350.dtsi | 87 -------------------------------= ---- 6 files changed, 97 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8350.dtsi b/arch/arm64/boot/dts/qco= m/pm8350.dtsi index 9ed9ba23e81e..20cd4d28b46b 100644 --- a/arch/arm64/boot/dts/qcom/pm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pm8350_thermal: pm8350-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8350b.dtsi b/arch/arm64/boot/dts/qc= om/pm8350b.dtsi index 05c105898892..058f7421ea49 100644 --- a/arch/arm64/boot/dts/qcom/pm8350b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350b.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pm8350b_thermal: pm8350b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8350c.dtsi b/arch/arm64/boot/dts/qc= om/pm8350c.dtsi index aa74e21fe0dc..bc5555b14ca7 100644 --- a/arch/arm64/boot/dts/qcom/pm8350c.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8350c.dtsi @@ -47,8 +47,6 @@ pm8350c_pwm: pwm { / { thermal-zones { pm8350c_thermal: pm8350c-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pm8350c_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735a.dtsi b/arch/arm64/boot/dts/qc= om/pmr735a.dtsi index febda50779f9..809bee0e164f 100644 --- a/arch/arm64/boot/dts/qcom/pmr735a.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735a.dtsi @@ -35,8 +35,6 @@ pmr735a_gpios: gpio@8800 { / { thermal-zones { pmr735a_thermal: pmr735a-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmr735a_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qc= om/pmr735b.dtsi index f7473e247322..9a71b77c7fc4 100644 --- a/arch/arm64/boot/dts/qcom/pmr735b.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi @@ -9,8 +9,6 @@ / { thermal-zones { pmr735b_thermal: pmr735b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; thermal-sensors =3D <&pmr735b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qco= m/sm8350.dtsi index a5e7dbbd8c6c..cf9ed53a834c 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -3638,9 +3638,6 @@ compute-cb@8 { =20 thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -3682,9 +3679,6 @@ map1 { }; =20 cpu1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -3726,9 +3720,6 @@ map1 { }; =20 cpu2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -3770,9 +3761,6 @@ map1 { }; =20 cpu3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -3814,9 +3802,6 @@ map1 { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -3858,9 +3843,6 @@ map1 { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -3902,9 +3884,6 @@ map1 { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -3946,9 +3925,6 @@ map1 { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -3990,9 +3966,6 @@ map1 { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4034,9 +4007,6 @@ map1 { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4078,9 +4048,6 @@ map1 { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4122,9 +4089,6 @@ map1 { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -4166,9 +4130,6 @@ map1 { }; =20 aoss0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4181,9 +4142,6 @@ aoss0_alert0: trip-point0 { }; =20 cluster0-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -4201,9 +4159,6 @@ cluster0_crit: cluster0-crit { }; =20 cluster1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -4221,9 +4176,6 @@ cluster1_crit: cluster1-crit { }; =20 aoss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -4236,9 +4188,6 @@ aoss1_alert0: trip-point0 { }; =20 gpu-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 1>; =20 cooling-maps { @@ -4258,9 +4207,6 @@ gpu_top_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 2>; =20 cooling-maps { @@ -4280,9 +4226,6 @@ gpu_bottom_alert0: trip-point0 { }; =20 nspss1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -4295,9 +4238,6 @@ nspss1_alert0: trip-point0 { }; =20 nspss2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -4310,9 +4250,6 @@ nspss2_alert0: trip-point0 { }; =20 nspss3-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -4325,9 +4262,6 @@ nspss3_alert0: trip-point0 { }; =20 video-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -4340,9 +4274,6 @@ video_alert0: trip-point0 { }; =20 mem-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -4355,9 +4286,6 @@ mem_alert0: trip-point0 { }; =20 modem1-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -4370,9 +4298,6 @@ modem1_alert0: trip-point0 { }; =20 modem2-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -4385,9 +4310,6 @@ modem2_alert0: trip-point0 { }; =20 modem3-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -4400,9 +4322,6 @@ modem3_alert0: trip-point0 { }; =20 modem4-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -4415,9 +4334,6 @@ modem4_alert0: trip-point0 { }; =20 camera-top-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -4430,9 +4346,6 @@ camera1_alert0: trip-point0 { }; =20 cam-bottom-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <1000>; - thermal-sensors =3D <&tsens1 13>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 2A89B1272DC for ; Tue, 19 Mar 2024 16:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864854; cv=none; b=r8r8uDzyjOxH3sACZjvvFMjd1sLkloVEUX16jE8SGhuiLNQoCK5aOoiTK1hI9pjRMqtVauphR7xPiRjnV02+aJGV8dmqcpIrmB+1g5k9TlZIiXCz8IjnlV0bQlOHI0OMY8fGuiZfLhZKDuHl98BQJXsBjBHfWMGAOtSguwG69bk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864854; c=relaxed/simple; bh=WizwTGgP4cVSbvK0Z5+gMnGIqDckrAMp1j1rUCmVD3E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=R+spMGsQ5cmdEpTI3hj2Sv/IQIlK547gwxFfItMwyxESB9VOBxYu8qB6xsEmF6B7x9iT5Ze1gXlAFaOK2WK7G9U/sdMI3uIunKNrKIh6QKEpnmv7Anv6Qs32RijB8bT4/REJjI1BL7pQHMXMXv88S43s/WMbTokLTDShbdzFcOc= 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=et1V6qY6; arc=none smtp.client-ip=209.85.167.43 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="et1V6qY6" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-513d599dbabso6581509e87.1 for ; Tue, 19 Mar 2024 09:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710864850; x=1711469650; 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=gqX9h+0UxlZQM32W03xoBKjlP5c39q57qREfueCSqoc=; b=et1V6qY6bBFIB7cvs5CN5P4bAFS4Dh27Xd101x16LZn5Eyy9XY8QEQG6QtB0AvjKGF GGl34IHIPZcVcMfE+5lqHMrWv5xHCZbXpeVUhv58Ac+OfCMKdwwkEv3fgs+ambZBegz8 73/ik+5bnGmG8rUoVY2lE+vGPpYJ8Lvknxnf2K+iUsVta6INrysDggP7cBkIrPZfnw8a IBIVlsqdAV0CO+f0/93/ZvhqaTryho88JdTd7MIkBhCeojiGcQQvv+BVeLxVd0p/ISZw oaSf7JDe8sMtX2d6Fyk9JTSusWlOf6henbfig+VCc22FIQ6MVoQZ+UdSkgESa0CGfeKL dsOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864850; x=1711469650; 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=gqX9h+0UxlZQM32W03xoBKjlP5c39q57qREfueCSqoc=; b=qxLZ2ocSVuPfm18wqHS/mnkbeJDFq6G9HbUDMIGXD6fZ+4klWO73mD9oMiS0GPTyZb l2kJjsUK/Ka6drdO0T9e3/kpS42Py0Wre9ABgg/w+gqqJco3s/BgRvvaAvTZH42xPuE6 0AN/ybfdhDNFjMQaZEdsvs+st8tjRq+BsezZfw4wiQkyd4SvQ6cwW3td1SySA53ovW0a QjWfIi+qLkfac4NvZP+diP+4lL9YD3FRoWGGNjBAUHk9yvhM3pXpAFbNLtLAz9mqfgk5 msMTaU5aPLeTYRz6hoFyBdPLY2SkJBeXYJVtbVMm6MmqboAOd1BExT0WZZX3b6n+26ku hRPQ== X-Forwarded-Encrypted: i=1; AJvYcCVYWIOr9S9iRmyxOgl7dm+DBZiHpjdWveni0q8yeENXajaLcV7sfZMMBszsSby29eipMkGl38llN4dxY93FUN/SEfIG6XQlN8Nb6Flb X-Gm-Message-State: AOJu0YxfcHQ0DHbAJM6GeTiXwEHjgVgibX6a0s1lUtWVjs+IXVIEkNjv 4oLPicd5hM/LFVAfhbJvaSdpDqhtf5jCDBpyZ2bZzTIYgLKTwuGRKK2XpKM65y0= X-Google-Smtp-Source: AGHT+IFVKvGZCJdKyNwXRx8eWbxapy5yWUA2KCEvgq2sv7/ajcHT9Uoh2beROUZ2ekFt9krds5QyDA== X-Received: by 2002:ac2:5306:0:b0:513:80cd:e807 with SMTP id c6-20020ac25306000000b0051380cde807mr2176984lfh.20.1710864848499; Tue, 19 Mar 2024 09:14:08 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:08 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:13:59 +0100 Subject: [PATCH 29/31] arm64: dts: qcom: sm8450-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-29-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/pm8450.dtsi | 3 -- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 16 --------- arch/arm64/boot/dts/qcom/sm8450.dtsi | 64 -----------------------------= ---- 3 files changed, 83 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8450.dtsi b/arch/arm64/boot/dts/qco= m/pm8450.dtsi index ae5bce3cf46e..5be83d41f3a2 100644 --- a/arch/arm64/boot/dts/qcom/pm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8450.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8450-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8450_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/= qcom/sm8450-hdk.dts index 0786cff07b89..4f17fceaca65 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -136,8 +136,6 @@ pmic_glink_sbu: endpoint { =20 thermal-zones { camera-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 2>; =20 trips { @@ -150,8 +148,6 @@ active-config0 { }; =20 rear-tof-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 5>; =20 trips { @@ -164,8 +160,6 @@ active-config0 { }; =20 skin-msm-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 1>; =20 trips { @@ -178,8 +172,6 @@ active-config0 { }; =20 therm1-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 3>; =20 trips { @@ -192,8 +184,6 @@ active-config0 { }; =20 therm2-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 6>; =20 trips { @@ -206,8 +196,6 @@ active-config0 { }; =20 usb-conn-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 7>; =20 trips { @@ -220,8 +208,6 @@ active-config0 { }; =20 wide-rfc-thermal { - polling-delay-passive =3D <250>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 4>; =20 trips { @@ -234,8 +220,6 @@ active-config0 { }; =20 xo-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&pmk8350_adc_tm 0>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qco= m/sm8450.dtsi index b86be34a912b..29c3a74ceb5a 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4595,8 +4595,6 @@ sound: sound { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4615,8 +4613,6 @@ reset-mon-cfg { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -4635,8 +4631,6 @@ reset-mon-cfg { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -4655,8 +4649,6 @@ reset-mon-cfg { }; =20 cpuss3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -4675,8 +4667,6 @@ reset-mon-cfg { }; =20 cpuss4-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -4695,8 +4685,6 @@ reset-mon-cfg { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -4721,8 +4709,6 @@ cpu4_top_crit: cpu-crit { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -4747,8 +4733,6 @@ cpu4_bottom_crit: cpu-crit { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -4773,8 +4757,6 @@ cpu5_top_crit: cpu-crit { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -4799,8 +4781,6 @@ cpu5_bottom_crit: cpu-crit { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -4825,8 +4805,6 @@ cpu6_top_crit: cpu-crit { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -4851,8 +4829,6 @@ cpu6_bottom_crit: cpu-crit { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4877,8 +4853,6 @@ cpu7_top_crit: cpu-crit { }; =20 cpu7-middle-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4903,8 +4877,6 @@ cpu7_middle_crit: cpu-crit { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4929,8 +4901,6 @@ cpu7_bottom_crit: cpu-crit { }; =20 gpu-top-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 14>; =20 cooling-maps { @@ -4968,8 +4938,6 @@ gpu_top_alert0: trip-point0 { }; =20 gpu-bottom-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 15>; =20 cooling-maps { @@ -5007,8 +4975,6 @@ gpu_bottom_alert0: trip-point0 { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -5027,8 +4993,6 @@ reset-mon-cfg { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -5053,8 +5017,6 @@ cpu0_crit: cpu-crit { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -5079,8 +5041,6 @@ cpu1_crit: cpu-crit { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5105,8 +5065,6 @@ cpu2_crit: cpu-crit { }; =20 cpu3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -5131,8 +5089,6 @@ cpu3_crit: cpu-crit { }; =20 cdsp0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -5163,8 +5119,6 @@ cdsp_0_config: junction-config { }; =20 cdsp1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 6>; =20 trips { @@ -5195,8 +5149,6 @@ cdsp_1_config: junction-config { }; =20 cdsp2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 7>; =20 trips { @@ -5227,8 +5179,6 @@ cdsp_2_config: junction-config { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -5247,8 +5197,6 @@ reset-mon-cfg { }; =20 mem-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -5273,8 +5221,6 @@ reset-mon-cfg { }; =20 modem0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -5305,8 +5251,6 @@ reset-mon-cfg { }; =20 modem1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -5337,8 +5281,6 @@ reset-mon-cfg { }; =20 modem2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -5369,8 +5311,6 @@ reset-mon-cfg { }; =20 modem3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 13>; =20 trips { @@ -5401,8 +5341,6 @@ reset-mon-cfg { }; =20 camera0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 14>; =20 trips { @@ -5421,8 +5359,6 @@ reset-mon-cfg { }; =20 camera1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 15>; =20 trips { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 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 3CB16127B57 for ; Tue, 19 Mar 2024 16:14:13 +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=1710864855; cv=none; b=RprZxYXPLUXYY/FTZKEtQHUKvlYQ+ZvvddzxvO2ZMWOJOZYn9ASKZnnz1H4W9dtvEyUweAZMx5DmqYHhCa2PlNyXcXIx5WNGzNYMRmy7EZtCQryUWrzHmAa0HuAQzDWarlQerNdN8B9X7X50BWwoowGb+WeYKL8F18iNQJzra3I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710864855; c=relaxed/simple; bh=SLteJC1Oftcfx/pDSbdV85hEd9RawwKiLDMA9H5ZvQo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=H8bB0tBQcu/AKFsJANxZqehFz1Art6Q2yKEanhB+4TFef0tA65pFJZyhOSB+2zbyd5nPMAN5jUC/mVMU3rnXdiLmBfJPg94dP95r9PFuVze1vtuvfHfYg7/1YkZh4mY7O8kv7PfUT0B2YQWLLkfnIm+ybTFlCPsDfJC4vWVWZxg= 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=tA4jD1eg; 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="tA4jD1eg" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-513e14b2bd9so4040270e87.2 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=1710864851; x=1711469651; 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=6FR1TiIQMNFX2hWmjLoC33+sHjKjffc4UPvr2nbRk1Q=; b=tA4jD1egJn2JjFsKO9qRkkq0RRljsxOb0JPeqXhtVGz4O2D7lzTTByfmK+Qot9BNXh 1P/FRq5jKx/wuT+mWAdqug+tOQundswp2M5buip/WvRqMeIZF7tZkfK3O9rYwA48nndB OZcyOD7QA9jwh4MZ4GG8GrM6DAiq4C4RDxyjN2UApecoDp1wIFbUXfmEpv+qko0t6yoS dJJLPrCwqYRjWJGIRxvG+Gn35vFzvER/JdySRiBM6ingEoXsRXrK+qkB/30PpQfAEtir jlujvOi5X8F/TMf+X2X55eHfHwlTInVCM5a7UHbXvB13EMPnwnX6/6ewnDrKVsqhjhKG jAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710864851; x=1711469651; 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=6FR1TiIQMNFX2hWmjLoC33+sHjKjffc4UPvr2nbRk1Q=; b=YdvjMpQ6I4nTiD1SCSJ9BFgu3ATsQwZLpZQ42CQyt4oxzYKOhV9Azj92/ozHCtBvEs gUw7skJRJ2594RO3VZvT2FPsML8bs/zH2RNyPPaUHCJEBD8PaFXI030ZN0fH2ufMfRxh uPvdiJOe489WkzT20M1IU2MZXnxIG5U7f+95EEC3rBPpNauYpnJRG4sKYamyAt5cG8Bm 1Tl+1YNX8zIpONp0Ubj5NiL22Eu5LSqRMUg5b7YZtChDNwZ25xbYpKMcmvYfMh7cRbeo Hnze3e6Y0Dng2bB3n0fCULJnbEqrHhyzhEf1ZS513Bijg3h99UO2zfFfm07ex9fmq5kx BgUg== X-Forwarded-Encrypted: i=1; AJvYcCXdjYdUkwBkEAFxDrTMznK1mP76dcqQBkXoj8HrpFvsfdAZARoxRV84B7DCYBOdnJZwfHdcYVG2tNjFNBFUq30qxeZdwpQhQujvebw/ X-Gm-Message-State: AOJu0YxWDzUCRmvulC4fppdT3PYCFZTiXv/w6mM6tcIC4pVOpIy4olNG kPW4j0PjP8Lt8FpuwE4Gy8GPL5jYgLDy4pdeVdCvqatFOWqU8ljJ4G0byO8kHG4= X-Google-Smtp-Source: AGHT+IFzAzNEOn9bAyW0fToELJusiFTewqoKadptmhXkjC5eh4XSNmEtEPk2wa5TopiADiwNVyT5mw== X-Received: by 2002:a19:ca1a:0:b0:513:d94a:670a with SMTP id a26-20020a19ca1a000000b00513d94a670amr8510655lfg.38.1710864851440; Tue, 19 Mar 2024 09:14:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:11 -0700 (PDT) From: Konrad Dybcio Date: Tue, 19 Mar 2024 17:14:00 +0100 Subject: [PATCH 30/31] arm64: dts: qcom: sm8550-*: Remove thermal zone polling delays Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-30-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/pm8010.dtsi | 6 --- arch/arm64/boot/dts/qcom/pm8550.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550b.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550ve.dtsi | 3 -- arch/arm64/boot/dts/qcom/pm8550vs.dtsi | 12 ----- arch/arm64/boot/dts/qcom/pmr735d_a.dtsi | 3 -- arch/arm64/boot/dts/qcom/pmr735d_b.dtsi | 3 -- arch/arm64/boot/dts/qcom/sm8550.dtsi | 82 -----------------------------= ---- 8 files changed, 115 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8010.dtsi b/arch/arm64/boot/dts/qco= m/pm8010.dtsi index 0ea641e12209..583c3c49d603 100644 --- a/arch/arm64/boot/dts/qcom/pm8010.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8010.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8010-m-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8010_m_temp_alarm>; =20 trips { @@ -30,9 +27,6 @@ trip1 { }; =20 pm8010-n-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8010_n_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550.dtsi b/arch/arm64/boot/dts/qco= m/pm8550.dtsi index 797a18c249a4..27719876a098 100644 --- a/arch/arm64/boot/dts/qcom/pm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550b.dtsi b/arch/arm64/boot/dts/qc= om/pm8550b.dtsi index 72609f31c890..44c0d4cf3fc8 100644 --- a/arch/arm64/boot/dts/qcom/pm8550b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550b.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550b-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550b_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi b/arch/arm64/boot/dts/q= com/pm8550ve.dtsi index 4dc1f03ab2c7..7d13e8d9236b 100644 --- a/arch/arm64/boot/dts/qcom/pm8550ve.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550ve.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550ve-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550ve_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pm8550vs.dtsi b/arch/arm64/boot/dts/q= com/pm8550vs.dtsi index 97b1c18aa7d8..a7a85f14c650 100644 --- a/arch/arm64/boot/dts/qcom/pm8550vs.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8550vs.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pm8550vs-c-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_c_temp_alarm>; =20 trips { @@ -30,9 +27,6 @@ trip1 { }; =20 pm8550vs-d-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_d_temp_alarm>; =20 trips { @@ -51,9 +45,6 @@ trip1 { }; =20 pm8550vs-e-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_e_temp_alarm>; =20 trips { @@ -72,9 +63,6 @@ trip1 { }; =20 pm8550vs-g-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pm8550vs_g_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi b/arch/arm64/boot/dts/= qcom/pmr735d_a.dtsi index 37daaefe3431..e2ffe5d077a6 100644 --- a/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735d_a.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pmr735d-k-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmr735d_k_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi b/arch/arm64/boot/dts/= qcom/pmr735d_b.dtsi index 3b470f6ac46f..e8ececc6eee3 100644 --- a/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi +++ b/arch/arm64/boot/dts/qcom/pmr735d_b.dtsi @@ -9,9 +9,6 @@ / { thermal-zones { pmr735d-l-thermal { - polling-delay-passive =3D <100>; - polling-delay =3D <0>; - thermal-sensors =3D <&pmr735d_l_temp_alarm>; =20 trips { diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qco= m/sm8550.dtsi index 3904348075f6..b502471c7c9b 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -4537,8 +4537,6 @@ compute-cb@8 { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -4557,8 +4555,6 @@ reset-mon-config { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -4577,8 +4573,6 @@ reset-mon-config { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -4597,8 +4591,6 @@ reset-mon-config { }; =20 cpuss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -4617,8 +4609,6 @@ reset-mon-config { }; =20 cpuss3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -4637,8 +4627,6 @@ reset-mon-config { }; =20 cpu3-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -4663,8 +4651,6 @@ cpu3_top_crit: cpu-critical { }; =20 cpu3-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -4689,8 +4675,6 @@ cpu3_bottom_crit: cpu-critical { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -4715,8 +4699,6 @@ cpu4_top_crit: cpu-critical { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -4741,8 +4723,6 @@ cpu4_bottom_crit: cpu-critical { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -4767,8 +4747,6 @@ cpu5_top_crit: cpu-critical { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -4793,8 +4771,6 @@ cpu5_bottom_crit: cpu-critical { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -4819,8 +4795,6 @@ cpu6_top_crit: cpu-critical { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -4845,8 +4819,6 @@ cpu6_bottom_crit: cpu-critical { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -4871,8 +4843,6 @@ cpu7_top_crit: cpu-critical { }; =20 cpu7-middle-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -4897,8 +4867,6 @@ cpu7_middle_crit: cpu-critical { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 15>; =20 trips { @@ -4923,8 +4891,6 @@ cpu7_bottom_crit: cpu-critical { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -4943,8 +4909,6 @@ reset-mon-config { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -4969,8 +4933,6 @@ cpu0_crit: cpu-critical { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -4995,8 +4957,6 @@ cpu1_crit: cpu-critical { }; =20 cpu2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5021,8 +4981,6 @@ cpu2_crit: cpu-critical { }; =20 cdsp0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 4>; =20 trips { @@ -5053,8 +5011,6 @@ cdsp0_junction_config: junction-config { }; =20 cdsp1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 5>; =20 trips { @@ -5085,8 +5041,6 @@ cdsp1_junction_config: junction-config { }; =20 cdsp2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 trips { @@ -5117,8 +5071,6 @@ cdsp2_junction_config: junction-config { }; =20 cdsp3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 trips { @@ -5149,8 +5101,6 @@ cdsp3_junction_config: junction-config { }; =20 video-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 8>; =20 trips { @@ -5169,8 +5119,6 @@ reset-mon-config { }; =20 mem-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 9>; =20 trips { @@ -5195,8 +5143,6 @@ reset-mon-config { }; =20 modem0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 10>; =20 trips { @@ -5227,8 +5173,6 @@ reset-mon-config { }; =20 modem1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 11>; =20 trips { @@ -5259,8 +5203,6 @@ reset-mon-config { }; =20 modem2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -5291,8 +5233,6 @@ reset-mon-config { }; =20 modem3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 13>; =20 trips { @@ -5323,8 +5263,6 @@ reset-mon-config { }; =20 camera0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 14>; =20 trips { @@ -5343,8 +5281,6 @@ reset-mon-config { }; =20 camera1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 15>; =20 trips { @@ -5363,8 +5299,6 @@ reset-mon-config { }; =20 aoss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 0>; =20 trips { @@ -5383,8 +5317,6 @@ reset-mon-config { }; =20 gpuss-0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 1>; =20 cooling-maps { @@ -5422,8 +5354,6 @@ gpu0_junction_config: junction-config { }; =20 gpuss-1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 2>; =20 cooling-maps { @@ -5461,8 +5391,6 @@ gpu1_junction_config: junction-config { }; =20 gpuss-2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 3>; =20 cooling-maps { @@ -5500,8 +5428,6 @@ gpu2_junction_config: junction-config { }; =20 gpuss-3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 4>; =20 cooling-maps { @@ -5539,8 +5465,6 @@ gpu3_junction_config: junction-config { }; =20 gpuss-4-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 5>; =20 cooling-maps { @@ -5578,8 +5502,6 @@ gpu4_junction_config: junction-config { }; =20 gpuss-5-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 cooling-maps { @@ -5617,8 +5539,6 @@ gpu5_junction_config: junction-config { }; =20 gpuss-6-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 cooling-maps { @@ -5656,8 +5576,6 @@ gpu6_junction_config: junction-config { }; =20 gpuss-7-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 8>; =20 cooling-maps { --=20 2.40.1 From nobody Sun Feb 8 08:47:49 2026 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6952127B6B for ; Tue, 19 Mar 2024 16:14:13 +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=1710864856; cv=none; b=UXGy7uLjsDD7OAEIhgvcM5Ir7yVaaHnPqlxeKsj7+MQx675L2k0gFD+/31zwBuhju0KhLx3ZlA7EXvdFctAFKLZrt0hDqrfTuFe3/DvBAl73APOfDmNQZ/ovsSDO3B+VZpPT6QshhB6pPjjJvy4ZW7Al1uiYZ3LiiDbz/1I/atw= 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.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="dDwEOCR7" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-515830dc79cso758157e87.1 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=R6If+YAQtirsIZYzolWlP8kKRU2U1kuvNk9xfS3Nl7CapX3cr8FdZkKG9MVVcLfEs4 EXDNeTuptuPSApAWQqB04Ka4zMV9GQitxE7jc49ClrvXELt5L9PPuXiyQR+FaPr4OaDd Dhqmt51TxD9ltsUx/eilBfs7tfDNuKEPGHhSG+n9/5C6RrXREflNsKkAT2S47jwpouah mFCytLpf6SYZEkOUoIHT18GVvo82PTpclWoAVNVQF5wsHQubcpH1X+v41eO7Gn60nAlk B8YgCeM6BMcflShwBfq1ZHDISaCmGEcCvHBzOo+kIV9VOLLDE2g6K6uuqOcKxHASpfoR kygA== X-Forwarded-Encrypted: i=1; AJvYcCVu438LdSTN30bZOP+uXg9k/zuQYhx6C5Jrqnmc1qxNdoEJ3kaaCtckhlsHSs6kZlaYnI7NGhxzyBzkcYS3RLbq2mmmRoMpZRkGDZm0 X-Gm-Message-State: AOJu0Yz9XzjeTNNlyi181Q8WQoa4s4hI0+lynmbCod7EZcU6/0yYJG4H RL+DlA1xAgWrgDplVjZHMe7wu59aD+cPfpaHrUxCNKNUy2X1oGL9GB10SGHNLZA= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240319-topic-msm-polling-cleanup-v1-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/qco= m/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 { =20 thermal-zones { aoss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 0>; =20 trips { @@ -5111,8 +5109,6 @@ aoss0-critical { }; =20 cpuss0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 1>; =20 trips { @@ -5131,8 +5127,6 @@ cpuss0-critical { }; =20 cpuss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 2>; =20 trips { @@ -5151,8 +5145,6 @@ cpuss1-critical { }; =20 cpuss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 3>; =20 trips { @@ -5171,8 +5163,6 @@ cpuss2-critical { }; =20 cpuss3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 4>; =20 trips { @@ -5191,8 +5181,6 @@ cpuss3-critical { }; =20 cpu2-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 5>; =20 trips { @@ -5217,8 +5205,6 @@ cpu2-critical { }; =20 cpu2-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 6>; =20 trips { @@ -5243,8 +5229,6 @@ cpu2-critical { }; =20 cpu3-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 7>; =20 trips { @@ -5269,8 +5253,6 @@ cpu3-critical { }; =20 cpu3-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 8>; =20 trips { @@ -5295,8 +5277,6 @@ cpu3-critical { }; =20 cpu4-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 9>; =20 trips { @@ -5321,8 +5301,6 @@ cpu4-critical { }; =20 cpu4-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 10>; =20 trips { @@ -5347,8 +5325,6 @@ cpu4-critical { }; =20 cpu5-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 11>; =20 trips { @@ -5373,8 +5349,6 @@ cpu5-critical { }; =20 cpu5-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 12>; =20 trips { @@ -5399,8 +5373,6 @@ cpu5-critical { }; =20 cpu6-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 13>; =20 trips { @@ -5425,8 +5397,6 @@ cpu6-critical { }; =20 cpu6-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens0 14>; =20 trips { @@ -5451,8 +5421,6 @@ cpu6-critical { }; =20 aoss1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 0>; =20 trips { @@ -5471,8 +5439,6 @@ aoss1-critical { }; =20 cpu7-top-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 1>; =20 trips { @@ -5497,8 +5463,6 @@ cpu7-critical { }; =20 cpu7-middle-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 2>; =20 trips { @@ -5523,8 +5487,6 @@ cpu7-critical { }; =20 cpu7-bottom-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 3>; =20 trips { @@ -5549,8 +5511,6 @@ cpu7-critical { }; =20 cpu0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 4>; =20 trips { @@ -5575,8 +5535,6 @@ cpu0-critical { }; =20 cpu1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 5>; =20 trips { @@ -5601,8 +5559,6 @@ cpu1-critical { }; =20 nsphvx0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 trips { @@ -5621,8 +5577,6 @@ nsphvx1-critical { }; =20 nsphvx1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 trips { @@ -5641,8 +5595,6 @@ nsphvx1-critical { }; =20 nsphmx0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 8>; =20 trips { @@ -5661,8 +5613,6 @@ nsphmx0-critical { }; =20 nsphmx1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 9>; =20 trips { @@ -5681,8 +5631,6 @@ nsphmx1-critical { }; =20 nsphmx2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 10>; =20 trips { @@ -5701,8 +5649,6 @@ nsphmx2-critical { }; =20 nsphmx3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 11>; =20 trips { @@ -5721,8 +5667,6 @@ nsphmx3-critical { }; =20 video-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 12>; =20 trips { @@ -5741,8 +5685,6 @@ video-critical { }; =20 ddr-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 13>; =20 trips { @@ -5761,8 +5703,6 @@ ddr-critical { }; =20 camera0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 14>; =20 trips { @@ -5781,8 +5721,6 @@ camera0-critical { }; =20 camera1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens1 15>; =20 trips { @@ -5801,8 +5739,6 @@ camera1-critical { }; =20 aoss2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 0>; =20 trips { @@ -5821,8 +5757,6 @@ aoss2-critical { }; =20 gpuss0-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 1>; =20 trips { @@ -5841,8 +5775,6 @@ gpuss0-critical { }; =20 gpuss1-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 2>; =20 trips { @@ -5861,8 +5793,6 @@ gpuss1-critical { }; =20 gpuss2-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 3>; =20 trips { @@ -5881,8 +5811,6 @@ gpuss2-critical { }; =20 gpuss3-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 4>; =20 trips { @@ -5901,8 +5829,6 @@ gpuss3-critical { }; =20 gpuss4-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 5>; =20 trips { @@ -5921,8 +5847,6 @@ gpuss4-critical { }; =20 gpuss5-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 6>; =20 trips { @@ -5941,8 +5865,6 @@ gpuss5-critical { }; =20 gpuss6-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 7>; =20 trips { @@ -5961,8 +5883,6 @@ gpuss6-critical { }; =20 gpuss7-thermal { - polling-delay-passive =3D <10>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 8>; =20 trips { @@ -5981,8 +5901,6 @@ gpuss7-critical { }; =20 modem0-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 9>; =20 trips { @@ -6001,8 +5919,6 @@ modem0-critical { }; =20 modem1-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 10>; =20 trips { @@ -6021,8 +5937,6 @@ modem1-critical { }; =20 modem2-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 11>; =20 trips { @@ -6041,8 +5955,6 @@ modem2-critical { }; =20 modem3-thermal { - polling-delay-passive =3D <0>; - polling-delay =3D <0>; thermal-sensors =3D <&tsens2 12>; =20 trips { --=20 2.40.1