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