[PATCH 2/2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_FSL_SOC_BOOKE

2012-05-07 Thread Shaohui Xie
CONFIG_FSL_BOOKE is only defined in 32-bit, CONFIG_FSL_SOC_BOOKE is defined in both 32-bit and 64-bit, so use CONFIG_FSL_SOC_BOOKE to make diver work in 32-bit & 64-bit. Signed-off-by: Shaohui Xie --- drivers/watchdog/Kconfig |8 drivers/watchdog/booke_wdt.c |4 ++-- 2 files

[PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-05-07 Thread Shaohui Xie
Currently, BOOKE watchdog code for checking "wdt" and "wdt_period" is in setup_32.c, it cannot be used in 64-bit, so move it to a common place prom.c, which will be shared by 32-bit and 64-bit. Also, replace the simple_strtoul with kstrtol. Signed-off-by: Shaohui Xie --- arch/powerpc/kernel/pro

Re: [PATCH] powerpc: fix compile fail in hugetlb cmdline parsing

2012-05-07 Thread Rusty Russell
On Mon, 7 May 2012 10:32:22 -0400, Paul Gortmaker wrote: > Commit 9fb48c744ba6a4bf58b666f4e6fdac3008ea1bd4 > > "params: add 3rd arg to option handler callback signature" > > added an extra arg to the function, but didn't catch all the use > cases needing it, causing this compile fail in mp

Re: [PATCH] powerpc: use local var instead of local_paca->irq_happened directly in __check_irq_replay

2012-05-07 Thread Benjamin Herrenschmidt
Hi Wang ! Does this patch fixes it for you ? >From 249f8649bf95a4c3e6637284754a165c1d83c394 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Tue, 8 May 2012 13:31:59 +1000 Subject: [PATCH 2/3] powerpc/irq: Fix bug with new lazy IRQ handling code We had a case where we could turn on h

Re: linux-next oops in windfarm startup

2012-05-07 Thread Hugh Dickins
On Tue, 8 May 2012, Benjamin Herrenschmidt wrote: > On Mon, 2012-05-07 at 08:57 -0700, Hugh Dickins wrote: > > Hi Ben, > > > > 3.4.0-rc5-next-20120504 and 3.4.0-rc6-next-20120507 > > crash while booting the PowerMac G5: I have to revert > > your commit e326b3

Re: linux-next oops in windfarm startup

2012-05-07 Thread Benjamin Herrenschmidt
On Mon, 2012-05-07 at 08:57 -0700, Hugh Dickins wrote: > Hi Ben, > > 3.4.0-rc5-next-20120504 and 3.4.0-rc6-next-20120507 > crash while booting the PowerMac G5: I have to revert > your commit e326b30fda9985a2e7fda6fb9212b86bf025c39 > powerpc/pmac: Convert windfarm_smu_sat to ne

Re: linux-next ppc64: RCU mods cause __might_sleep BUGs

2012-05-07 Thread Hugh Dickins
On Mon, 7 May 2012, Paul E. McKenney wrote: > On Mon, May 07, 2012 at 09:21:54AM -0700, Hugh Dickins wrote: > > > > In 70 hours I got six isolated messages like the below (but from > > different __might_sleep callsites) - where before I'd have flurries > > of hundreds(?) and freeze within the hour

[PATCH 17/21] powerpc/PCI: register busn_res for root buses

2012-05-07 Thread Yinghai Lu
Add the host bridge bus number aperture to the resource list. Like the MMIO and I/O port apertures, this is used when assigning resources to hot-added devices or in the case of conflicts. [bhelgaas: write changelog] Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: lin

Re: linux-next ppc64: RCU mods cause __might_sleep BUGs

2012-05-07 Thread Paul E. McKenney
On Mon, May 07, 2012 at 09:21:54AM -0700, Hugh Dickins wrote: > On Wed, 2 May 2012, Hugh Dickins wrote: > > On Wed, 2 May 2012, Paul E. McKenney wrote: > > > > > > In any case, I must confess that I feel quite silly about my series > > > of patches. I have reverted them aside from a couple that d

spufs: possible circular locking dependency detected

2012-05-07 Thread masterzorag
I'm running my test program, it uses all available spus to compute via OpenCL kernel 3.4-rc1 on a ps3 even on testing spu directly, it crashes == [ INFO: possible circular locking dependency detected ] 3.4.0-rc1 #2 Not tainted -

Re: linux-next ppc64: RCU mods cause __might_sleep BUGs

2012-05-07 Thread Hugh Dickins
On Wed, 2 May 2012, Hugh Dickins wrote: > On Wed, 2 May 2012, Paul E. McKenney wrote: > > > > In any case, I must confess that I feel quite silly about my series > > of patches. I have reverted them aside from a couple that did useful > > optimizations, and they should show up in -next shortly. >

Re: linux-next oops in windfarm startup

2012-05-07 Thread Benjamin Herrenschmidt
On Mon, 2012-05-07 at 08:57 -0700, Hugh Dickins wrote: > Hi Ben, > > 3.4.0-rc5-next-20120504 and 3.4.0-rc6-next-20120507 > crash while booting the PowerMac G5: I have to revert > your commit e326b30fda9985a2e7fda6fb9212b86bf025c39 > powerpc/pmac: Convert windfarm_smu_sat to ne

linux-next oops in windfarm startup

2012-05-07 Thread Hugh Dickins
Hi Ben, 3.4.0-rc5-next-20120504 and 3.4.0-rc6-next-20120507 crash while booting the PowerMac G5: I have to revert your commit e326b30fda9985a2e7fda6fb9212b86bf025c39 powerpc/pmac: Convert windfarm_smu_sat to new i2c probing to get a working system. Actual oops message scrolled off screen, and I

Re: [PATCH EDACv16 1/2] edac: Change internal representation to work with layers, second version

2012-05-07 Thread Mauro Carvalho Chehab
Em 07-05-2012 10:32, Borislav Petkov escreveu: > breaking thread because it grew too big. > > On Fri, May 04, 2012 at 07:48:42AM -0300, Mauro Carvalho Chehab wrote: > > [ … ] > >> +memset(&pos, 0, sizeof(pos)); >> +row = 0; >> +chn = 0; >> +debugf4("%s: initializing %d %s\n", __f

[PATCH] powerpc: fix compile fail in hugetlb cmdline parsing

2012-05-07 Thread Paul Gortmaker
Commit 9fb48c744ba6a4bf58b666f4e6fdac3008ea1bd4 "params: add 3rd arg to option handler callback signature" added an extra arg to the function, but didn't catch all the use cases needing it, causing this compile fail in mpc85xx_defconfig: arch/powerpc/mm/hugetlbpage.c:316:4: error: passing a

Re: [PATCH EDACv16 1/2] edac: Change internal representation to work with layers, second version

2012-05-07 Thread Borislav Petkov
breaking thread because it grew too big. On Fri, May 04, 2012 at 07:48:42AM -0300, Mauro Carvalho Chehab wrote: [ … ] > + memset(&pos, 0, sizeof(pos)); > + row = 0; > + chn = 0; > + debugf4("%s: initializing %d %s\n", __func__, tot_dimms, > + per_rank ? "ranks" : "dim