Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp450664lqo; Fri, 10 May 2024 05:12:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVN8yxEJCG0WdvVwOWWMbQ6J9hNEHE8rVn2b2YKVARqpFUbZOtxRnN7lZv4ItFFYvepZa+dQqHl3yOM7R9fu485Gq7mYOZRztPsQ9VBFg== X-Google-Smtp-Source: AGHT+IGLiL1tIMveoxz4orEq1WN0+OmKf0uOkR3b4Xg0jUVKCLWUC9mARQdTZIX8Jj4ZtteZmQEo X-Received: by 2002:a05:6a00:17a6:b0:6f3:e9bc:7ed3 with SMTP id d2e1a72fcca58-6f4e02d3863mr2489990b3a.17.1715343155329; Fri, 10 May 2024 05:12:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715343155; cv=pass; d=google.com; s=arc-20160816; b=YHt67EvgSeUnPzZbAoAcZSUjCH2CGPpqD6hGb8PsZrrle3+fA3Z5kHSfJUnWEeWKni 0Efjc6oJfcpfv0HnU3reU8DP+JZeVFGNyNGyyhC2+E+FUSmYRqtK/ufYtXQR+0fudD+U XuYuOOlOIDL2+vVhlk12gnMzyGauM79kpzdM6YpTF2/58RzxCEj+T+gqTdbPn6tz1BQf QgT+X/q9T8/t9uvTe4raSmrrS/f84M5qd//IwJO2eYNNaWHsMtKtIu6k1BrqZlr9SI78 3kZOF05YlUnS+FqO5HqsTP4tw4JVEbtvWMVZtVhk7QD9/csji/yO6L+GUj5oftwiKhxY SLkg== 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=jqWldNBkhC606D1/sb2WlbU/W4xvALOq8LBhMOZzI3U=; fh=5AF82DM3DZc+5noWPiCATYbJyqkNy7ZRwF95NeIQ1QY=; b=xIWmb+I0F+1AJc6BBmgZfGfNI2xEfkqMvSil7HuNQJEdX3G33aic+6LcMqhPwyWpNf kD/ejFSWjwbYYipkp0oZMki60h/87qXsFxtKP9k3JQ3AndII+kELozfqIrJWcVKnEhV3 C990QMentRscg9XfRAr8lHPGIGIGZPkqEPkQnX0qrqyITc7AcWPHcdcP70B3mhzohHg+ BDLAttEjZAuy3ALhhbEguZYzYDKMSvt0Et8l5hbuIv5cvvqQjV0HgTjnmkkPTMqhnrT3 GrIN3aGrkX1p0VcZqhLE+4W6Y1LcrQSh9cnE2VQpw7+IBqfQCXEA0/iYQ7/p5Yiy65cV Lwxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MCQgewoI; 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-175752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175752-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 d2e1a72fcca58-6f4d2b1bbb7si3478039b3a.236.2024.05.10.05.12.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:12:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175752-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=MCQgewoI; 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-175752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175752-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 4A5A22880EC for ; Fri, 10 May 2024 12:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22F1A181309; Fri, 10 May 2024 12:00:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MCQgewoI" 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 1D21B1802AD for ; Fri, 10 May 2024 12:00:11 +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=1715342415; cv=none; b=bQ8vQ4jjxiTZWvSqjY30oSx083oyWniEceU4j2n6wfIbKWW0PJZFNsL/O/QJovLZeBNs9Z98XedzG8mi4aXuMVpPQMgk9AECgRn4PZJUEf2QhTY8vkDw/ZEs0G+haSl2cIkZKcbMKgH+WpgJskQaLlR8J2OWtEMCt0N5b3XXq4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715342415; c=relaxed/simple; bh=ehRFjqLWRiLNvZRnyufAqB/NWP0ieFSlY50s9E/H5JM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gJQ+REpe3eSRPb5jbUkMXS3DoU4MA4jjjebKf2OPQjUf0n7tIJ2LqL4qDbGo9Td/aOS7aYhQDnPLg+6WNU5TJEeUV4joCMOvNHmyaOx2FJoWUeAXb5K75WtZTQ82RXDOJRUEb5r3HPOXAJ5wIsGD5X/uBp7B7gnOsniTYd7ygp0= 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=MCQgewoI; 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 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51fdc9af005so3107300e87.3 for ; Fri, 10 May 2024 05:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715342410; x=1715947210; 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=jqWldNBkhC606D1/sb2WlbU/W4xvALOq8LBhMOZzI3U=; b=MCQgewoIXeCGOciHxoLlHWix8UWsSLf6ejwJD3W6aBE38rU02MDtoMxjuSdATH1avQ 5/afT+cv/nALLrCD+rzE8NfaF69umdhL6v2t+ThMxAcS7TH6IHlcVxc1BbuvpdqLacvP 916gfRcqlmb1ECnDifaNwZLa8D85/Q7xZG7aZlRgEeUoOs7oSZmX+NP/9UsrJC1GZ4gJ QSP66LktN22Py3PCZyYF/yGNeTH/iDRERqRJgSSqM9zbGfj0lHMe9lIPycsF+cYku+kM Z94kSkLTqPYzRQXZja8vHk1Iw/6BaVTteSZ0l7SB9LXOqVxMHtN5vN486Z0YLdOkRTwG i0TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715342410; x=1715947210; 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=jqWldNBkhC606D1/sb2WlbU/W4xvALOq8LBhMOZzI3U=; b=tbe9Lski0PUbgLzXXaWWiXmNBeIXkD9AyTNzdRyuXAsGtVS255gKKIZQrSepNSBB4P 0qjvM0HGLnjAgBHqcSj0bxuQKsXVLrPSmnZLUvEswO5eoX0R+llYonFsy7CKuSjouqwq q4gM1XK6uHWa9XCqkArmvEwftSi3TSuB8PlSWKLflJHqz6IYsEwi/yzWA4cUalJK0hAJ tRKfdpRVd64tUIeMrrE99gJLjSD8Ah9hpKj2KAzVySpoS0PTfF+q3I1EWzfW40+UGlYc dAMao1DzpObjpFJUdqk304QyhgZYygJfIROaWpdm8S6Gjx4kKza/4Z8zdQXyjI5mHnqy ZLTQ== X-Forwarded-Encrypted: i=1; AJvYcCVFzdHsDIURxrawp+opR4lVoRCwIGJmNJyEfCqN6Nf+coXNY2q8xRmErJaIGzXVkLrsfEt6KibThg3mZ+v9dhKsSeyN8JGCdL25TDVZ X-Gm-Message-State: AOJu0YyOdiiMNhrRor4TTQf4zTFWSOb+yaJzB4Li7PEhOpSwm2z5V025 6fci8eEroM4VVI9v67Dp+ZaVCb0bGddVZ2SrATHysdOIsYYpDxmbH2qtIefLDuw= X-Received: by 2002:a19:2d04:0:b0:51c:778f:b569 with SMTP id 2adb3069b0e04-5220fe7931fmr1627201e87.29.1715342410335; Fri, 10 May 2024 05:00:10 -0700 (PDT) Received: from [127.0.1.1] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a179c7df7sm176795666b.111.2024.05.10.05.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:00:10 -0700 (PDT) From: Konrad Dybcio Date: Fri, 10 May 2024 13:59:49 +0200 Subject: [PATCH v2 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: 7bit Message-Id: <20240510-topic-msm-polling-cleanup-v2-26-436ca4218da2@linaro.org> References: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> In-Reply-To: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14-dev 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 | 1 - arch/arm64/boot/dts/qcom/pm8150b.dtsi | 1 - arch/arm64/boot/dts/qcom/pm8150l.dtsi | 1 - arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi | 1 - arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi | 1 - arch/arm64/boot/dts/qcom/sm8150.dtsi | 28 ---------------------------- 6 files changed, 33 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index 3ba3ba5d8fce..a74a7ff660d2 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -13,7 +13,6 @@ / { thermal-zones { pm8150-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm8150_temp>; diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index 1aee3270ce7b..3f7b0b6a1d10 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -12,7 +12,6 @@ / { thermal-zones { pm8150b-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm8150b_temp>; diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index ac08a09c64c2..3911d6d0d2e2 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -12,7 +12,6 @@ / { thermal-zones { pm8150l-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pm8150l_temp>; diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi b/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi index dbd4b91dfe06..5084de66fc46 100644 --- a/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi +++ b/arch/arm64/boot/dts/qcom/pmm8155au_1.dtsi @@ -12,7 +12,6 @@ / { thermal-zones { pmm8155au-1-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pmm8155au_1_temp>; diff --git a/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi b/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi index 1cee20ac2c9c..555e4a456ef1 100644 --- a/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi +++ b/arch/arm64/boot/dts/qcom/pmm8155au_2.dtsi @@ -11,7 +11,6 @@ / { thermal-zones { pmm8155au-2-thermal { polling-delay-passive = <100>; - polling-delay = <0>; thermal-sensors = <&pmm8155au_2_temp>; diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index ff22e4346660..1f597f03107b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4577,7 +4577,6 @@ timer { thermal-zones { cpu0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 1>; @@ -4621,7 +4620,6 @@ map1 { cpu1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 2>; @@ -4665,7 +4663,6 @@ map1 { cpu2-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 3>; @@ -4709,7 +4706,6 @@ map1 { cpu3-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 4>; @@ -4753,7 +4749,6 @@ map1 { cpu4-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 7>; @@ -4797,7 +4792,6 @@ map1 { cpu5-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 8>; @@ -4841,7 +4835,6 @@ map1 { cpu6-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 9>; @@ -4885,7 +4878,6 @@ map1 { cpu7-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 10>; @@ -4929,7 +4921,6 @@ map1 { cpu4-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 11>; @@ -4973,7 +4964,6 @@ map1 { cpu5-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 12>; @@ -5017,7 +5007,6 @@ map1 { cpu6-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 13>; @@ -5061,7 +5050,6 @@ map1 { cpu7-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 14>; @@ -5105,7 +5093,6 @@ map1 { aoss0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 0>; @@ -5120,7 +5107,6 @@ aoss0_alert0: trip-point0 { cluster0-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 5>; @@ -5140,7 +5126,6 @@ cluster0_crit: cluster0-crit { cluster1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 6>; @@ -5160,7 +5145,6 @@ cluster1_crit: cluster1-crit { gpu-top-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens0 15>; @@ -5182,7 +5166,6 @@ gpu_top_alert0: trip-point0 { aoss1-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 0>; @@ -5197,7 +5180,6 @@ aoss1_alert0: trip-point0 { wlan-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 1>; @@ -5212,7 +5194,6 @@ wlan_alert0: trip-point0 { video-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 2>; @@ -5227,7 +5208,6 @@ video_alert0: trip-point0 { mem-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 3>; @@ -5242,7 +5222,6 @@ mem_alert0: trip-point0 { q6-hvx-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 4>; @@ -5257,7 +5236,6 @@ q6_hvx_alert0: trip-point0 { camera-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 5>; @@ -5272,7 +5250,6 @@ camera_alert0: trip-point0 { compute-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 6>; @@ -5287,7 +5264,6 @@ compute_alert0: trip-point0 { modem-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 7>; @@ -5302,7 +5278,6 @@ modem_alert0: trip-point0 { npu-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 8>; @@ -5317,7 +5292,6 @@ npu_alert0: trip-point0 { modem-vec-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 9>; @@ -5332,7 +5306,6 @@ modem_vec_alert0: trip-point0 { modem-scl-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 10>; @@ -5347,7 +5320,6 @@ modem_scl_alert0: trip-point0 { gpu-bottom-thermal { polling-delay-passive = <250>; - polling-delay = <1000>; thermal-sensors = <&tsens1 11>; -- 2.40.1