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: 1737151 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A03A2DF280 for ; Wed, 14 Nov 2012 01:07:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932077Ab2KNBHd (ORCPT ); Tue, 13 Nov 2012 20:07:33 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:57023 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756052Ab2KNBHd (ORCPT ); Tue, 13 Nov 2012 20:07:33 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so5429059pad.19 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=B5QyRQK2jCT7JOGPK5lcMfXfP0FGy8h4L1t6cc6KgTIvp1Fe2Z9/E8AboA/eRHCrJi peKinb8PRH6wJug9pHE6fCwja7K1G/rxQGb+bAtpgprUHsbqPr6WDgYB1uSNgC07h6u5 HEATmjE635bMgXhpVft1/PxbvWwEAFfqFIBNv9YtoTFzj2b101NkJ2J7UFzgIvpXJu22 BNNeHNfXRlQogumaZlG1cgERMRW/U+FUZ7WE+flh+G7xYoZmAs6Pn+myaetqFmsviru6 J0Jit1dLxHk5Et/IE0nwS4huptQA3C+g6lyvDaeXYu/5n7pKwLsKu6HUOYDiai129g/m oNLg== 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 Cc: Paul Walmsley , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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: ALoCoQkxRgkVhnwer4/Ea5eLdqMg2OTy061Y9Sa+P4rn6W+lvh+pdGBvHMdZlfeGuPkWuJOyICUw Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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 --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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);