Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp402986lqi; Thu, 7 Mar 2024 00:04:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwMQNxKm9UcqfxM6sirT5PLMX2hJ97GvFipwAxNuocyQbW3ZwJJBnxYyuuxy70NEwkL958dtbOVrTlilHXdyu+E3Lt/A2w2yPeW40vLw== X-Google-Smtp-Source: AGHT+IGzQ2tIyLuVd70bOkmt/xq9MhJol2Q9+64SO6wU6adz+P3nmX8xCp1QC1FLEb1cl+3HIrB7 X-Received: by 2002:aca:2b17:0:b0:3c1:f32e:8acd with SMTP id i23-20020aca2b17000000b003c1f32e8acdmr6624610oik.59.1709798664994; Thu, 07 Mar 2024 00:04:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709798664; cv=pass; d=google.com; s=arc-20160816; b=UiEV/hFFH31bcR/OG6/JqFG9wDKZsF60ZhLLbfBK5viO9rNhHKPqlKejCmNsw6zX8H Cj7jR4r2r8aE81sT5/O5GrHRHkc2mYqzqFHV2JJjSP4enZT1tacl7P6pPjqp2k+tKPTb E+ceCFdWOT+pHqXFbDPWxEojeqddwGDBsLi67EQNyAaVTSq4Dq0gq/KcVJ1DZ0Wjdl76 nvpArTQDdOkWcze6XLXnCfysuI6W8pmuAK2Uol6VJ6/SvXCqn+LaaG4YV+dNx9OeYSLl b8ElVmefKJDK6QaoDYkT9i6sPJGPMIIS43u1LqTX1XQ/uEJl/1rvEXubYJfhIRp1ooxM tRYw== 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=A6FHP53ejp69T55VtiKwTInqSB2/riDC1cXIiukRsS4=; fh=A7j7jRtCpb2hLdNlGg1vAZUKhsx8A0WnUFxqCaZU5Ak=; b=ENbENLD0EM+dUmAdYVnzxeu2Q0FcnTftRu1K/RkBBEhNEwc2bfE1T6CkDcg7jesM+b /k4aGzv34OGY1eW3TNWmHP08WQRlJE+7hhSu4RQuewz7s4zPewwMmzOc1zNAmJAW4Mrj X4IaJ7AZvPOwr+lcK2EBORHqhqM+998/2GnxGObIQwniqt+vX9TtdupWs5rEja+mrR1n 7xwLUMg65TYzwktoC+NCkwwCXjZxz54AOq4Cq9gmrzlN2r5nBCb8FWioQpi38IQ7x9Hv mb7kQ3cLS4bzwJ0NU77nYKEwKAp2GGhKkJLQAr4M0HueSgdN2/vWzIBpKXnJT5DtUWPx qZAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d81wZiQn; 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-95101-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95101-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 z11-20020a056a001d8b00b006e657aa0c2esi1363872pfw.65.2024.03.07.00.04.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 00:04:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95101-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=d81wZiQn; 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-95101-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95101-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 9F4F2285ED1 for ; Thu, 7 Mar 2024 08:04:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3D5363128; Thu, 7 Mar 2024 08:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="d81wZiQn" Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (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 4D1536311B for ; Thu, 7 Mar 2024 08:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709798657; cv=none; b=Dwo4atrY6JxIBTAu2jfrqsCFHfOcH6pp9FYUspDcV9DKEK6+J6jjil9TZrQtL9YcPfQhAbzsBMz/qYy84BRLaijdDTdGw5/om5YgHe8MbjIS2NwHkN+N44lWoq65NQKJsZA27FQkTcEfplD7+3sM02nQsfzHoF2LTvdNo6NobsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709798657; c=relaxed/simple; bh=CYI1kg9L8aJ8tOx8jtLfhBmzrDy6szw6bLUCyE7PD6A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IaB//qcO96p4BKNudgwEltHQfqUpS1t4fLh8Hyxyzf8JDNqfDym2ZMeo8XB/5xnlA0eFSSGDkdcoMaAMCvibQacH5ktgSfuM86or6hnFvQ6XOQFsnIRuWuW5xRcalSrcYr7wFvUX9lPPm0dbLfTDkOq3WA747G08nAgGBTCAPJo= 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=d81wZiQn; arc=none smtp.client-ip=209.85.208.176 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-lj1-f176.google.com with SMTP id 38308e7fff4ca-2d240d8baf6so6005461fa.3 for ; Thu, 07 Mar 2024 00:04:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709798653; x=1710403453; 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=A6FHP53ejp69T55VtiKwTInqSB2/riDC1cXIiukRsS4=; b=d81wZiQnTxidRkhN8+69UMQ76sfPHW7trSZlxXfVajpxNPSEDwh8yqP7WQdP0EvziC hSe32Ndp7QylKG0vT9PU87Ft98QzLpL7up8zMlXBh38YQpKa2Wmen2ToGWagUaJnA5Vw wbRKs1IKrOIWMDPbGWsf6uagxK77w3gpvDQi21/f4aUge3Fy+h6e/I4QeOTqWu4VTu2N ZtcwH2DtCKqddE8eP5qwN8h25O3KGaQRlIKwMTP4eVKJKf4hEO2MBBGH5RLdlAH4jP6Q DrLnP4FSzwYP32F/wcyizrLqUV3+8EYhNtLNM2s+s2OLtpO85rzg6rHWRG/tugF9xWqU BWgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709798653; x=1710403453; 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=A6FHP53ejp69T55VtiKwTInqSB2/riDC1cXIiukRsS4=; b=vPhVleKZa3+C45ne5C2vGAVGPyGnsg7nedFS5tuCy87wS3ejMD1nLKjnQNMnV0DVmF sqlNpSCZvFyyH+Yr/ETpDLIHtDcpj9DGaqMwUKmDHkYPGcJbvR8/2IHZdc8Y1pOXDIN2 9d38RxSwKe2aaZpPEfmOf60K/Q+8+gsbaJ4RJy3P2K2wE7kYAJWUxWLgZJqK08NY49aE NAxM0wJDVU7mN+Teuym5GkehKj7DP7rnwCZUbCdtEzGgLIKHDS3iqnBMlYubj7PThp6S cq+pu5/Q9JFfsS5ablMx7M9iTttrJn1sLP1Oho/aMlHPHGPWfueMSYbstqCbAkXsRlq0 Y/Sw== X-Forwarded-Encrypted: i=1; AJvYcCXFq8tth7oZiJ5RLWshK5TVwa3Zu8erBlRbAi6VpQ52M5o/z6HV2N09/pkLxKtng7QeELUsWjDHRhD3JmUQD8ynzn/ZRSMObi3iw7Q6 X-Gm-Message-State: AOJu0Yx2j6oHc194Qc3ZAGS7fvt2x0XHcpDtnh9dhqzXQnn1i4ZMlFtu UwZ6WSmC2e4XG5oru5aOPn+m/OmmetsxePWnuGuGSZzsRcJ0EZ8xZmxfO9yJ5/Q= X-Received: by 2002:a2e:9a85:0:b0:2d2:ea18:bcc7 with SMTP id p5-20020a2e9a85000000b002d2ea18bcc7mr695660lji.23.1709798653117; Thu, 07 Mar 2024 00:04:13 -0800 (PST) Received: from ?IPV6:2001:14ba:a00e:a300::227? (dzyjmhyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a00e:a300::227]) by smtp.gmail.com with ESMTPSA id a19-20020a2e9813000000b002d2e419d9besm2796878ljj.65.2024.03.07.00.04.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Mar 2024 00:04:12 -0800 (PST) Message-ID: Date: Thu, 7 Mar 2024 10:04:12 +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 2/2] thermal/of: Assume polling-delay(-passive) 0 when absent To: Konrad Dybcio , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240125-topic-thermal-v1-0-3c9d4dced138@linaro.org> <20240125-topic-thermal-v1-2-3c9d4dced138@linaro.org> Content-Language: en-GB From: Dmitry Baryshkov In-Reply-To: <20240125-topic-thermal-v1-2-3c9d4dced138@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 25/01/2024 14:11, Konrad Dybcio wrote: > Currently, thermal zones associated with providers that have interrupts > for signaling hot/critical trips are required to set a polling-delay > of 0 to indicate no polling. This feels a bit backwards. > > Change the code such that "no polling delay" also means "no polling". > > Suggested-by: Bjorn Andersson > Signed-off-by: Konrad Dybcio > --- > drivers/thermal/thermal_of.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry