Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2009-01-06 Thread Grant Erickson
On 1/6/09 4:04 PM, Benjamin Herrenschmidt wrote: > On Tue, 2008-11-25 at 10:34 -0800, Grant Erickson wrote: >> This merges support for the previously DENX-only kernel feature of >> specifying an alternative, "external" buffer for kernel printk >> messages and their associated metadata. In addition,

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2009-01-06 Thread Benjamin Herrenschmidt
On Tue, 2008-11-25 at 10:34 -0800, Grant Erickson wrote: > This merges support for the previously DENX-only kernel feature of > specifying an alternative, "external" buffer for kernel printk > messages and their associated metadata. In addition, this ports > architecture support for this feature fr

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-26 Thread Matt Sealey
On Tue, Nov 25, 2008 at 3:45 PM, David Brownell <[EMAIL PROTECTED]> wrote: > No comment from me on $SUBJECT beyond "it seems plausible", but ... > > On Tuesday 25 November 2008, David VomLehn wrote: >> The important point, though, is that device tree is the only >> thing approaching a standard on a

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Mike Frysinger
On Tue, Nov 25, 2008 at 13:34, Grant Erickson wrote: > This merges support for the previously DENX-only kernel feature of > specifying an alternative, "external" buffer for kernel printk > messages and their associated metadata. In addition, this ports > architecture support for this feature from a

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread David Brownell
No comment from me on $SUBJECT beyond "it seems plausible", but ... On Tuesday 25 November 2008, David VomLehn wrote: > The important point, though, is that device tree is the only > thing approaching a standard on any non-x86-based platform for passing > structured information from the bootloader

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread David VomLehn
On Tue, 2008-11-25 at 14:19 -0600, Bill Gatliff wrote: > Just trying to figure out where the walls of this "sandbox" are. I've > been aware of the concept of Open Firmware for a while, but haven't > really looked into it before now--- mostly because my impression until > now was that the availab

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 3:05 PM, Wolfgang Denk <[EMAIL PROTECTED]> wrote: > Dear Matt, > > In message <[EMAIL PROTECTED]> > you wrote: > > > > There is also no reason you can't hard-code the locations into the device > > tree, to support older U-Boots that don't know about > > /chosen/linux,log-me

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Wolfgang Denk
Dear Matt, In message <[EMAIL PROTECTED]> you wrote: > > There is also no reason you can't hard-code the locations into the device > tree, to support older U-Boots that don't know about > /chosen/linux,log-metadata and /chosen/linux,log-buffer*. Actually there is such reason - U-Boot traditionall

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 2:17 PM, Grant Likely <[EMAIL PROTECTED]>wrote: > On Tue, Nov 25, 2008 at 1:07 PM, Matt Sealey <[EMAIL PROTECTED]> wrote: > > > But here's the real question; why do you need an opensource > implementation? > > Curiosity? > > Umm, so that it can be ported to new boards perha

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Likely
On Tue, Nov 25, 2008 at 1:07 PM, Matt Sealey <[EMAIL PROTECTED]> wrote: > > > On Tue, Nov 25, 2008 at 1:51 PM, Bill Gatliff <[EMAIL PROTECTED]> wrote: >> >> Matt Sealey wrote: >> >> > I can think of a bunch of reasons why it's a good idea.. >> >> Can you point to a GPL/LGPL/BSD/etc. source code for

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Likely
. F On Tue, Nov 25, 2008 at 12:51 PM, Bill Gatliff <[EMAIL PROTECTED]> wrote: > Matt Sealey wrote: > >> I can think of a bunch of reasons why it's a good idea.. > > Can you point to a GPL/LGPL/BSD/etc. source code for an OpenFirmware > implementation? In powerpc land using the Open Firmware devi

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Bill Gatliff
Matt Sealey wrote: > Yes, there's FirmWorks, CodeGen SmartFirmware, IBM SLOF and OpenBIOS.. > they're all linked from the OpenBIOS website (along with a bunch of the > documentation from http://www.openfirmware.org in more-readable formats > like PDF) > > http://www.openbios.org/ > > > But here'

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Bill Gatliff
Matt Sealey wrote: > I can think of a bunch of reasons why it's a good idea.. Can you point to a GPL/LGPL/BSD/etc. source code for an OpenFirmware implementation? b.g. -- Bill Gatliff [EMAIL PROTECTED] ___ Linuxppc-dev mailing list Linuxppc-dev@ozla

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 1:51 PM, Bill Gatliff <[EMAIL PROTECTED]> wrote: > Matt Sealey wrote: > > > I can think of a bunch of reasons why it's a good idea.. > > Can you point to a GPL/LGPL/BSD/etc. source code for an OpenFirmware > implementation? > Yes, there's FirmWorks, CodeGen SmartFirmware,

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
Actually there is an ARM board out there with an Open Firmware (Toshiba TOPAS910 - http://www.toshiba-components.com/microcontroller/BMSKTOPAS910.html) so, yes, device trees do appear on those platforms. QEMU is looking to go that way too, seems for every architecture it would be a pretty awesome i

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Erickson
On 11/25/08 10:55 AM, Josh Boyer wrote: > On Tue, 25 Nov 2008 12:53:12 -0600 > "Matt Sealey" <[EMAIL PROTECTED]> wrote: >> Nitpick, really.. shouldn't the logbuffer location(s) be some device tree >> property(ies), perhaps something in the >> /chosen node that U-Boot etc. can then fill out? > > I

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
On Tue, Nov 25, 2008 at 12:55 PM, Josh Boyer <[EMAIL PROTECTED]>wrote: > On Tue, 25 Nov 2008 12:53:12 -0600 > "Matt Sealey" <[EMAIL PROTECTED]> wrote: > > > Nitpick, really.. shouldn't the logbuffer location(s) be some device tree > > property(ies), perhaps something in the > > /chosen node that U

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Josh Boyer
On Tue, 25 Nov 2008 12:53:12 -0600 "Matt Sealey" <[EMAIL PROTECTED]> wrote: > Nitpick, really.. shouldn't the logbuffer location(s) be some device tree > property(ies), perhaps something in the > /chosen node that U-Boot etc. can then fill out? I don't think that's a nitpick. It's a fundamental

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Matt Sealey
Nitpick, really.. shouldn't the logbuffer location(s) be some device tree property(ies), perhaps something in the /chosen node that U-Boot etc. can then fill out? -- Matt Sealey <[EMAIL PROTECTED]> Genesi, Manager, Developer Relations On Tue, Nov 25, 2008 at 12:34 PM, Grant Erickson <[EMAIL PROT

[PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Grant Erickson
This merges support for the previously DENX-only kernel feature of specifying an alternative, "external" buffer for kernel printk messages and their associated metadata. In addition, this ports architecture support for this feature from arch/ppc to arch/powerpc. Signed-off-by: Grant Erickson <[EMA