Re: [PATCH powerpc] fix a lockdep complaint in start_secondary

2012-05-17 Thread Li Zhong
On Thu, 2012-05-17 at 15:52 +0530, Deepthi Dharwar wrote: > On 05/17/2012 09:58 AM, Benjamin Herrenschmidt wrote: > > > On Thu, 2012-05-17 at 12:01 +0800, Li Zhong wrote: > >> This patch tries to fix following lockdep complaints: > > > > .../... > > > >> pseries_notify_cpu_idle_add_cpu() actual

[PATCH] powerpc: fix irq distribution

2012-05-17 Thread Kim Phillips
setting CONFIG_IRQ_ALL_CPUS distributes IRQs to CPUs only when the number of online CPUs equals NR_CPUS. See commit 280ff97494e0fef4124bee5c52e39b23a18dd283 "sparc64: fix and optimize irq distribution" for more details. Using the online mask fixes IRQ-to-CPU distribution on systems that boot with

[PATCH] mtd: Fix typo in Kconfig

2012-05-17 Thread Frank Svendsboe
MTD_OF_PARTS and the default setting is not working due to using 'Y' instead of 'y', introduced in commit d6137badeff1ef64b4e0092ec249ebdeaeb3ff37. This made our board, and possibly other boards using DTS defined partitions and not having CONFIG_MTD_OF_PARTS=y defined in the defconfig, fail to moun

Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Timur Tabi
Scott Wood wrote: > Regardless of the config that shows this, the MSR[GS] check should go > away. If you have a /hypervisor node, you already know you're a guest. Fair enough. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mailing

Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Scott Wood
On 05/17/2012 01:44 PM, Timur Tabi wrote: > Geert Uytterhoeven wrote: >> powerpc randconfig > > Doesn't this generate a different .config every time it's run? Do I keep > generating random .config files until the problem shows up? > Regardless of the config that shows this, the MSR[GS] check sh

Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Timur Tabi
Geert Uytterhoeven wrote: > powerpc randconfig Doesn't this generate a different .config every time it's run? Do I keep generating random .config files until the problem shows up? -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev mai

Re: Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Timur Tabi
Benjamin Herrenschmidt wrote: > + arch/powerpc/platforms/512x/mpc512x_shared.c: error: 'enum >> fsl_diu_monitor_port' declared inside parameter list [-Werror]: => >> 70:9, 84:9, 88:36 >> + arch/powerpc/platforms/512x/mpc512x_shared.c: error: 'return' with >> a value, in function returning void

Re: Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Geert Uytterhoeven
On Thu, May 17, 2012 at 7:52 PM, Tabi Timur-B04825 wrote: > On Thu, May 17, 2012 at 12:30 PM, Timur Tabi wrote: > >> Anyway, I think I see what the problem is, but it does appear when I use >> the normal defconfigs.  What .config was being used? > > I meant to say that it does NOT appear. powerp

Re: Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Tabi Timur-B04825
On Thu, May 17, 2012 at 12:30 PM, Timur Tabi wrote: > Anyway, I think I see what the problem is, but it does appear when I use > the normal defconfigs.  What .config was being used? I meant to say that it does NOT appear. -- Timur Tabi Linux kernel developer at Freescale __

Re: Re: Build regressions/improvements in v3.4-rc7

2012-05-17 Thread Timur Tabi
Benjamin Herrenschmidt wrote: > Thanks. These are all freescale platforms, the relevant people should be > already but I've added Scott and Kumar to the CC list just in case. Seeing how this is my code, I'd say the relevant people were not CC'd. :-) Anyway, I think I see what the problem is, but

ppc/sata-fsl: orphan config value: CONFIG_MPC8315_DS

2012-05-17 Thread Anthony Foiani
Greetings. I was occasionally running into problems at boot time on an MPC8315-based board (derived from the MPC831xRDB, apparently), using SATA to talk to an SSD. My vendor suggested that I enable CONFIG_MPC8315_DS. That symbol is only found once in the entire kernel codebase: $ git checkou

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-05-17 Thread Frank Svendsbøe
On Sun, May 6, 2012 at 4:37 PM, Robert Berger wrote: > On 04/02/2012 09:28 AM, Tony Breeds wrote: >> On Mon, Apr 02, 2012 at 12:01:55PM +1000, Benjamin Herrenschmidt wrote: >> >>> Ok, I've asked Tony to have a look at splitting the build decision >>> in arch/powerpc/boot along the same lines as th

Re: [PATCH powerpc] fix a lockdep complaint in start_secondary

2012-05-17 Thread Deepthi Dharwar
On 05/17/2012 09:58 AM, Benjamin Herrenschmidt wrote: > On Thu, 2012-05-17 at 12:01 +0800, Li Zhong wrote: >> This patch tries to fix following lockdep complaints: > > .../... > >> pseries_notify_cpu_idle_add_cpu() actually does >> cpuidle_disable_device(), and then cpuidle_enable_device(), whi