Re: Revert "powerpc/64: Fix checksum folding in csum_add()"

2018-05-21 Thread Michael Ellerman
48: 7c 80 22 14 add r4,r0,r4 > 24c: 78 83 00 20 clrldi r3,r4,32 > 250: 4e 80 00 20 blr > > Fixes: 6ad966d7303b7 ("powerpc/64: Fix checksum folding in csum_add()") > Signed-off-by: Christophe Leroy > Acked-by: Paul Mackerras Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/96f391cf40ee5c9201cc7b55abe390 cheers

Re: [PATCH] Revert "powerpc/64: Fix checksum folding in csum_add()"

2018-05-17 Thread Segher Boessenkool
On Tue, Apr 10, 2018 at 08:34:37AM +0200, Christophe Leroy wrote: > This reverts commit 6ad966d7303b70165228dba1ee8da1a05c10eefe. > > That commit was pointless, because csum_add() sums two 32 bits > values, so the sum is 0x1fffe at the maximum. > And then when adding upper part (1) and lower p

Re: [PATCH] Revert "powerpc/64: Fix checksum folding in csum_add()"

2018-05-16 Thread Paul Mackerras
48: 7c 80 22 14 add r4,r0,r4 > 24c: 78 83 00 20 clrldi r3,r4,32 > 250: 4e 80 00 20 blr > > Fixes: 6ad966d7303b7 ("powerpc/64: Fix checksum folding in csum_add()") > Signed-off-by: Christophe Leroy Seems I was right first time... :) Acked-by: Paul Mackerras

[PATCH] Revert "powerpc/64: Fix checksum folding in csum_add()"

2018-04-09 Thread Christophe Leroy
add r4,r4,r3 244: 78 80 00 22 rldicl r0,r4,32,32 248: 7c 80 22 14 add r4,r0,r4 24c: 78 83 00 20 clrldi r3,r4,32 250: 4e 80 00 20 blr Fixes: 6ad966d7303b7 ("powerpc/64: Fix checksum folding in csum_add()") Signed-off-by: Christophe Leroy --- arch/p

Re: [PATCH] powerpc/64: Fix checksum folding in csum_add

2018-03-29 Thread LEROY Christophe
Paul Mackerras a écrit : On Tue, Mar 27, 2018 at 05:22:32PM +0200, LEROY Christophe wrote: Shile Zhang a écrit : >fix the missed point in Paul's patch: >"powerpc/64: Fix checksum folding in csum_tcpudp_nofold and >ip_fast_csum_nofold" > >Signed-off-by: Shile Zhang >--- > arch/powerpc/includ

Re: [PATCH] powerpc/64: Fix checksum folding in csum_add

2018-03-28 Thread Paul Mackerras
On Tue, Mar 27, 2018 at 05:22:32PM +0200, LEROY Christophe wrote: > Shile Zhang a écrit : > > >fix the missed point in Paul's patch: > >"powerpc/64: Fix checksum folding in csum_tcpudp_nofold and > >ip_fast_csum_nofold" > > > >Signed-off-by: Shile Zhang > >--- > > arch/powerpc/include/asm/checks

Re: [PATCH] powerpc/64: Fix checksum folding in csum_add

2018-03-27 Thread LEROY Christophe
Shile Zhang a écrit : fix the missed point in Paul's patch: "powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold" Signed-off-by: Shile Zhang --- arch/powerpc/include/asm/checksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/inc

Re: powerpc/64: Fix checksum folding in csum_add

2017-03-07 Thread Michael Ellerman
On Sat, 2017-02-04 at 09:03:40 UTC, Shile Zhang wrote: > fix the missed point in Paul's patch: > "powerpc/64: Fix checksum folding in csum_tcpudp_nofold and > ip_fast_csum_nofold" > > Signed-off-by: Shile Zhang > Acked-by: Paul Mackerras Applied to powerpc fixes, thanks. https://git.kernel.org

Re: [PATCH] powerpc/64: Fix checksum folding in csum_add

2017-03-02 Thread Paul Mackerras
On Sat, Feb 04, 2017 at 05:03:40PM +0800, Shile Zhang wrote: > fix the missed point in Paul's patch: > "powerpc/64: Fix checksum folding in csum_tcpudp_nofold and > ip_fast_csum_nofold" > > Signed-off-by: Shile Zhang Acked-by: Paul Mackerras

[PATCH] powerpc/64: Fix checksum folding in csum_add

2017-02-04 Thread Shile Zhang
fix the missed point in Paul's patch: "powerpc/64: Fix checksum folding in csum_tcpudp_nofold and ip_fast_csum_nofold" Signed-off-by: Shile Zhang --- arch/powerpc/include/asm/checksum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/checksum.h b/arc