Re: [PATCH 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-08 Thread Luis Henriques
Hi, On Sun, Feb 07, 2016 at 10:26:51AM -0800, Joe Perches wrote: > On Sun, 2016-02-07 at 17:38 +0000, Luis Henriques wrote: > > Instead of defining a local version of struct ethhdr use the standard > > definition from . > > trivia: > > > diff --git a/arch/powe

Re: [PATCH 0/4] powerpc/ps3: gelic_udbg: drop local versions of network data structs

2016-02-08 Thread Luis Henriques
On Mon, Feb 08, 2016 at 09:31:21AM +0100, Geert Uytterhoeven wrote: > On Sun, Feb 7, 2016 at 6:38 PM, Luis Henriques > <luis.henriq...@canonical.com> wrote: > > Several network-related data structures are defined in gelic_udbg. > > These could be easily dropped and t

[PATCH v2 2/4] powerpc/ps3: gelic_udbg: use struct vlan_hdr from

2016-02-08 Thread Luis Henriques
Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c b/arch/powerpc/platforms/ps3/gelic_udbg.c index f11059e1ec35..

[PATCH v2 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-08 Thread Luis Henriques
a memset) - ETH_ALEN - ETH_P_8021Q Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c b/arch/powerp

[PATCH v2 4/4] powerpc/ps3: gelic_udbg: use struct udphdr from

2016-02-08 Thread Luis Henriques
Instead of defining a local version of struct udphdr use the standard definition from . The 'src' field is named 'source' in the definition. Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 10 ++ 1 file changed, 2 inse

[PATCH v2 0/4] powerpc/ps3: gelic_udbg: drop local versions of network data structs

2016-02-08 Thread Luis Henriques
only. Changes since v1: Include changes suggested by Joe Perches, namely the usage of eth_broadcast_addr(), ETH_ALEN, ETH_P_8021Q and ETH_P_IP. Luis Henriques (4): powerpc/ps3: gelic_udbg: use struct ethhdr from powerpc/ps3: gelic_udbg: use struct vlan_hdr from powerpc/ps3: gelic_udbg: use

[PATCH v2 3/4] powerpc/ps3: gelic_udbg: use struct iphdr from

2016-02-08 Thread Luis Henriques
rsion' and 'ihl' in . Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c b/arch/powerpc/platforms/p

[PATCH 4/4] powerpc/ps3: gelic_udbg: use struct udphdr from

2016-02-07 Thread Luis Henriques
Instead of defining a local version of struct udphdr use the standard definition from . The 'src' field is named 'source' in the definition. Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 10 ++ 1 file changed, 2 inse

[PATCH 0/4] powerpc/ps3: gelic_udbg: drop local versions of network data structs

2016-02-07 Thread Luis Henriques
only. Luis Henriques (4): powerpc/ps3: gelic_udbg: use struct ethhdr from powerpc/ps3: gelic_udbg: use struct vlan_hdr from powerpc/ps3: gelic_udbg: use struct iphdr from powerpc/ps3: gelic_udbg: use struct udphdr from arch/powerpc/platforms/ps3/gelic_udbg.c | 71

[PATCH 2/4] powerpc/ps3: gelic_udbg: use struct vlan_hdr from

2016-02-07 Thread Luis Henriques
Instead of defining the local struct vlantag use the standard definition of vlan_hdr from . The fields in the definition have different names: - vlan -> h_vlan_TCI - subtype -> h_vlan_encapsulated_proto Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/power

[PATCH 3/4] powerpc/ps3: gelic_udbg: use struct iphdr from

2016-02-07 Thread Luis Henriques
rsion' and 'ihl' in . Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerpc/platforms/ps3/gelic_udbg.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c b/arch/powerpc/platforms/p

[PATCH 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-07 Thread Luis Henriques
Instead of defining a local version of struct ethhdr use the standard definition from . The fields in the definition have different names: - dest -> h_dest - src -> h_source - type -> h_proto Signed-off-by: Luis Henriques <luis.henriq...@canonical.com> --- arch/powerp

Re: [RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers

2016-02-05 Thread Luis Henriques
On Mon, Jan 25, 2016 at 09:22:58AM -0500, Pranith Kumar wrote: > In 4.5-rc1, I am getting a build failure as follows: > > mm/memory.c: In function ‘do_swap_page’: > mm/memory.c:2573:9: error: implicit declaration of function ‘pte_mksoft_dirty’ > [-Werror=implicit-function-declaration] >pte =

Re: [PATCH] macintosh/ans-lcd: fix build failure after module_init/exit relocation

2015-07-20 Thread Luis Henriques
On Sat, Jul 18, 2015 at 07:45:17PM -0400, Paul Gortmaker wrote: [[PATCH] macintosh/ans-lcd: fix build failure after module_init/exit relocation] On 17/07/2015 (Fri 14:20) Luis Henriques wrote: After commit 0fd972a7d91d (module: relocate module_init from init.h to module.h) ans-lcd

[PATCH] macintosh/ans-lcd: fix build failure after module_init/exit relocation

2015-07-17 Thread Luis Henriques
. Fixes: 0fd972a7d91d (module: relocate module_init from init.h to module.h) Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- drivers/macintosh/ans-lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c index

[PATCH 3.16.y-ckt 078/144] timers/tick/broadcast-hrtimer: Fix suspicious RCU usage in idle loop

2015-04-21 Thread Luis Henriques
...@kernel.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- kernel/time/tick-broadcast-hrtimer.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kernel/time/tick-broadcast-hrtimer.c b/kernel/time/tick-broadcast-hrtimer.c index eb682d5c697c..6aac4beedbbe

Re: stable: Please include commit bb344ca5b90 (powerpc/mpc85xx: Add ranges to etsec2 nodes)

2015-03-30 Thread Luis Henriques
On Thu, Mar 26, 2015 at 04:14:27PM -0500, Scott Wood wrote: Commit bb344ca5b90df6 (powerpc/mpc85xx: Add ranges to etsec2 nodes) fixes a bug that was exposed by commit 746c9e9f92dd (of/base: Fix PowerPC address parsing hack). The latter commit was applied to stable trees, so the former should

[3.16.y-ckt stable] Patch timers/tick/broadcast-hrtimer: Fix suspicious RCU usage in idle loop has been added to staging queue

2015-03-30 Thread Luis Henriques
://lkml.kernel.org/r/20150318104705.17763.56668.st...@preeti.in.ibm.com Signed-off-by: Ingo Molnar mi...@kernel.org Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- kernel/time/tick-broadcast-hrtimer.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kernel/time

[PATCH 3.16.y-ckt 175/216] powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode

2015-01-12 Thread Luis Henriques
: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michael Ellerman m...@ellerman.id.au Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/include/asm/reg.h| 2 ++ arch/powerpc/kernel/idle_power7.S | 18 +- 2 files changed, 19 insertions(+), 1 deletion

[3.16.y-ckt stable] Patch powerpc/powernv: Switch off MMU before entering nap/sleep/rvwinkle mode has been added to staging queue

2015-01-07 Thread Luis Henriques
...@linux.vnet.ibm.com Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Michael Ellerman m...@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michael Ellerman m...@ellerman.id.au Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/include/asm/reg.h| 2

Re: [PATCH] powerpc: thp: Fix crash on mremap

2014-02-03 Thread Luis Henriques
On Tue, Jan 28, 2014 at 05:47:03PM +0530, Aneesh Kumar K.V wrote: This patch fix the below crash NIP [c004cee4] .__hash_page_thp+0x2a4/0x440 LR [c00439ac] .hash_page+0x18c/0x5e0 ... Call Trace: [c00736103c40] [1b00] 0x1b00(unreliable)

[PATCH] powerpc: Fix build dependencies for ep88xc

2014-01-20 Thread Luis Henriques
build board support files when required.) Cc: Tony Breeds t...@bakeyournoodle.com Cc: sta...@vger.kernel.org (3.6+) Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/Makefile

[PATCH] powerpc: Fix build dependencies for storcenter

2014-01-20 Thread Luis Henriques
when required.) Cc: Tony Breeds t...@bakeyournoodle.com Cc: sta...@vger.kernel.org (3.6+) Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/boot/Makefile | 2 +- arch/powerpc/boot/wrapper | 5 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch

Re: [PATCH] powerpc: fix numa distance for form0 device tree

2013-05-08 Thread Luis Henriques
On Tue, May 07, 2013 at 01:49:34PM +1000, Michael Ellerman wrote: From: Vaidyanathan Srinivasan sva...@linux.vnet.ibm.com Commit 7122b7bc1757682049780179d7c216dd1c83 upstream. Thanks, I'm queuing it for the 3.5 kernel. Cheers, -- Luis ___

[PATCH 014/139] uprobes/powerpc: Add dependency on single step emulation

2013-02-28 Thread Luis Henriques
-by: Benjamin Herrenschmidt b...@kernel.crashing.org [ luis: adjust context ] Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/Kconfig | 4 arch/powerpc/lib/Makefile | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch

[ 3.5.y.z extended stable ] Patch uprobes/powerpc: Add dependency on single step emulation has been added to staging queue

2013-02-26 Thread Luis Henriques
-...@ozlabs.org Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org [ luis: adjust context ] Signed-off-by: Luis Henriques luis.henriq...@canonical.com --- arch/powerpc/Kconfig | 4 arch/powerpc/lib/Makefile | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch