Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp985161lqt; Tue, 19 Mar 2024 09:23:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWx2GxYVUUNsHnSOXGsPiuhh28C6/QGLIC0naQ1svd7m0Qt9AFvhm9VyU+DB6bm1knlkNkotFSV60EqcfTb0iq2mFLUF8V59ZfRXZ319Q== X-Google-Smtp-Source: AGHT+IGCwbVNJi9ZxfXZMdTrnuIvo0H/wk/5d9zXqQFRCd6Hg5a6lQsopgGJZYcUg8suvBEXOeOg X-Received: by 2002:a17:902:8bc6:b0:1dd:6eba:c592 with SMTP id r6-20020a1709028bc600b001dd6ebac592mr14180506plo.56.1710865422728; Tue, 19 Mar 2024 09:23:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710865422; cv=pass; d=google.com; s=arc-20160816; b=kswIAgbL7q6WR3xncD0IizFJEev8AdA/iP5x7WOQ+d9yFvtunf2ttHBGu2UbX8PmpU ryzHhtWKw3wI7pXOy5TvOU41rp4jbvirz8guA6v9Zus41MrftfDNW1QSwDRbvfn/bk7I sPrD4gQOCGavMNTMqZkulMyCc93JXOCVjnGyO3gajFppILcyvfaza7iI3V2ZW2SYh2YZ EMgwUCezEAmxhCzWlpJ5xV9/PJ7L6gBodlPIqbbkB/+3xpyQa+XG9oEjf4dF8oqgEbcV 0k1mapM13So3eIkbHRm1NwiY+eKNoajEH01cuoXxVyz0GJ8gW5nOlQ7eFgWXdV9RO7zm KetQ== 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=C35V0j48KRJzj+MbmIEByOb9R1hjafjYDuf4YisORVg=; fh=/xsze5H/S7+z5kHdiANJ7E5ATecb31bTTN2X9B3dH/g=; b=lUYL5YmXqKtAgO1nFrQRk6Ttmg7SJDnc51U8XBtA0nO6EZ+6o4CoXfurQ9opfxCSoy DZ06sUxmpzdG8TzsCgyj7EozR+T0V+MN6Ksl1ebRY2E2vhcbZRhL3J3rtOZDdx1yMjsG rN1+CinCD3bvIvMy2fSGFFMIXJjHbQQFmcuo6SOAEBWUVC1MRD3EnnyWSLzIvKk5DF51 ETtpUhb6cwskFb6KlfzlXEcKugtZI3b7UlN1msx3kwi8B1yZCa1moAjjTISPdNVLbcMS L5mH1PdUe3FLv5tKY+ifZLNr6f/7XMe7Xw/eb1gtsIRL4HijlT2C8fyjvIMUptrqcgzu 1EAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lmIrkll9; 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-107797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k1-20020a170902ce0100b001e02aae12a4si3774900plg.226.2024.03.19.09.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:23:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lmIrkll9; 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-107797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6EEE7285A3E for ; Tue, 19 Mar 2024 16:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 667918529C; Tue, 19 Mar 2024 16:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lmIrkll9" 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 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-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: 7bit Message-Id: <20240319-topic-msm-polling-cleanup-v1-14-e0aee1dbcd78@linaro.org> References: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> In-Reply-To: <20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.13-dev-0438c All of the thermal zone suppliers are interrupt-driven, remove the bogus and unnecessary polling that only wastes CPU time. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index a05d0234f7fc..ad109b38199e 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1589,9 +1589,6 @@ wcss_smp2p_in: slave-kernel { thermal-zones { aoss-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { @@ -1604,9 +1601,6 @@ aoss_alert0: trip-point0 { }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { @@ -1619,9 +1613,6 @@ q6_hvx_alert0: trip-point0 { }; lpass-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; trips { @@ -1634,9 +1625,6 @@ lpass_alert0: trip-point0 { }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 3>; trips { @@ -1649,9 +1637,6 @@ wlan_alert0: trip-point0 { }; cluster-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 4>; trips { @@ -1683,9 +1668,6 @@ map0 { }; cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -1717,9 +1699,6 @@ map0 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 6>; trips { @@ -1751,9 +1730,6 @@ map0 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 7>; trips { @@ -1785,9 +1761,6 @@ map0 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 8>; trips { @@ -1819,9 +1792,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 9>; trips { -- 2.40.1