Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Eric W. Biederman
Randy Dunlap <[EMAIL PROTECTED]> writes: > I don't know if this patch is trying to solve this (->) problem, but there > is a desire for drivers to have a decent way to tell if the kernel that > is executing is a kexec/crash kernel or not. If it is a kexec/crash > kernel, then (some) drivers may n

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Eric W. Biederman
Greg KH <[EMAIL PROTECTED]> writes: > On Wed, Dec 12, 2007 at 11:05:45AM -0800, H. Peter Anvin wrote: >> Greg KH wrote: This is a binary structure defined by protocol; >>> What protocol? Is this a "standard" documented somewhere? >> >> Yes, see Documentation/i386/* (although some of it is do

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Randy Dunlap
On Wed, 12 Dec 2007 14:21:46 -0800 Greg KH wrote: > On Wed, Dec 12, 2007 at 11:05:45AM -0800, H. Peter Anvin wrote: > > Greg KH wrote: > >>> This is a binary structure defined by protocol; > >> What protocol? Is this a "standard" documented somewhere? > > > > Yes, see Documentation/i386/* (althou

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread H. Peter Anvin
Greg KH wrote: On Wed, Dec 12, 2007 at 11:05:45AM -0800, H. Peter Anvin wrote: Greg KH wrote: This is a binary structure defined by protocol; What protocol? Is this a "standard" documented somewhere? Yes, see Documentation/i386/* (although some of it is documented by reference to include/asm

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Greg KH
On Wed, Dec 12, 2007 at 11:05:45AM -0800, H. Peter Anvin wrote: > Greg KH wrote: >>> This is a binary structure defined by protocol; >> What protocol? Is this a "standard" documented somewhere? > > Yes, see Documentation/i386/* (although some of it is documented by > reference to include/asm-x86/

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread H. Peter Anvin
Greg KH wrote: This is a binary structure defined by protocol; What protocol? Is this a "standard" documented somewhere? Yes, see Documentation/i386/* (although some of it is documented by reference to include/asm-x86/boot_params.h). in that way it's not significantly different from some

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Greg KH
On Wed, Dec 12, 2007 at 09:54:12AM -0800, H. Peter Anvin wrote: > Greg KH wrote: >> On Wed, Dec 12, 2007 at 04:59:51PM +0800, Huang, Ying wrote: >>> This patch export the boot parameters via sysfs. This can be used for >>> debugging and kexec. >>> >>> The files added are as follow: >>> >>> /sys/ker

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread H. Peter Anvin
Greg KH wrote: On Wed, Dec 12, 2007 at 04:59:51PM +0800, Huang, Ying wrote: This patch export the boot parameters via sysfs. This can be used for debugging and kexec. The files added are as follow: /sys/kernel/boot_params/data: binary file for struct boot_params /sys/kernel/boot_params/ver

Re: [PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Greg KH
On Wed, Dec 12, 2007 at 04:59:51PM +0800, Huang, Ying wrote: > This patch export the boot parameters via sysfs. This can be used for > debugging and kexec. > > The files added are as follow: > > /sys/kernel/boot_params/data : binary file for struct boot_params > /sys/kernel/boot_params/version

[PATCH -mm -v2] x86 boot : export boot_params via sysfs

2007-12-12 Thread Huang, Ying
This patch export the boot parameters via sysfs. This can be used for debugging and kexec. The files added are as follow: /sys/kernel/boot_params/data: binary file for struct boot_params /sys/kernel/boot_params/version : boot protocol version This patch is based on 2.6.24-rc4-mm1 and has bee