Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp979472lqt; Tue, 19 Mar 2024 09:14:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUiFhKdtKQEjKj+Xy0hjzaFTjRpabyI6i855o7x2hrKeAJI7NwlHIfjYE50VMyEeRkqQ4pJmw/DI77GOkCdA4/sq/u2zAu4LEtofKOiHg== X-Google-Smtp-Source: AGHT+IHQjBY6ZDZzgew2CcdnqRpRojEKMIJ4ffefU8Zi3QIBqPSY6j1xwBvD4BDYGYgY6IhwHn+B X-Received: by 2002:a17:906:1796:b0:a46:5e38:29d7 with SMTP id t22-20020a170906179600b00a465e3829d7mr2373023eje.10.1710864897608; Tue, 19 Mar 2024 09:14:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710864897; cv=pass; d=google.com; s=arc-20160816; b=Y2AtlRr370zysTLo6KUiNBYVxg/Ue7BpyCIQcUD7+jOWNmO/UPIGnZVBsoACj/SXT1 +iihfuxyTKBAAjkhoDgkngMedxLuK27bgljcqTQ3enzP7xp8GhcNzC63FmA9/gaXSvjj tCsmz9Ng/qYklnwAvXgm/Orpi6aNhKf/BJgyWSirHFKvMBchVoh8UNcoAvCRrY39elMR D0ExP+JDkfJSIpR5xwglQnmzEvK+o4dfy41hCLxO+Qeo0fHtt4jrGGl97iLXVl23mD4K hjPf3ND3PzuJSt2ebdVKBsPFiYe6ueiNbUBKhtQ6a6GRaA1YTMMQ7OhmcUl7aPFkM+ML TOaw== 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=r4U5+kdqeP777KP8JmcZQhYQROmx+V53PtnamLYp1ng=; fh=YNgq9KR+lJ0Fmi8WM82YIICxWGhvmQziLcE28jQHkcg=; b=RqxvQ+IuXo0UHijlZDsR8V8fgqzcxx5WCYjK1NTUagJ2GgNb9waA36mAL5ForWvCqY W9sOx+C6g2rGKYaGySSsaxGKDWKdGoaJbEkvG9z5/LzodQE+WJ3DP2s8Kj9Cn4HPRNqp ykwJtm6W6Yw2lFFulgqKA06z0jAlJi2zqYE1YJKjwr7afB9gOOgWox68KEJd3QULCxal R15Gbn628PUhVBTybB0q2gekgQbuL8kllrlE8zdESVpo9tV/Q5KmhC6gOpm0WwkdNnE0 42OtK+5lM2Zo1Z1xdceFoW4NqWeZToeEQmeapOF2YevBjXa0dKPcCELLNGaABz6vzrwh WdNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="KNNT/yNN"; 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-107788-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107788-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 y4-20020a1709063a8400b00a46cec80e47si1360025ejd.492.2024.03.19.09.14.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 09:14:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107788-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="KNNT/yNN"; 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-107788-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107788-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 5A5951F21F69 for ; Tue, 19 Mar 2024 16:14:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9943B82D9D; Tue, 19 Mar 2024 16:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KNNT/yNN" 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 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-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: 7bit 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/qcom/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 { thermal_zones: thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 5>; trips { @@ -2329,9 +2326,6 @@ map0 { }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 6>; trips { @@ -2360,9 +2354,6 @@ map0 { }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 7>; trips { @@ -2391,9 +2382,6 @@ map0 { }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 8>; trips { @@ -2422,9 +2410,6 @@ map0 { }; cpu4567-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 9>; trips { @@ -2453,9 +2438,6 @@ map0 { }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 3>; cooling-maps { @@ -2481,9 +2463,6 @@ gpu_crit: gpu-crit { }; modem1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 0>; trips { @@ -2496,9 +2475,6 @@ modem1_alert0: trip-point0 { }; modem2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 2>; trips { @@ -2511,9 +2487,6 @@ modem2_alert0: trip-point0 { }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; - thermal-sensors = <&tsens 1>; trips { -- 2.40.1