Re: [PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Uwe Kleine-König
Hello Guenter, On Sun, Aug 10, 2014 at 11:42:41AM -0700, Guenter Roeck wrote: > On 08/10/2014 11:36 AM, Uwe Kleine-König wrote: > >On Sun, Aug 10, 2014 at 09:19:14AM -0700, Guenter Roeck wrote: > >>powerpc:mpc83xx_defconfig and other builds fail with > >> > >>drivers/net/ethernet/freescale/ucc_get

Re: [PATCH] net: ucc_geth: fix build failure

2014-08-10 Thread David Miller
From: Uwe Kleine-König Date: Sun, 10 Aug 2014 20:32:05 +0200 > My series to fix the reference counting of dt nodes introduced a build > failure. Fix it. > > Fixes: fa310789a488 ("net: ucc_geth: drop acquired references in probe error > path and remove") > Signed-off-by: Uwe Kleine-König Appli

[PATCH] powerpc/boot: Use correct zlib types for comparison

2014-08-10 Thread Benjamin Herrenschmidt
Avoids this warning: arch/powerpc/boot/gunzip_util.c:118:9: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/boot/gunzip_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/gunzip_util

Re: [tip:timers/core] timekeeping: Fixup typo in update_vsyscall_old definition

2014-08-10 Thread Benjamin Herrenschmidt
On Wed, 2014-07-30 at 00:31 -0700, tip-bot for John Stultz wrote: > Commit-ID: 953dec21aed4038464fec02f96a2f1b8701a5bce > Gitweb: http://git.kernel.org/tip/953dec21aed4038464fec02f96a2f1b8701a5bce > Author: John Stultz > AuthorDate: Fri, 25 Jul 2014 21:37:19 -0700 > Committer: Thomas Gle

Re: [PATCH v3] powerpc/kvm: support to handle sw breakpoint

2014-08-10 Thread Madhavan Srinivasan
On Sunday 03 August 2014 09:21 PM, Segher Boessenkool wrote: >> +/* >> + * KVMPPC_INST_BOOK3S_DEBUG is debug Instruction for supporting Software >> Breakpoint. >> + * Based on PowerISA v2.07, Instruction with opcode 0s will be treated as >> illegal >> + * instruction. >> + */ > > "primary opcode

Re: [PATCH 4/14] powerpc/pseries: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Of_node_put supports NULL as its argument, so the initial test is not > necessary. > > Suggested by Uwe Kleine-König. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > >

Re: [PATCH] powerpc: non-GPL export for eeh_dev_check_failure

2014-08-10 Thread Benjamin Herrenschmidt
On Tue, 2014-08-05 at 15:51 +0100, One Thousand Gnomes wrote: > On Tue, 05 Aug 2014 20:12:09 +0530 > Vishal Mansur wrote: > > > EEH kernel services are inconsistently exported by the > > kernel. eeh_check_failure is exported for any use, but > > eeh_dev_check_failure is exported only for GPL us

Re: [PATCH 2/2] powerpc/powernv: Remove duplicate check in tce_iommu_bus_notifier()

2014-08-10 Thread Benjamin Herrenschmidt
On Wed, 2014-08-06 at 17:10 +1000, Gavin Shan wrote: > The called function iommu_del_device() checks if the device has > attached IOMMU group, we needn't check it again in the parent > function call tce_iommu_bus_notifier(). The patch does more than that... it also refactors the function, which it

Re: [PATCH 6/14] powerpc/fsl: fsl_soc: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Of_node_put supports NULL as its argument, so the initial test is not > necessary. > > Suggested by Uwe Kleine-König. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > >

Re: [PATCH 7/14] cpu: delete unneeded test before of_node_put

2014-08-10 Thread Benjamin Herrenschmidt
On Fri, 2014-08-08 at 12:07 +0200, Julia Lawall wrote: > From: Julia Lawall > > Simplify the error path to avoid calling of_node_put when it is not needed. > > The semantic patch that finds this problem is as follows: > (http://coccinelle.lip6.fr/) Change the subject to powerpc/4xx/cpm or somet

Re: [PATCH v3 1/2] printk: Add function to return log buffer address and size

2014-08-10 Thread Benjamin Herrenschmidt
On Sat, 2014-08-09 at 11:15 +0530, Vasant Hegde wrote: > Ben, > - This patchset applies cleanly on powerpc next branch. > - Andrew Morton suggested to include this patch in powerpc tree. > (https://lists.ozlabs.org/pipermail/linuxppc-dev/2014-August/119802.html) > Ok, Andrew, can I have

Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

2014-08-10 Thread Stephen Rothwell
Hi Guenter, On Fri, 8 Aug 2014 22:22:12 -0700 Guenter Roeck wrote: > > Once again, we see > > arch/powerpc/kernel/exceptions-64s.S: Assembler messages: > arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org > backwards > arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt

Re: [PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Guenter Roeck
On 08/10/2014 11:36 AM, Uwe Kleine-König wrote: Hello Guenter, On Sun, Aug 10, 2014 at 09:19:14AM -0700, Guenter Roeck wrote: powerpc:mpc83xx_defconfig and other builds fail with drivers/net/ethernet/freescale/ucc_geth.c: In function 'ucc_geth_remove': drivers/net/ethernet/freescale/ucc_geth.c

Re: [PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Uwe Kleine-König
Hello Guenter, On Sun, Aug 10, 2014 at 09:19:14AM -0700, Guenter Roeck wrote: > powerpc:mpc83xx_defconfig and other builds fail with > > drivers/net/ethernet/freescale/ucc_geth.c: In function 'ucc_geth_remove': > drivers/net/ethernet/freescale/ucc_geth.c:3927:19: error: > 'struct ucc_geth_p

[PATCH] net: ucc_geth: fix build failure

2014-08-10 Thread Uwe Kleine-König
My series to fix the reference counting of dt nodes introduced a build failure. Fix it. Fixes: fa310789a488 ("net: ucc_geth: drop acquired references in probe error path and remove") Signed-off-by: Uwe Kleine-König --- Hello, I found a powerpc toolchain now, so this really builds now. Sorry for

Re: [PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Guenter Roeck
Grumble. Headline should be s/ugg/ucc, obviously. Guenter On 08/10/2014 09:19 AM, Guenter Roeck wrote: powerpc:mpc83xx_defconfig and other builds fail with drivers/net/ethernet/freescale/ucc_geth.c: In function 'ucc_geth_remove': drivers/net/ethernet/freescale/ucc_geth.c:3927:19: error:

[PATCH] net: ugg_geth: Fix build error in -next

2014-08-10 Thread Guenter Roeck
powerpc:mpc83xx_defconfig and other builds fail with drivers/net/ethernet/freescale/ucc_geth.c: In function 'ucc_geth_remove': drivers/net/ethernet/freescale/ucc_geth.c:3927:19: error: 'struct ucc_geth_private' has no member named 'info' of_node_put(ugeth->info->tbi_node);

Re: [PATCH 00/20] powerpc/8xx: Optimise MMU TLB handling and add support of 16k pages

2014-08-10 Thread Joakim Tjernlund
This looks really cool! I am on vacation for one more week but I will have a closer look once I get back and things get back to normal. Jocke -Christophe Leroy wrote: - === To: Benjamin Herrenschmidt , Paul Mackerras From: Christophe Leroy Date: 08/0