Re: Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Geert Uytterhoeven
On Mon, Nov 12, 2012 at 9:58 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.7-rc5 to v3.7-rc4[3], the summaries are: > - build errors: +14/-4 14 regressions: + drivers/virt/fsl_hypervisor.c: error: 'MSR_GS' undeclared (first use in this function): => 799:93 + error: No rule to mak

[PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2012-11-12 Thread Stephen Rothwell
Make if easier for more architectures to select it and thus disable drivers that use virt_to_bus(). Signed-off-by: Stephen Rothwell --- arch/Kconfig |7 +++ arch/powerpc/Kconfig |4 +--- arch/sh/Kconfig |4 +--- arch/sparc/Kconfig |4 +--- 4 files changed, 10 i

[PATCH] powerpc: change free_bootmem() to kfree()

2012-11-12 Thread Joonsoo Kim
commit ea96025a('Don't use alloc_bootmem() in init_IRQ() path') changed alloc_bootmem() to kzalloc(), but missed to change free_bootmem() to kfree(). So correct it. Signed-off-by: Joonsoo Kim diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.

hoo boy, interrupt Handling on BGQ

2012-11-12 Thread Jimi Xenidis
So interrupts need to go to FW before Linux, please let not talk about how silly that is. Lets talk about something far more silly... In order to get to the Linux exception handlers, we have to tell FW where the interrupt page is, and then it _copies_ it. IFAICT, this means that each vectors on

Re: [PATCH] Centralise CONFIG_ARCH_NO_VIRT_TO_BUS

2012-11-12 Thread David Miller
From: Stephen Rothwell Date: Tue, 13 Nov 2012 08:26:15 +1100 > Make if easier for more architectures to select it and thus disable > drivers that use virt_to_bus(). > > Signed-off-by: Stephen Rothwell Acked-by: David S. Miller ___ Linuxppc-dev maili

[PATCH] drivers/virt: fix dependency on FSL booke hv management driver

2012-11-12 Thread Scott Wood
If built on non-booke, the build will fail looking for MSR_GS as reported here: https://lists.ozlabs.org/pipermail/linuxppc-dev/2012-November/101944.html Signed-off-by: Scott Wood Reported-by: Geert Uytterhoeven Cc: Timur Tabi --- Timur, I thought we were going to get rid of that MSR_GS check..

Re: Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Scott Wood
On 11/12/2012 03:02:46 PM, Geert Uytterhoeven wrote: On Mon, Nov 12, 2012 at 9:58 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.7-rc5 to v3.7-rc4[3], the summaries are: > - build errors: +14/-4 14 regressions: + drivers/virt/fsl_hypervisor.c: error: 'MSR_GS' undeclared (first use

Re: [PATCH] drivers/virt: fix dependency on FSL booke hv management driver

2012-11-12 Thread Timur Tabi
Scott Wood wrote: > If built on non-booke, the build will fail looking for MSR_GS as reported > here: > https://lists.ozlabs.org/pipermail/linuxppc-dev/2012-November/101944.html > > Signed-off-by: Scott Wood > Reported-by: Geert Uytterhoeven > Cc: Timur Tabi > --- > Timur, I thought we were go

Re: Build regressions/improvements in v3.7-rc5

2012-11-12 Thread Stephen Rothwell
Hi Geert, Thanks for these reports! On Mon, 12 Nov 2012 22:02:46 +0100 Geert Uytterhoeven wrote: > > + error: relocation truncated to fit: R_PPC64_REL24 against symbol > `._mcount' defined in .text section in arch/powerpc/kernel/entry_64.o: > (.text+0x1ff9eb8) => (.text+0x1ffa274), (.text+0x1

Re: hoo boy, interrupt Handling on BGQ

2012-11-12 Thread Benjamin Herrenschmidt
On Mon, 2012-11-12 at 15:33 -0600, Jimi Xenidis wrote: > So interrupts need to go to FW before Linux, please let not talk about how > silly that is. > Lets talk about something far more silly... > In order to get to the Linux exception handlers, we have to tell FW where the > interrupt page is, a