From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B41D9C4363D for ; Fri, 25 Sep 2020 11:51:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F3DA221EB for ; Fri, 25 Sep 2020 11:51:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728042AbgIYLvu (ORCPT ); Fri, 25 Sep 2020 07:51:50 -0400 Received: from muru.com ([72.249.23.125]:45564 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727248AbgIYLvu (ORCPT ); Fri, 25 Sep 2020 07:51:50 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 05D0F80B0; Fri, 25 Sep 2020 11:51:52 +0000 (UTC) Date: Fri, 25 Sep 2020 14:51:47 +0300 From: Tony Lindgren To: Laurent Pinchart Cc: Tomi Valkeinen , Linux-OMAP Subject: Re: Slow booting on x15 Message-ID: <20200925115147.GM9471@atomide.com> References: <20200918155844.GH28436@pendragon.ideasonboard.com> <20200923070758.GT7101@atomide.com> <20200923111346.GA3980@pendragon.ideasonboard.com> <20200924054220.GA9471@atomide.com> <20200924055313.GC9471@atomide.com> <20200924060826.GE9471@atomide.com> <20200924133049.GH3968@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924133049.GH3968@pendragon.ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Laurent Pinchart [200924 13:31]: > Hi Tony, > > On Thu, Sep 24, 2020 at 09:08:26AM +0300, Tony Lindgren wrote: > > * Tomi Valkeinen [200924 06:05]: > > > On 24/09/2020 08:53, Tony Lindgren wrote: > > > >>>>> On Fri, Sep 18, 2020 at 06:25:02PM +0300, Tomi Valkeinen wrote: > > > >>>>>> v5.9-rc5 > > > >>>>>> [ 0.706165] cpuidle: using governor menu > > > >>>>>> [ 6.761812] No ATAGs? > > > >>>>>> > > > >>>>>> [ 19.522536] Run /sbin/init as init process > > > > > > > > Hmm v5.9-rc1 here with NFSroot shows this for me: > > > > > > > > [ 11.704511] Run /sbin/init as init process > > > > > > > > And v5.9-rc6 shows: > > > > > > > > [ 13.120913] Run /sbin/init as init process > > > > > > > > With at least two seconds spent on waiting for Ethernet PHY to > > > > negotiate the speed. This is with omap2plus_defconfig. > > > > > > I'm also using nfsroot, so I didn't put too much weight on the "Run /sbin/init as init process" > > > line, as it could also be caused the network or the nfs server. But the "No ATAGs" lines already > > > show an increase from 0.8s to 6.7s from v5.7 to v5.9-rc5. > > Yes, that's the main issue. > > > That's strange, I'm seeing this with v5.9-rc6: > > > > [ 2.357585] No ATAGs? > > What's your test platform ? This is from beagle x15. I wonder how Tomi is seeing over six seconds at that point though while I'm seeing two something. > Still, 1.5s spent there is quite a lot. Probably that's when module_init runs and we probe almost everything. Might be worth profiling to see if we can optimize out some full dtb tree searches for example. Regards, Tony