From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UEzyeguv" 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-Google-Smtp-Source: AGHT+IFnaBBeY7mvmHhC8XodUmGtkP//yvCKoGTsTYjDvg3yXGfKBRrDcS+5v3UnOzhL11SsQT6XKA== 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.