Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp106660pxb; Thu, 7 Jan 2021 23:24:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSitLjfzFRr/PGrVCKDJT1/SACFpjnOkAnbhQRhmX8DaSRvF2NpTWqHRdlSPib1XEhLV/e X-Received: by 2002:a05:6402:1a52:: with SMTP id bf18mr4256555edb.143.1610090699207; Thu, 07 Jan 2021 23:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610090699; cv=none; d=google.com; s=arc-20160816; b=vCqXEmdB40M90m0zY3otyubqIL4PX6kg5A/M6W/rvVEu+V9iTvTLAR4J8tjpOE6t5t 9gkc/a9NNNsxgT5VRflN89eqoo1sMqR10eMNdb4U9OG9KF0WE96mej2aZdT4Z6PxJL+r /Z3ljPBYHYiiYGE7Nby361Ct/zWeITvTp849odHnlgVAkRPhojrBdsrOP3q8s4NZOy6/ 0ebY2TydRn11RSR9XMWgcOYh+iO2zwVyoUfgFpG7lQB+bl+sfMX/YjFQOwh0lDTZGosd PJkVmmnJqPO+HJA9hEtzJn8i92cp+N2L327GiM9vegMH7AND2CuJZ0LQ6VFUOiRJj6Kg XH3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ThAe1lSoMGGfw83i2HmqhTZhRojReUyidejrhR2kdF0=; b=CfRd32VsSL3c5n69n7l7oidKmOiO+JDI6NkNTKaw//3/v45zqtevyS2YRT0fvVJjd8 XxmaH4YpUFzM+HjeZyAXPLagXsy53b3eSHqHSPAGihRfWUGX97QSwyNIha82/OKxAxV1 /3DPbxLbAvBZFF/Vq5A+JStKCfE/+FMCVAfjOKogt/41j+//1rcS3HwR6KjCJMzbptqu l3hyK1SgfShu0Bu7qeIjk1F2JMrwKvaBASc8QBp5sNBzUjeBLkdX1oXEE7PpjmfLQ0hX h7wd5kDz52JvAFBIluDmnxwbzK5NQ+Yr7pA4RIonZ+mMKgC/3xxKxC7vDJKv638nD42G 4VLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si3193764ejc.100.2021.01.07.23.24.35; Thu, 07 Jan 2021 23:24:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbhAHHXV (ORCPT + 99 others); Fri, 8 Jan 2021 02:23:21 -0500 Received: from muru.com ([72.249.23.125]:41184 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726809AbhAHHXV (ORCPT ); Fri, 8 Jan 2021 02:23:21 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 1DE0580B4; Fri, 8 Jan 2021 07:23:00 +0000 (UTC) Date: Fri, 8 Jan 2021 09:22:35 +0200 From: Tony Lindgren To: "H. Nikolaus Schaller" Cc: Adam Ford , Amit Kucheria , Daniel Lezcano , Zhang Rui , Eduardo Valentin , Keerthy , linux-pm@vger.kernel.org, Linux Kernel Mailing List , Linux-OMAP , Carl Philipp Klemm , Merlijn Wajer , Pavel Machek , Peter Ujfalusi , Sebastian Reichel , Andreas Kemnade Subject: Re: [PATCH 1/3] thermal: ti-soc-thermal: Fix stuck sensor with continuous mode for 4430 Message-ID: References: <20201230084338.19410-1-tony@atomide.com> <7C9106E0-FC75-4056-AD5F-16CCFA9C24E5@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7C9106E0-FC75-4056-AD5F-16CCFA9C24E5@goldelico.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Nikolaus Schaller [201230 13:29]: > > Am 30.12.2020 um 13:55 schrieb Adam Ford : > > On Wed, Dec 30, 2020 at 2:43 AM Tony Lindgren wrote: > >> > >> At least for 4430, trying to use the single conversion mode eventually > >> hangs the thermal sensor. This can be quite easily seen with errors: > >> > >> thermal thermal_zone0: failed to read out thermal zone (-5) ... > > I don't have an OMAP4, but if you want, I can test a DM3730. > > Indeed I remember a similar discussion from the DM3730 [1]. temp values were > always those from the last measurement. E.g. the first one was done > during (cold) boot and the first request after 10 minutes did show a > quite cold system... The next one did show a hot system independent > of what had been between (suspend or high activity). > > It seems as if it was even reproducible with a very old kernel on a BeagleBoard. > So it is quite fundamental. > > We tried to fix it but did not come to a solution [2]. So we opened an issue > in our tracker [3] and decided to stay with continuous conversion although this > raises idle mode processor load. Hmm so maybe eocz high always times out in single mode since it also triggers at least on dra7? Yes it would be great if you guys can the $subject patch a try at least on your omap36xx and omap5 boards and see if you see eocz time out warnings in dmesg. Regards, Tony