Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp978952lqt; Tue, 19 Mar 2024 09:14:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVo4jHVY6zsr7aLCP0KK6yrgnWhD7aobbOSPD0+JEQcf/6ijU+lZPRHvQV7N/DwjNfc4TjMRl9O1ajqaQnZKok1n/7xvN6iFZKQcVUNRA== X-Google-Smtp-Source: AGHT+IG97MKbTktSm/tPSC+lFbgXC19FtvtRbM7XEvpdeWzGTrkPTEeWFG6LniAOP+WePuLTD9SQ X-Received: by 2002:a17:907:7f87:b0:a46:a9c9:dad9 with SMTP id qk7-20020a1709077f8700b00a46a9c9dad9mr7777411ejc.0.1710864849601; Tue, 19 Mar 2024 09:14:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710864849; cv=pass; d=google.com; s=arc-20160816; b=lEfR1HO+BNfz3qI7Q8paWLEYOF1gWMjt4OV6pgR3Z/psZyGgD+kE6shqEb4Itk7UZM LpV6zsPy5Y0ymt5sveR/57tkiF8nezsJoaslVJbA5NX5cEJNGK4HYvri+ipa+pjtySeo ZMNY1q9IrS/h8T6llolNsXxzwoMLJfObJy9oDgIhdMb5tux5o5ZXKQf6in65jezC/6mH 4MQhLmeWzR0qANWIOBLUpDLQPUgGOByKCpjCcLyrvRJtXl9b74h3rkT8BndxSU3tGkIt p66ySywIR9BLvthm+EEBgQ6mIp9U08EtYGxTGems6nPAoefTNbEEUY+t8AM9U91sf0VE SU2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=dKhk60UIiAqlpRk16jVKRzKgNE6SdDJ//RGq9EU9euk=; fh=sl+I8V9EbKHpJr8ist9f2p4xCcoqcpvQlgZOd2tKmoM=; b=w7amzCksM/Oi3wxFnADNQGqmjSok+W8HXPEXTTSf40tW6a/K0+w+az6eQRrqQ+0Hvp vUSmPVPuu3UICTM5Kay2+fJlj//x2rbC3Ej+wsIBCCWKDbiHEeeE0hseC8EVmQyr3Rdu 92mjOvt+hDokiB8sQy7OXJWqtr9qZRXSFwUHWdtNAqgW4fjxZ1J2BbhbVVnFIGVPUvfd GdMx8rbpG/GxMD/M+vnZu671USErPMo1SS7LxEpfiEo9IiaSEcMYoEPzNJPADCo1eBdv A1pMKoKWaamOhfeAkKutky3zsELPIuwkXoX4UX1nVx+td66GVQg1GkGoR3ZXv7go7oGz Uu4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pCNuOEFc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-107785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id i13-20020a170906114d00b00a46e5993282si464802eja.647.2024.03.19.09.14.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pCNuOEFc; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-107785-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107785-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2FFB51F226C2 for ; Tue, 19 Mar 2024 16:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5190A823DC; Tue, 19 Mar 2024 16:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pCNuOEFc" 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 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-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: 7bit 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/qcom/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 { thermal-zones { nss-top-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -957,9 +954,6 @@ nss-top-crit { }; nss0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -972,9 +966,6 @@ nss-0-crit { }; nss1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 6>; trips { @@ -987,9 +978,6 @@ nss-1-crit { }; wcss-phya0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 7>; trips { @@ -1002,9 +990,6 @@ wcss-phya0-crit { }; wcss-phya1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 8>; trips { @@ -1017,9 +1002,6 @@ wcss-phya1-crit { }; cpu0_thermal: cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 9>; trips { @@ -1032,9 +1014,6 @@ cpu0-crit { }; cpu1_thermal: cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 10>; trips { @@ -1047,9 +1026,6 @@ cpu1-crit { }; cpu2_thermal: cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 11>; trips { @@ -1062,9 +1038,6 @@ cpu2-crit { }; cpu3_thermal: cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 12>; trips { @@ -1077,9 +1050,6 @@ cpu3-crit { }; cluster_thermal: cluster-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 13>; trips { @@ -1092,9 +1062,6 @@ cluster-crit { }; wcss-phyb0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 14>; trips { @@ -1107,9 +1074,6 @@ wcss-phyb0-crit { }; wcss-phyb1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 15>; trips { -- 2.40.1