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 enabled, it

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'

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 mulitply

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 nervous,

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; + + /* +* Can we get to

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. ___

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

[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

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