Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A022C433EF for ; Sat, 11 Dec 2021 10:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbhLKKSI (ORCPT ); Sat, 11 Dec 2021 05:18:08 -0500 Received: from mail.wizzup.org ([95.217.97.174]:43684 "EHLO wizzup.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229514AbhLKKSI (ORCPT ); Sat, 11 Dec 2021 05:18:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wizzup.org; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6SWPDMmIQSVJcTRjKyzoHoKXgARTfKRSq655TRgaSQY=; b=SHID95luZRKwX4iTzN9MXnHOfH m84Bk9kZMH5e+zuQkoO3phVPqsepqr7cFvvkrAIm3LpRHxozWLFpp9WOnUxTmW4tr+wvdorQIjCEk E1EQz4Gb8gRmL76OsAjYdI+WWtCwq9n8LehyYbMXKHqPpFk+6l3gqOuL1c8cI032PzXhP+9lF2qyK 7EPSQqkb/ucp831r0etyYgv83ikyHWNd7jZs/FqZP/9ol7XuKzHZ3aRzcHLz/DDxIZ+t2zhS4SHSl JZvJogU9QUwC/pcwLAJtScHsUEe5MjodIsQJB6A4s8uvnw4yOlMme8oGdbkfjRLr4ZJwFSBMOQc+b 88akiK3A==; Received: from [45.83.235.159] (helo=[0.0.0.0]) by wizzup.org with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mvzRp-0000zB-Vp; Sat, 11 Dec 2021 10:17:46 +0000 Subject: Re: Nokia N900 OFF mode regression between v5.10 and v5.11 To: Andreas Kemnade Cc: linux-omap , Tony Lindgren , Adam Ford , Ivaylo Dimitrov , Pavel Machek , Dev Null , "H. Nikolaus Schaller" , Aaro Koskinen References: <43cac03a-53c2-83dd-e1b0-4d25920d9095@wizzup.org> <20211211085403.3c1fcb0d@aktux> From: Merlijn Wajer Message-ID: <4fa31761-e7d2-0995-2180-c52afeb39dfa@wizzup.org> Date: Sat, 11 Dec 2021 11:23:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211211085403.3c1fcb0d@aktux> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Andreas, On 11/12/2021 08:54, Andreas Kemnade wrote: > Hi, > > On Sat, 11 Dec 2021 00:20:24 +0100 > Merlijn Wajer wrote: > >> Hi Tony, Adam, >> >> I noticed that after I fixed the OFF mode regression between v5.9 and >> v5.10 that there are another one between v5.10 and v5.11. Fortunately, >> much like the other change it can be worked around with a config change, >> and in fact it looks like the commit identified by git bisect is indeed >> just a commit to change omap2plus_defconfig. >> >> a82820fcd079e38309403f595f005a8cc318a13c ("ARM: omap2plus_defconfig: >> Enable OMAP3_THERMAL") prevents the N900 from entering OFF mode pretty >> much all the time (I've seen scenarios with OFF:2,RET:500), but with the >> config change reverted, stuff like this is more common: OFF:13,RET:2 >> >> We will probably to keep the thermal features enabled, but maybe we can >> figure out why it causes the SoC to not enter sleep modes? > > well, it was enabled after people agreed that is fixed... including me. > It was wrongly enabled some time before, then disabled again, fixed and > reenabled. > The mentioned commit was just after the fix. So what is different now? I'll have to find the mails you are referring to, but I suspect that if the device wasn't hitting OFF mode on v5.10 because of the CONFIG_COMPACT=y option in omap2plus_defconfig, it might have masked this issue? Regards, Merlijn