Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-13 Thread Paul Mackerras
Manish Ahuja writes: > If Mike and Paul are okay, then I will leave this bit as is and fix all > other issues and comments. Well, part of the problem is the semantic dissonance caused by having a static variable called "global". Please change the name "phyp_dump_global" to "phyp_dump_vars" or s

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-13 Thread Michael Ellerman
On Wed, 2008-03-12 at 23:29 -0500, Manish Ahuja wrote: > If Mike and Paul are okay, then I will leave this bit as is and fix all > other issues and comments. Well I still don't like it - it uglifies the code _now_, for a potential future benefit that may never come. But I don't care that much, if

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-12 Thread Manish Ahuja
If Mike and Paul are okay, then I will leave this bit as is and fix all other issues and comments. Thanks, Manish Linas Vepstas wrote: > On 10/03/2008, Michael Ellerman <[EMAIL PROTECTED]> wrote: >> On Thu, 2008-02-28 at 18:24 -0600, Manish Ahuja wrote: > >> > + >> > +/* Global, used to com

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-12 Thread Linas Vepstas
On 10/03/2008, Michael Ellerman <[EMAIL PROTECTED]> wrote: > On Thu, 2008-02-28 at 18:24 -0600, Manish Ahuja wrote: > > + > > +/* Global, used to communicate data between early boot and late boot */ > > +static struct phyp_dump phyp_dump_global; > > +struct phyp_dump *phyp_dump_info = &phyp_du

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-11 Thread Michael Ellerman
On Wed, 2008-03-12 at 11:13 +1100, Michael Ellerman wrote: > On Tue, 2008-03-11 at 17:12 +1100, Paul Mackerras wrote: > > Manish Ahuja writes: > > > > > +#else /* CONFIG_PHYP_DUMP */ > > > +int early_init_dt_scan_phyp_dump(unsigned long node, > > > + const char *uname, int depth, void *da

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-11 Thread Michael Ellerman
On Tue, 2008-03-11 at 17:12 +1100, Paul Mackerras wrote: > Manish Ahuja writes: > > > +#else /* CONFIG_PHYP_DUMP */ > > +int early_init_dt_scan_phyp_dump(unsigned long node, > > + const char *uname, int depth, void *data) { return 0; } > > This shouldn't be in the header file. Either p

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-10 Thread Paul Mackerras
Manish Ahuja writes: > +#else /* CONFIG_PHYP_DUMP */ > +int early_init_dt_scan_phyp_dump(unsigned long node, > + const char *uname, int depth, void *data) { return 0; } This shouldn't be in the header file. Either put it in prom.c (and make it return 1 so the of_scan_flat_dt call doe

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-03-10 Thread Michael Ellerman
On Thu, 2008-02-28 at 18:24 -0600, Manish Ahuja wrote: > Initial patch for reserving memory in early boot, and freeing it later. > If the previous boot had ended with a crash, the reserved memory would contain > a copy of the crashed kernel data. > > Signed-off-by: Manish Ahuja <[EMAIL PROTECTED]>

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-14 Thread Manish Ahuja
Olof, I will run it through checkpatch before resubmitting. Thanks, Manish Olof Johansson wrote: > On Thu, Feb 14, 2008 at 02:46:21PM +1100, Tony Breeds wrote: > >> Hi Manish, >> Sorry for the minor nits but this should be: >> >> --- >> * Linas Vepstas, Manish Ahuja 2008 >> * Copyrigh

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-14 Thread Olof Johansson
On Thu, Feb 14, 2008 at 02:46:21PM +1100, Tony Breeds wrote: > Hi Manish, > Sorry for the minor nits but this should be: > > --- > * Linas Vepstas, Manish Ahuja 2008 > * Copyright 2008 IBM Corp. > --- > > You can optionally use the '??' symbol after word 'Copyright' but you > shouldn't u

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-13 Thread Tony Breeds
On Tue, Feb 12, 2008 at 01:08:25AM -0600, Manish Ahuja wrote: > > Initial patch for reserving memory in early boot, and freeing it later. > If the previous boot had ended with a crash, the reserved memory would contain > a copy of the crashed kernel data. > > Signed-off-by: Manish Ahuja <[EMAIL P

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-12 Thread Michael Ellerman
On Tue, 2008-02-12 at 01:08 -0600, Manish Ahuja wrote: > Initial patch for reserving memory in early boot, and freeing it later. > If the previous boot had ended with a crash, the reserved memory would contain > a copy of the crashed kernel data. > > Signed-off-by: Manish Ahuja <[EMAIL PROTECTED]

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-11 Thread Manish Ahuja
Sorry, I think i sent the wrong patch file, it shouldn't have my printk statement in there. Let me re-send the correct file and let me test it once more to make sure it does the right thing. -Manish Paul Mackerras wrote: > Manish Ahuja writes: > >> Initial patch for reserving memory in ear

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-02-06 Thread Paul Mackerras
Manish Ahuja writes: > Initial patch for reserving memory in early boot, and freeing it later. > If the previous boot had ended with a crash, the reserved memory would contain > a copy of the crashed kernel data. [snip] > +static void __init reserve_crashed_mem(void) > +{ > + unsigned long b

Re: [PATCH 2/8] pseries: phyp dump: reserve-release proof-of-concept

2008-01-22 Thread Manish Ahuja
Reposted this one. I got the email id wrong in this one. Sorry about that. Manish ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev