[PATCH] powerpc: Turn on BPF_JIT in ppc64_defconfig

2012-06-21 Thread Michael Ellerman
Matt added BPF_JIT support in commit 0ca87f05, but currently none of our defconfigs build it. Turn that sucker on. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc64_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/configs/ppc64_defconfig b/arch/powerpc/

[PATCH] powerpc: Fix BPF_JIT code to link with multiple TOCs

2012-06-21 Thread Michael Ellerman
If the kernel is big enough (eg. allyesconfig), the linker may need to switch TOCs when calling from the BPF JIT code out to the external helpers (skb_copy_bits() & bpf_internal_load_pointer_neg_helper()). In order to do that we need to leave space after the bl for the linker to insert a reload of

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Michael Ellerman
On Thu, 2012-06-21 at 21:13 +0930, Alan Modra wrote: > On Thu, Jun 21, 2012 at 08:18:39PM +0930, Alan Modra wrote: > > Linker bug. That's not a sibling call, but a normal function return > > via an out-of-line register restore function. > > I couldn't see how this might be occurring, then I remem

Re: [PATCH] kernel panic during kernel module load (powerpc specific part)

2012-06-21 Thread roger blofeld
--- On Wed, 6/6/12, Steffen Rumler wrote: > From: Steffen Rumler > Subject: [PATCH] kernel panic during kernel module load (powerpc specific > part) > To: "ext Benjamin Herrenschmidt" , pau...@samba.org > Cc: "Wrobel Heinz-R39252" , "Michael Ellerman" > , "linuxppc-dev@lists.ozlabs.org" > >

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Alan Modra
On Thu, Jun 21, 2012 at 08:18:39PM +0930, Alan Modra wrote: > Linker bug. That's not a sibling call, but a normal function return > via an out-of-line register restore function. I couldn't see how this might be occurring, then I remembered the kernel has this horrible practise of using ld -r to p

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Alan Modra
On Thu, Jun 21, 2012 at 05:38:27PM +1000, Michael Ellerman wrote: > On Thu, 2012-06-21 at 17:07 +1000, Michael Ellerman wrote: > > On Thu, 2012-06-21 at 16:24 +1000, Benjamin Herrenschmidt wrote: > > > On Thu, 2012-06-21 at 15:36 +1000, Michael Ellerman wrote: > > > > > > > > powerpc64-linux-ld:

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Michael Ellerman
On Thu, 2012-06-21 at 17:07 +1000, Michael Ellerman wrote: > On Thu, 2012-06-21 at 16:24 +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2012-06-21 at 15:36 +1000, Michael Ellerman wrote: > > > > > > powerpc64-linux-ld: > > > /src/next/net/openvswitch/vport-netdev.c:189:(.text+0x89b990): > > >

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Gabriel Paubert
On Thu, Jun 21, 2012 at 03:36:01PM +1000, Michael Ellerman wrote: > On Wed, 2012-06-20 at 17:50 +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the final tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > powerpc64-linux-ld: arch/powerpc/net/built

Re: linux-next: build failure after merge of the final tree (powerpc related)

2012-06-21 Thread Michael Ellerman
On Thu, 2012-06-21 at 16:24 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2012-06-21 at 15:36 +1000, Michael Ellerman wrote: > > > > powerpc64-linux-ld: > > /src/next/net/openvswitch/vport-netdev.c:189:(.text+0x89b990): > > sibling call optimization to `_restgpr0_28' does not allow > >