Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp289544lqt; Thu, 6 Jun 2024 03:51:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9eL+d9diIfXQJKPFhlJXsUWX877NHMPh0kC2ZYzQ9QrMiTkwnLfH0CRsziduhrBBsE8UU/0CAeJoQ+wgxhIayu+MRPzHBTWILiNS3Zw== X-Google-Smtp-Source: AGHT+IHaN9nBRv6MQX4LfqzpprgqE3pBZ0iei+bQJplkK1XDMxx/edPXkxqQQbH010ASSQUqeV4b X-Received: by 2002:a25:c542:0:b0:dfa:4fe4:1b4f with SMTP id 3f1490d57ef6-dfacac7786dmr5595031276.30.1717671115801; Thu, 06 Jun 2024 03:51:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717671115; cv=pass; d=google.com; s=arc-20160816; b=gWZrV4jSble4ICzwKxyDR71Sv65bqc809QeMuBirbwYBARcF9boYQhsMW+UZjxUUCI gOy9AiHbn1PK+Y3dy9vFcVB7wKl8Q4oKyLY8g+P8dtpcOgihOzsiT0AYZU9pBMNYGjy2 hqY+pbjo1ebPqANQPSUmN9RVlR6xG+UBJlMZbnLF9Sody05MGIHkiJZ4QSC9612ofAcI FQJEvHGq3OdYLJ8DGuYtarTVRM0ZRsvlKc/t/jE6vRP4xqOIn9FFw0crliFG2K4agUEY UCibxtAw9SNFJgr6aRkRzxQ0MPlZpVvLHFSWLXpHeaMmJeQVseRcNRQ61E5CvnnadeZr V26g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=BqMCHnOYUKiSyeeFmyyCshrgD+mltZxAnqCowQV6Uqc=; fh=cw7zThlx7+vZdlKuVNJidZKgCQC+h4Fne5OqcjVD5Ao=; b=iNImAD4R/NXrusZvgX4mYL+CgFR4BVaSeGenNbyUQOS0eLB/6U4OMef+WP/1kAJj2/ z1RXI/8/UUXEM/E593WYIaft/I6g+/cwhXp0r5kcaOAiraWBuyr9zvOwZUckWH69solH gkRf3ylMd25RLBxyb3slf1PQF1wI8EwPZA5Y8YpPaRbJKKVRM1tcYjdX7s9hbaznjbDr 13ms/xXsluEizcBabbyG41/ELnK0uFlk1e34ONoqnsdsaPHZZ9qCZw2dMOtWlR1317q+ 3pYaH3TSi5xXdIsKOKwUY0KZNZIHbNJlReRJVmPoZ5QW0V1szM0Ff4x3B5NzCNRy/+J0 QJoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yCQAZDRr; 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-204140-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04f9fb118si12588206d6.420.2024.06.06.03.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 03:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204140-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yCQAZDRr; 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-204140-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204140-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 782261C261E6 for ; Thu, 6 Jun 2024 10:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10D1D1957EC; Thu, 6 Jun 2024 10:51:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yCQAZDRr" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 6F695195382 for ; Thu, 6 Jun 2024 10:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671061; cv=none; b=jInaW6zaJIre6dq+1+LuX6QRgLXYZT1kiMY3sOAnd7zmxP7IO9XYK3n9A4CTUHATYbsK/xA3Z5Cuv7lN9ozqfNnnkO12rZpCg0wPGBZMg4yjW/c3wqU4eDeahmzef5c2AdAd5Vi9mP/W5ovaU0coudiVoPNkFvhMLltCtqJxgPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717671061; c=relaxed/simple; bh=pdegZV1es17fn1J5D8VlMEL3AsAIz+STUjzDJvWrBBI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CbqRgjAcnBDNreMGDOIC6xihEfdEGHA6gasNEstCwC4TRiLR4ap6eUNMp2MTLAeBGxPmZuOc8Ly+wDnJ/UEHLPbRxQaaEWp+hc0OzneTpfh2X+KLbJy1jgg0Pz4YUKxPyjrAR6OK7kE56qKC+RIObLUISUkFSXxQvvRhS4jXCMM= 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=yCQAZDRr; arc=none smtp.client-ip=209.85.218.54 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-ej1-f54.google.com with SMTP id a640c23a62f3a-a690c8e64bdso41385466b.3 for ; Thu, 06 Jun 2024 03:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717671058; x=1718275858; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=BqMCHnOYUKiSyeeFmyyCshrgD+mltZxAnqCowQV6Uqc=; b=yCQAZDRrRQvP7mWTEPIEMY/tBJK0dkUTXrwN79qR9R7fnpt1P8NE9AOYa2DUvDuGYH jRR0zvFWTaJcywEDS46HdFYxerY/LqDI+9A0tMcND4LD+Ify2nmWG4V6thYs5ceIcV9C AvHmlzvCIeK6zgMuxDBTUZi0SqvSpJ0TxSiTOiKKwvvH0Y3i88QAHqUIAxVb5G7y+VVD CRlxS0PZVn2cIG45yLWSORDhor87D9Pr7Bo+eSGjy6RYGp+b5suzvn6033rN9uJ9TdaK JDk297Z1/MmrPwwK+d6ivKE/YBDeD1oKStoggCs2XVABWgez+VU8RlrVjKFvEm5MCOfF Turw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717671058; x=1718275858; h=content-transfer-encoding:in-reply-to:autocrypt: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=BqMCHnOYUKiSyeeFmyyCshrgD+mltZxAnqCowQV6Uqc=; b=tDJyklOJzXkHnmNPqes+0/x0y+jgYDhoCbiAXfK3KKHBzMWPCEtD16ExW/FbmcMuK6 woPWgs6LtNKRCme7WKmYb/BXC6FwkiXEdce0zPmWc/q4NNJJjbJcnHzJAOxVg1QotCi/ 2h8en0o5wm2CYp8KHrnizG2q774Xg/0MM4I7Oyb5U5Pj27yYLsYmgXOIVZbNCqQwCcwa 0JTRbK0otewpUXm1xctYhjFau0Bi0C7jOdhrgVdFPIpOZtZ/ywsOzceOPDRq9YK+xagr FH/zfkXZJevn8qk5RDsPOq+3LuY/MyTZdMCawWdtgIxNqLDK1mHJA5Jq+aTDHGuxtdG2 izBA== X-Forwarded-Encrypted: i=1; AJvYcCVYdW5htgAKnyRhNq6t3H+/7lyCg7Fycgs2zmxGSVpPy6Ex/zWsUG7DCw8AeCiLhrhMeBwobhlDpyWROIFqTVjGF+8gZM/JtavXCY9x X-Gm-Message-State: AOJu0YwWp2H5pNnRoUoXAe1uvcVhrqrdJBsyPMASWsjIsH1ouC6i4ohj HY4gQnhnAeeXBCe5CaFL6+BPfqZ1z78cfbEdheI09rgYKJ03qDLB25vvW3alDXw= X-Received: by 2002:a50:d597:0:b0:572:a770:1371 with SMTP id 4fb4d7f45d1cf-57a8bcc6116mr3610017a12.42.1717671057810; Thu, 06 Jun 2024 03:50:57 -0700 (PDT) Received: from [192.168.128.139] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae20238asm883405a12.73.2024.06.06.03.50.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jun 2024 03:50:57 -0700 (PDT) Message-ID: Date: Thu, 6 Jun 2024 12:50:55 +0200 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 00/31] Clean up thermal zone polling-delay To: Bryan O'Donoghue , 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> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+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HsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 10.05.2024 2:49 PM, Bryan O'Donoghue wrote: > On 10/05/2024 12:59, Konrad Dybcio wrote: >> A trivial follow-up on the changes introduced in Commit 488164006a28 >> ("thermal/of: Assume polling-delay(-passive) 0 when absent"). >> >> Should probably wait until v6.9-rc1 so that the patch in question is >> in the base tree, otherwise TZs will fail to register. >> >> FWIW, Compile-tested only (except 8280). >> >> To: Bjorn Andersson >> To: Rob Herring >> To: Krzysztof Kozlowski >> To: Conor Dooley >> To: cros-qcom-dts-watchers@chromium.org >> To: Krzysztof Kozlowski >> Cc: linux-arm-msm@vger.kernel.org >> Cc: devicetree@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Signed-off-by: Konrad Dybcio >> >> Changes in v2: >> - Un-drop passive delays. Whether they're useful where they're enabled >>    is a topic for another patchset, as it requires examination on a case- >>    -by-case basis. >> - Better unify the style (newlines between properties) >> - Link to v1: https://lore.kernel.org/r/20240319-topic-msm-polling-cleanup-v1-0-e0aee1dbcd78@linaro.org > > So perhaps you can answer the question I have. > > Right now, we have non-zero delay values, doesn't this mean the thermal framework driver has a delay between evaluating dT/dt values per > > Documentation/devicetree/bindings/thermal/thermal-zones.yaml > > Your commit log implies or my reading of it is, there's no functional change because its currently driven by an IRQ but, is that actually _so_ with non-zero values in the DT? Yes, tsens irq fires a threshold change notification down the thermal framework Konrad