From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965405Ab1JGOXt (ORCPT ); Fri, 7 Oct 2011 10:23:49 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:37427 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642Ab1JGOXs (ORCPT ); Fri, 7 Oct 2011 10:23:48 -0400 Date: Fri, 7 Oct 2011 15:23:45 +0100 From: Mark Brown To: Thomas Abraham Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: Re: Long stalls during boot with -next Message-ID: <20111007142343.GH14518@opensource.wolfsonmicro.com> References: <20110929125035.GA2085@sirena.org.uk> <20111007115047.GC24534@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Cookie: Advancement in position. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 07, 2011 at 06:57:19PM +0530, Thomas Abraham wrote: > On 7 October 2011 17:20, Mark Brown wrote: > > I identified the problem here, the behaviour of LL_DEBUG was changed to > > make it select DEBUG_ICEDCC by default which is unfortunate if one > > doesn't have an EmbeddedICE connected. > Thanks for your suggestion. The long stall during boot problem occurs > on Samsung boards as well with linux-next. As per your suggestion, the > following diff fixes this issue. Excellent, I'm using this now - please add my Tested-by: Mark Brown when you send it out properly! > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 65cf8c6..035f5cd 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -120,6 +120,15 @@ choice > Say Y here if you want the debug print routines to direct > their output to the second serial port on these devices. > > + config DEBUG_SAMSUNG_UART > + bool "Kernel low-level debugging messages via samsung serial port" > + depends on PLAT_SAMSUNG > + help > + Say Y here if you want the debug print routines to direct > + their output to the serial port for Samsung platforms. Choose > + the uart port with the "S3C UART to use for low-level debug" > + config option. > + > endchoice > > config EARLY_PRINTK > @@ -139,7 +148,7 @@ config OC_ETM > kernel code. > > config DEBUG_S3C_UART > - depends on PLAT_SAMSUNG > + depends on DEBUG_SAMSUNG_UART > int "S3C UART to use for low-level debug" > default "0" > help