From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0131DB7BC3 for ; Fri, 27 Nov 2009 09:48:05 +1100 (EST) In-Reply-To: <1259212468.16367.267.camel@pasglop> References: <1258927311-4340-1-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-10-git-send-email-albert_herranz@yahoo.es> <1258927311-4340-11-git-send-email-albert_herranz@yahoo.es> <200911222327.37949.arnd@arndb.de> <1259212468.16367.267.camel@pasglop> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0E5CD213-9ADE-4C49-9BD1-1DE96830F65E@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [RFC PATCH 10/19] powerpc: gamecube/wii: early debugging using usbgecko Date: Thu, 26 Nov 2009 23:54:57 +0100 To: Benjamin Herrenschmidt Cc: Albert Herranz , linuxppc-dev@lists.ozlabs.org, Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> This will probably break other platforms if >> CONFIG_PPC_EARLY_DEBUG_USBGECKO >> is set. In general, we try hard to make it possible to build generic >> kernels for multiple systems, so it would be better to also add a >> runtime check here. > > No Arnd. The whole point of EARLY_DEBUG is that it is -known- to break > other platforms :-) So that we can use it before we even get to probe > anything. > > I am still tempted, one day, to change the kernel early init to > setup a > stack in .bss and go straight to C to do that sort of stuff by parsing > the flat DT, this could be done using pretty much completely generic > code :-) But not right now. No Ben. The whole point of EARLY_DEBUG is that it _always works_, because it is such trivial code. Don't break that please, or we'll be forced to add a "REALLY_EARLY_DEBUG" instead :-) Segher