From patchwork Wed Nov 14 01:07:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 1737161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 843123FCAE for ; Wed, 14 Nov 2012 01:10:26 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TYRS7-0001jb-B9; Wed, 14 Nov 2012 01:07:39 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TYRS3-0001jI-ID for linux-arm-kernel@lists.infradead.org; Wed, 14 Nov 2012 01:07:36 +0000 Received: by mail-pb0-f49.google.com with SMTP id un15so2139033pbc.36 for ; Tue, 13 Nov 2012 17:07:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type:x-gm-message-state; bh=PpmhllIFYkJ+ho6zZpybHSYo4+VTTgow/Zu9R6rT56Q=; b=N1Cqr4VXc/35bKcvOCsN5GU8q5pkwd1U9ZNvL4ewSbCv0nHvSoMKfUBw1a73aMTZQF IwCTwudNQAebzk0CJfYsNRCrG0W4qfqZm+zt/qdPrUkRetyzhcrvrVJMySNsDMbt83A6 N1ONvo1shFi2EtrbpTW2+oNIrMFP721N2zbgrEt5CEgCaJhYX49+YdiQ9DQzcQnPpvsr /pgmUlAUkx6WxjNZOxBX5nA3JSPMjBMi0+9X6og9SGE1YBMnJFQFg4mtn+AkynVvKLYh U0u50VCO+RZ9b85NoIVM9Yc5nh0q2UjAkncAl0wWegN6zJFinWDywlGVTkxP4nPKP71A 2UtQ== Received: by 10.66.72.225 with SMTP id g1mr2002982pav.79.1352855252666; Tue, 13 Nov 2012 17:07:32 -0800 (PST) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net. [24.19.7.36]) by mx.google.com with ESMTPS id oj1sm6783825pbb.19.2012.11.13.17.07.31 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 17:07:31 -0800 (PST) From: Kevin Hilman To: Tony Lindgren Subject: Re: OMAP baseline test results for v3.7-rc5 Organization: Deep Root Systems, LLC References: <20121112225830.GW6801@atomide.com> Date: Tue, 13 Nov 2012 17:07:39 -0800 In-Reply-To: <20121112225830.GW6801@atomide.com> (Tony Lindgren's message of "Mon, 12 Nov 2012 14:58:31 -0800") Message-ID: <87obj1f0v8.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnPLheKONzGLS4h4lt0NzbGU4FxCMbmLCCOTr27ljZSLID9tOhbzrU8bbzAiE/vLqI5mh+B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121113_200735_815149_A338F728 X-CRM114-Status: GOOD ( 16.62 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Paul Walmsley , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Tony Lindgren writes: > * Paul Walmsley [121112 11:33]: >> >> Here are some basic OMAP test results for Linux v3.7-rc5. >> Logs and other details at: >> >> http://www.pwsan.com/omap/testlogs/test_v3.7-rc5/20121111081034/ >> >> >> Passing tests >> ------------- >> >> Boot to userspace (9/11): 2420n800, 2430sdp, 3517evm, 3530es3beagle, >> 3730beaglexm, 37xxevm, 4430es2panda, 5912osk, am335xbone >> >> PM ret/off, suspend + dynamic idle (2/4): 3730beaglexm, 37xxevm >> >> >> Failing tests: fixed by posted patches >> -------------------------------------- >> >> Boot tests: >> >> * 3530ES3 Beagle: I2C timeouts during userspace init >> - Intermittent, appears on 5 out of 6 boots here >> - Aaro Koskinen observes this also on N900 >> - Appears to be caused by commit 3db11feffc1ad2ab9dea27789e6b5b3032827adc >> - http://marc.info/?l=linux-arm-kernel&m=135071372426971&w=2 >> - http://marc.info/?l=linux-omap&m=135197877112220&w=2 >> - Revert posted, pending I2C maintainers: >> - http://marc.info/?l=linux-arm-kernel&m=135221953727077&w=2 > > Here's one more booting issue I recently ran into: > > - If DEBUG_LL and earlyprintk are enabled, and omap-serial.c > is compiled as a module, the kernel boot hangs early as the > clocks for serial port are cut while earlyprintk still uses > the port. This might be regression from v3.6. > Can you test if the patch below[1] helps? With that, it seems to finish booting for me (based solely on a ping test.) The problem is a race between the late_initcall for omap_device (which idles devices that have no drivers) and the late_initcall in kernel/printk.c which turns off the earlyconsole. Any printks that happen between this omap_device late initcall and the earlyconsole late initcall will crash when accessing the UART. Kevin [1] Tested-by: Tony Lindgren diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index 7a7d1f2..138114a 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c @@ -1275,4 +1275,4 @@ static int __init omap_device_late_init(void) bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); return 0; } -late_initcall(omap_device_late_init); +late_initcall_sync(omap_device_late_init);