[PATCH 4/5] arch/powerpc: Eliminate NULL test and memset after alloc_bootmem

2008-11-23 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b, alloc_bootmem and related functions never return NULL and always return a zeroed region of memory. Thus a NULL test or memset after calls to these functions is unnecessary. This was

Re: [PATCH 0/1] powerpc: make mcount a stub for dynamic ftrace

2008-11-23 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Paul, > > I have one more patch. I added it to the end of the ppc/ftrace > branch. The new way of handling the finding of mcounts means we do > not need to do anything in the mcount call itself. It should just be > a stub and when ftrace is enable

Re: [PATCH] Add support for the nwp serial device

2008-11-23 Thread Benjamin Krill
* Andrew Morton | 2008-11-21 13:22:44 [-0800]: >(does a powerpc allmodconfig) > >drivers/serial/nwpserial.c:443: warning: data definition has no type or >storage class >drivers/serial/nwpserial.c:443: warning: type defaults to 'int' in declaration >of 'console_initcall' >drivers/serial/nwpserial

Re: [PATCH] powerpc: BSR: support multiple OF-node description of BSR

2008-11-23 Thread Sonny Rao
On Wed, Nov 19, 2008 at 09:48:52PM +1100, Paul Mackerras wrote: > Sonny Rao writes: > > > Add support for multiple BSR nodes in the device tree. > > This didn't apply. Does it depend on the "Fix BSR to allow mmap of > small BSR on 64k kernel" patch being applied first perhaps? Yeah, it was base

Re: [PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-23 Thread Paul Mackerras
Steven Rostedt writes: > Thanks to Paul Mackennas for pointing out the mistakes of my original Mackerras > +static int test_24bit_addr(unsigned long ip, unsigned long addr) > +{ > + long diff; > + > + /* > + * Can we get to addr from ip in 24 bits? > + * (26 really, since we m

Re: [PATCH 4/5] powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace

2008-11-23 Thread Paul Mackerras
Steven Rostedt writes: > +#ifdef CONFIG_PPC64 > +static int > +__ftrace_make_nop(struct module *mod, > + struct dyn_ftrace *rec, unsigned long addr) > +{ > + unsigned char replaced[MCOUNT_INSN_SIZE * 2]; > + unsigned int *op = (unsigned *)&replaced; This makes me a little ne

Re: [PATCH 5/5] powerpc/ppc32: ftrace, dynamic ftrace to handle modules

2008-11-23 Thread Paul Mackerras
Steven Rostedt writes: > This patch performs the necessary trampoline calls to handle > modules with dynamic ftrace on 32 bit PowerPC. Looks OK except for the need to call flush_icache_range after probe_kernel_write, like in the 64-bit case. Paul. ___

Re: [PATCH 2/5] powerpc: ftrace, convert to new dynamic ftrace arch API

2008-11-23 Thread Michael Ellerman
On Mon, 2008-11-24 at 12:43 +1100, Paul Mackerras wrote: > Steven Rostedt writes: > > > Thanks to Paul Mackennas for pointing out the mistakes of my original > > Mackerras > > > +static int test_24bit_addr(unsigned long ip, unsigned long addr) > > +{ > > + long diff; > > + > > + /* > > +

Re: Please pull from 'merge' branch (for 2.6.28)

2008-11-23 Thread Paul Mackerras
Kumar Gala writes: > Please pull from 'merge' branch of > > master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge Pulled and pushed out, but I will wait until Linus is back from vacation before asking him to pull. Paul. ___ Linuxpp

Re: [GIT PULL] Please pull spufs.git merge branch

2008-11-23 Thread Paul Mackerras
Jeremy Kerr writes: > Please do a: > > git pull \ > git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs.git merge > > For a spufs bugfix Pulled and pushed out, but I will wait until Linus is back from vacation before asking him to pull. Paul. __

Re: Please pull 'merge' branch of powerpc-4xx git tree

2008-11-23 Thread Paul Mackerras
Josh Boyer writes: > > Please pull the merge branch of the powerpc-4xx git tree. It contains > > two small fixes that should go into .28. > > Ping? Pulled and pushed out, but I will wait until Linus is back from vacation before asking him to pull. Paul.

Re: Please pull linux-2.6-mpc52xx.git

2008-11-23 Thread Paul Mackerras
Grant Likely writes: > Please pull the 'merge' branch of my MPC5200 tree (url below). I've Pulled and pushed out, but I will wait until Linus is back from vacation before asking him to pull. Some of the commits in there are very close to being unsuitable to go in at this stage - in particular t

[PATCH] powerpc: update ppc44x_defconfig

2008-11-23 Thread Stephen Rothwell
This removes CONFIG_PCI_LEGACY (which is not needed) and consequently several compiler warnings. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/configs/ppc44x_defconfig | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/a

Re: [PATCH] powerpc: Better setup of boot page TLB entry

2008-11-23 Thread Kumar Gala
On Nov 22, 2008, at 10:01 PM, Trent Piepho wrote: On Sat, 22 Nov 2008, Milton Miller wrote: On Thu Nov 20 at 06:14:30 EST in 2008, Trent Piepho wrote: - li r7,0 - lis r6,PAGE_OFFSET at h - ori r6,r6,PAGE_OFFSET at l - rlwimi r6,r7,0,20,31 + lis