Re: [PATCH] powerpc/pmac: Early debug output on screen on 64-bit macs

2013-09-12 Thread Benjamin Herrenschmidt
On Fri, 2013-09-13 at 15:10 +1000, Michael Ellerman wrote: > Looks like you merged the version with #define DEBUG. > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/kernel/setup_64.c#n13 Yes, it looks like I've been distracted, I'll remove it again (or you can

Re: [PATCH] powerpc/pmac: Early debug output on screen on 64-bit macs

2013-09-12 Thread Michael Ellerman
On Thu, Jul 25, 2013 at 12:49:57PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2013-07-25 at 12:12 +1000, Benjamin Herrenschmidt wrote: > > --- a/arch/powerpc/kernel/setup_64.c > > +++ b/arch/powerpc/kernel/setup_64.c > > @@ -10,7 +10,7 @@ > > * 2 of the License, or (at your option) any l

Re: [PATCH] powerpc/pmac: Early debug output on screen on 64-bit macs

2013-07-24 Thread Benjamin Herrenschmidt
On Thu, 2013-07-25 at 12:12 +1000, Benjamin Herrenschmidt wrote: > --- a/arch/powerpc/kernel/setup_64.c > +++ b/arch/powerpc/kernel/setup_64.c > @@ -10,7 +10,7 @@ > * 2 of the License, or (at your option) any later version. > */ > > -#undef DEBUG > +#define DEBUG Ooops... sent the wrong

[PATCH] powerpc/pmac: Early debug output on screen on 64-bit macs

2013-07-24 Thread Benjamin Herrenschmidt
We have a bunch of CONFIG_PPC_EARLY_DEBUG_* options that are intended for bringup/debug only. They hard wire a machine specific udbg backend very early on (before we even probe the platform), and use whatever tricks are available on each machine/cpu to be able to get some kind of output out there e