Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp470304lqo; Fri, 10 May 2024 05:47:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+QEjovFdvpEIMbbK1hXbHm818EKkA6UnZJeWT0fsERnSakSneE9AM4W85trxSXLdOWxNKOwbABpgZBOyqWGrmFjo0lAb16aFbSSKl6A== X-Google-Smtp-Source: AGHT+IGOs98xL2tdnRpKDkbRQADASEcnrjtewJ10ClujJfz4782KS1WzVNXXVBxbECEwGIyk2X2Q X-Received: by 2002:a50:9e44:0:b0:56f:e75b:839a with SMTP id 4fb4d7f45d1cf-5734d597a94mr1527321a12.1.1715345252963; Fri, 10 May 2024 05:47:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715345252; cv=pass; d=google.com; s=arc-20160816; b=yQVrHRasAWSyOzTktQFtMB0wk2fznhKfA0HnKz/iV4FL0p8QmfI738ohlUYuwLaPMO 7kyWD9UY6JvPkVRJvUwKHK0ZMmSPWexXHOXbr4U0P+ZI5FDkSZuVMMGLp+ZDsnte3toK vdw3MiqpcD99Bmvb5o3K+BAAsiI/F67OFZNuzdA5qWmTjCNOi5/Qexjv/xMYWTpDVwCS Je5YaP68e3DOiv77CGYCbSBcZUzNZkmL6SidKQkEOVXLNZMfD++CPyWNTQT8OIbBBLjG q9Y0I8aaD0Nh3SvQonkKcUFS+uWOBt5yO2b3IgJj9WwEnimsYNxNQiWDRtt16Qhck1A6 F4eg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nxXptygVxzs9ZyI1NnjxnbgZkUJZH8Rb2+KbP5uaxLQ=; fh=3pDqB2iF8ZLgM17VIq4fOLQvVfm1hgKGcy807BsTBUU=; b=YNRu3zSTPXXBoVsaO+qtc6Jpj0tbSRqh2UuuANPhh1uT/AM6rTq6QC6g7ZHdLOK+AT L+rgxSGRodiI58gQ0w+y7loCyqsGsjq1C34MaNC27Y8/3F3TFgFoz094IZl1MIRF0vHZ tPkrkPkX9lqIFAZbbrffs1evFe7rhrI38kFDm3CaIpMPQKiyRtJac6T6qwPSnggRVBQx xNR05YEQ3kSPXLXslNP+nNG1nDo9ydpaXXbVEspQDePhWYWmNQPRCIogR6LmCJCe7lgc 8zeKNlIXdKw+HexUx/vlXBHZpUieNo/jcP8zAmcTBnPknH2W+nzfG3Wi5oJZevoEFuU+ TVBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UEzyeguv; 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-175789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175789-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 4fb4d7f45d1cf-5733c326e7bsi1886156a12.345.2024.05.10.05.47.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175789-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=UEzyeguv; 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-175789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175789-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 155D31F25A28 for ; Fri, 10 May 2024 12:47:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BB7B1272CA; Fri, 10 May 2024 12:47:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UEzyeguv" Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 A904C7E58F for ; Fri, 10 May 2024 12:47:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715345242; cv=none; b=kFjUi8SfM9TPhrttFs03M7ET5r4Nh9HJEerkCtkTZgqI62uesOIxntS2jFtLa7CmXEVZPJIZ6BynOSmtEO5pxrwnU7lyG8boTKTDVBL0OtM3MFSnp4aE0E3R3Vl0ZbLuQmc1e+Qj4uF2xceO60Hot2/98VDnW0vWq3ZViVaiqwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715345242; c=relaxed/simple; bh=d1GYaWihPIxQCVEXmbw32R+gKUSLf8Nx0BPKiUM0VBg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Vge1RXqb9vllEGcISZLEYT7/dANj5E/sFN05Py5a1P1sd2OOJPWMzk8i3Tl7RtNCl0kOGWJ66C2Qr/rQWUy9MqOw7RbSTX98LYfTicRu7jEgPKw1kUmtMASnruxoPtyDeXu345VmTUdrc0i01OIUnG1iG20P2uSFW07Oo2wqnps= 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=UEzyeguv; arc=none smtp.client-ip=209.85.221.47 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-wr1-f47.google.com with SMTP id ffacd0b85a97d-34dc8d3fbf1so1487196f8f.1 for ; Fri, 10 May 2024 05:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715345239; x=1715950039; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nxXptygVxzs9ZyI1NnjxnbgZkUJZH8Rb2+KbP5uaxLQ=; b=UEzyeguvMY67ZN6AnPQutCfXP9Bm6P655yrqDXXUFrh94qXwLS1aFGaE7FTGW/TDUc s/lxjvUKW8O1OyIt2oG6juBYL8WvsJnsR//MZz8jXHM0veJjSg45CnD+6BReIBdra3tk NJ9K3IdrM/XG8uvrtwKWYQi0AoUAtkkzQESCBtboT5KZtD00M/eVT9LBSqTGrV0oH0Vs hW1WKYwTFVtF0AGoxgPFNIUAjnW0wWYV3/FpKS3RbZuKUoVaB+SXlv2iVeo5BfvU8Hwb wD9bD3bI9O2c5YMbXLF4NK85xEq1KG/hqKH+tscGL+UVQkG2KBGZQlEcFfFYDnUY0Ib3 oNMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715345239; x=1715950039; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nxXptygVxzs9ZyI1NnjxnbgZkUJZH8Rb2+KbP5uaxLQ=; b=FPfq/H5AJkqVTqhLuvvHTnh8v4Jsp1zSETCTDLH5Ept590N5k183YUPnnscQVfmid7 cR0hlnozcRf57zTTM9XevF/deu11chWwEXbKWHUE5XgNP4WhvsJejpMyhMgeSyDv4TlX mosuRNlaLYKSJngkmehmP+gapGIwuUwGOtxrc6h9BTHi5AK9hv3qrRi0D6dlIR1XYJ7U Dgu43UGSSkscTp4U74IN6/4Uap/IMLJjZJ091f8QsyhGzmYMaNNT/kANZNY5IlZidpYW lKSzkrL/o7sAPWQQ2CPy2B6yB98YhJBGnNwvhsdj1xwrNW02UOnPre8csQhdlqO82VOF Q1lQ== X-Forwarded-Encrypted: i=1; AJvYcCWP8amaIxBw2gxd1iaXGKHZHm4qqsewcM637wjlV13cQp87LuYmiq40/g3uaxwEoIpiWG/gk/z018bNtFWmL6tpEHCCKLVC5FTMxYho X-Gm-Message-State: AOJu0YxzyrY97keiCFMIAr0ppRXjwTd8O9BoS3WJtt54H1DOVIB6OluZ Uz3SHgbERGjTxig3JPX3mtMbzzuaHkmyty28Cg76ZEO0J00REJNLaHQzzYxnuAk= X-Received: by 2002:adf:ce0e:0:b0:346:ad3d:e4bd with SMTP id ffacd0b85a97d-3504a631201mr1870321f8f.17.1715345238912; Fri, 10 May 2024 05:47:18 -0700 (PDT) Received: from [192.168.0.3] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502b8a79cbsm4481566f8f.65.2024.05.10.05.47.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 May 2024 05:47:18 -0700 (PDT) Message-ID: Date: Fri, 10 May 2024 13:47:17 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 31/31] arm64: dts: qcom: sm8650-*: Remove thermal zone polling delays To: Konrad Dybcio , 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 References: <20240510-topic-msm-polling-cleanup-v2-0-436ca4218da2@linaro.org> <20240510-topic-msm-polling-cleanup-v2-31-436ca4218da2@linaro.org> Content-Language: en-US From: Bryan O'Donoghue In-Reply-To: <20240510-topic-msm-polling-cleanup-v2-31-436ca4218da2@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/05/2024 12:59, Konrad Dybcio wrote: > 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, 16 insertions(+), 72 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi > index 62a6e77730bc..39e789b21acc 100644 > --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi > @@ -5328,8 +5328,6 @@ compute-cb@12 { > > thermal-zones { > aoss0-thermal { > - polling-delay-passive = <0>; > - polling-delay = <0>; Commit log doesn't really match the values being subtracted polling-delay: $ref: /schemas/types.yaml#/definitions/uint32 description: The maximum number of milliseconds to wait between polls when checking this thermal zone. Setting this to 0 disables the polling timers setup by the thermal framework and assumes that the thermal sensors in this zone support interrupts.