[PATCH] Update udbg_progress() to display the integer

Kumar Gala galak at kernel.crashing.org
Wed Feb 7 10:41:24 EST 2007


On Feb 6, 2007, at 5:38 PM, Benjamin Herrenschmidt wrote:

>
>> It would have been for the 2-line display on IBM RS/6000  
>> machines.  If
>> that's still needed, we can put it in arch/powerpc/platforms/chrp
>> somewhere, so feel free to remove it from ppc_init().
>
> Do we actually care about this progress stuff ? I've been tempted more
> than once to rip it all off... we have console access as early as  
> we can
> do progress output on most powerpc platforms nowadays.
>
> If we really want some way of ack'ing that the kernel reached known
> known steps with something different than a printk-type interface,  
> then
> we should probably have somewhere a list of well defined numeric
> constants and use those, but then, I don't like magic numbers.

I'm with Ben on this.  I'm not aware of any in tree user that just  
doesn't print this stuff out to a console port.  The concept is nice,  
but does anyone really use it?

I know I end up using a JTAG and dumping the memory at logbuf before  
using an LED to figure out where I'm at.

- k



More information about the Linuxppc-dev mailing list