[git pull] Please pull powerpc.git merge branch

2008-08-17 Thread Paul Mackerras
Linus, Please pull from the 'merge' branch of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git merge to get fixes for various bugs on powerpc, as listed below. Thanks, Paul. arch/powerpc/include/asm/hvcall.h | 22 + arch/powerpc/include/asm/irqflags.h

[PATCH 2/2] powerpc: Make CPU sysfs PMC & cache topology used on 32-bit

2008-08-17 Thread Benjamin Herrenschmidt
The file arch/powerpc/kernel/sysfs.c is currently only compiled for 64-bit kernels. It contain code to register CPU sysdevs in sysfs and add various properties such as cache topology and raw access by root to PMCs. A lot of that can be re-used as is on 32-bits. This makes the file built for both,

Re: [Bugme-new] [Bug 11027] New: random forward time jumps

2008-08-17 Thread Tony Breeds
On Thu, Jul 03, 2008 at 07:02:20PM -0700, Andrew Morton wrote: > On Fri, 4 Jul 2008 11:50:22 +1000 Tony Breeds <[EMAIL PROTECTED]> wrote: > > > On Thu, Jul 03, 2008 at 05:59:32PM -0700, Andrew Morton wrote: > > > > > Nope, the only account matching .*ppc.* and .*power.* is > > > [EMAIL PROTECTED

[PATCH 1/2] powerpc: Turn get/set_hard_smp_proccessor_id into inlines

2008-08-17 Thread Benjamin Herrenschmidt
They don't need to be macros, and having them as inline functions avoids warnings about unused variables on some configurations when the argument isn't evaluated. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/smp.h | 39 +

[PATCH] Fix memory leak in arch/powerpc/sysdev/qe_lib/uuc_fast.c ucc_fast_init()

2008-08-17 Thread Tony Breeds
In kernel bugzilla 11364 Daniel Marjamäki notes that if the an the ioremap fails we'll return -ENOMEM without kfree()ing uccf. Add a kfree on the error path. Signed-off-by: Tony Breeds <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/qe_lib/ucc_fast.c |1 + 1 files changed, 1 insertions(+), 0 del

Re: bug in lmb_enforce_memory_limit()

2008-08-17 Thread David Miller
From: Michael Ellerman <[EMAIL PROTECTED]> Date: Mon, 18 Aug 2008 12:00:32 +1000 > Although I can't find a system with holes (the newer hypervisors make > things look contiguous I think), so I can't really test the interesting > case. I have several so I'll make sure it works in such cases :) ___

Re: bug in lmb_enforce_memory_limit()

2008-08-17 Thread Michael Ellerman
On Fri, 2008-08-15 at 19:57 -0700, David Miller wrote: > From: Michael Ellerman <[EMAIL PROTECTED]> > Date: Sat, 16 Aug 2008 10:46:22 +1000 > > > On Fri, 2008-08-15 at 15:25 -0700, David Miller wrote: > > > Sounds great. Mind if I push the following to Linus? > > > > Looks good to me. > > > > I

Re: [PATCH 1/3] powerpc: make CMO paging space pool ID and page size available

2008-08-17 Thread Paul Mackerras
Robert Jennings writes: > During platform setup, save off the primary/secondary paging space pool IDs > and the page size. Added accessors in hvcall.h for these variables. > > Submitted-by: Robert Jennings <[EMAIL PROTECTED]> What's this "Submitted-by"? Did you mean to type "Signed-off-by"? P

[PATCH] ibm_newemac: Don't call dev_mc_add() before device is registered

2008-08-17 Thread Benjamin Herrenschmidt
We must not call dev_mc_add() from within our HW configure which happens before we initialize and register the netdev. Do it in open() instead. Thanks to Sebastian Siewior for tracking it down. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- This fixes an uninitialized spinlock wa

Re: [PATCH] powerpc: 85xx: add proper OF bus ids for the TQM85xx

2008-08-17 Thread Jon Loeliger
> Wolfgang Grandegger wrote: > > Jon Loeliger wrote: > >> > >> H. While you are there, I think you should drop > >> the "8548" part of "soc8548" to get just "[EMAIL PROTECTED]". > > > > Well, right. I'm going to check the tqm8548.dts file more carefully. > > Looking into 2.6.27-rc3, I rea

Re: [PATCH] powerpc: 85xx: add proper OF bus ids for the TQM85xx

2008-08-17 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: > Jon Loeliger wrote: >> Wolfgang Grandegger wrote: >> >>> Ah, I see. For the TQM8548 adding the following compatible line: >>> >>> [EMAIL PROTECTED] { >>> ... >>> compatible = "fsl,mpc8548-immr", "simple-bus"; >>> >> >> >> H. While you are

[PATCH] powerpc: 85xx: TQM8548: DTS file fixes and cleanup

2008-08-17 Thread Wolfgang Grandegger
Due to the missing compatible property for the SOC, the MPC I2C buses are not found any more. This patch fixes this issue. Furthermore it corrects the name of the SOC node and adds the missing I2C node for the RTC. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/t