Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp889761ybm; Fri, 29 May 2020 14:57:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJkPqhcoqccBSkNXL4hgC59tD8ZscTHmrnrW/8FQ7w75gmTWu13l7Y7E4Kk6mUhECIkjB9 X-Received: by 2002:a50:eb84:: with SMTP id y4mr10123502edr.374.1590789457471; Fri, 29 May 2020 14:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590789457; cv=none; d=google.com; s=arc-20160816; b=haS205mR/EUFvfBkKN86HRs5UaitAue8nl8mrtm5koXimkKeKaT0t+OJRTgQqoZsUl /tIjT8gAVDWgX10D4ib2dMwm4695GPbhz29VxGs4MEUQYzG9et/dF5Z1hzlvVN9A7/I+ DSOG1sUO1GH5ZEJFgfIPkMAoqa9D3VxCMhhePT0zHZErdJhPyrUdz+09Qa3/vpo1RXn+ Ya1ALYQNiJcvd3fo49Ssx1KFu6W3/WX5jlefIFuX7/2+4FQTFEBYiwX7lVAOboJakc3G 7A1OgDfkk85RdNhiQXs09N9JuEDMQVKaIiZKbByZ9ibn5bnDVItYyy+PuxyafvrWg8n0 H7UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=GH9LCmYqlX9CyigclvXZi0cU2hZIh7HzBjUC9bDUgoE=; b=nLjM+00H8Q7sNZDWXWQ3UhO78NJVISLV2s7vMI3oT6JOhoaU3VvLbR1DEHI6USgEqU Sr1I7MZONCBSGCvYY2lhuAYP0DnYyXPpytslxYYqdg8PU6u9sYTyQo9aXudVWFOlk1hw IECEwehetnhSz2zJXANCL4fSt8guqcvkyu7CgWmEeUGJ+Iej91jUwp25NwxHl5Mb3kJL x4derx3iX53Q5I3yUs4xe1aYYegJiEW4bS63pCdfOf7AKZtKz1fwYOBvYCl+VEJLkMcR CBImoUF8zJ4mgeiETcrWGv8oEOcR+bXn2YNWQ0uAkSGwgcPpMMrngg1r+TdLTq6Irz7E NCLQ== 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 s4si6406887edy.21.2020.05.29.14.57.13; Fri, 29 May 2020 14:57:37 -0700 (PDT) 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 S1728086AbgE2VxT (ORCPT + 99 others); Fri, 29 May 2020 17:53:19 -0400 Received: from muru.com ([72.249.23.125]:56302 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726975AbgE2VxS (ORCPT ); Fri, 29 May 2020 17:53:18 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 186A18030; Fri, 29 May 2020 21:54:07 +0000 (UTC) Date: Fri, 29 May 2020 14:53:14 -0700 From: Tony Lindgren To: Tomi Valkeinen Cc: Faiz Abbas , Keerthy , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, bcousson@baylibre.com Subject: Re: [PATCH v2] arm: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver Message-ID: <20200529215314.GZ37466@atomide.com> References: <20200512203804.9340-1-faiz_abbas@ti.com> <20200513162327.GM37466@atomide.com> <94025425-95e2-e53d-cfac-a1e73e6c011a@ti.com> <53c815db-dd7d-e6e1-f81a-cf05ef340c71@ti.com> <20200519154807.GT37466@atomide.com> <20200519160458.GU37466@atomide.com> <20200527160543.GI37466@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200527160543.GI37466@atomide.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tony Lindgren [200527 16:06]: > * Tony Lindgren [200519 09:05]: > > * Tomi Valkeinen [200519 15:55]: > > > (Dropping DT from cc) > > > > > > On 19/05/2020 18:48, Tony Lindgren wrote: > > > > > > > > > Suspend/resume on am43xx-gpevm is broken right now in mainline and the regression looks > > > > > > like it is caused by the display subsystem. I have reported this to Tomi and > > > > > > its being investigated. > > > > > > > > > > > > Meanwhile I have tested this patch with display configs disabled and Keerthy's > > > > > > suspend/resume tests pass on both am3 and am4. > > > > > > > > OK great thanks for checking it. Do you have the display subsystem > > > > related commit that broke PM? I'm wondering if my recent DSS platform > > > > data removal changes might have caused the regression. > > > > > > I spent a bit time looking at this, but unfortunately I wasn't even able to > > > resume my AM4 evm from suspend. I tried with rtcwake and with plain console > > > (with no_console_suspend). I did not have DSS loaded. > > > > My test-bbb-suspend script seems to have: > > > > sudo modprobe wkup_m3_ipc > > sudo modprobe pm33xx > > sudo modprobe rtc-omap > > rtcwake -m mem -s 5 > > > > I think the same should work for am437x. But some boards do not support > > deep sleep like am437x-idk. > > > > > Anyone have quick hints on how to debug why resume doesn't seem to happen? > > > > You might get some info with no_console_suspend, but that might also > > cause other issues. > > To me it seems we may have some dss clock missing with the ti-sysc dts > changes that makes resume fail. Or else there is some ordering issue > between the dss components now on resume, I'll try to debug more. Looks like we now set the CLOCKATIVITY bit while earlier we did not set it except for HWMOD_SET_DEFAULT_CLOCKACT cases. I've also found few other minor issues, but I'm still seeing resume fail for DSS. The clock and sysconfig registers look just fine, so getting closer. Regards, Tony