kernel_optimize_test/arch/powerpc/lib
Christophe Leroy 8540571e01 powerpc/32: Fix again csum_partial_copy_generic()
Commit 7aef413656 ("powerpc32: rewrite csum_partial_copy_generic()
based on copy_tofrom_user()") introduced a bug when destination address
is odd and len is lower than cacheline size.

In that case the resulting csum value doesn't have to be rotated one
byte because the cache-aligned copy part is skipped so no alignment
is performed.

Fixes: 7aef413656 ("powerpc32: rewrite csum_partial_copy_generic() based on copy_tofrom_user()")
Cc: stable@vger.kernel.org # v4.6+
Reported-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Tested-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-09-08 13:15:02 +10:00
..
alloc.c
checksum_32.S
checksum_64.S
checksum_wrappers.c
code-patching.c
copy_32.S
copypage_64.S
copypage_power7.S
copyuser_64.S
copyuser_power7.S
crtsavres.S
div64.S
feature-fixups-test.S
feature-fixups.c
hweight_64.S
ldstfp.S
locks.c
Makefile
mem_64.S
memcmp_64.S
memcpy_64.S
memcpy_power7.S
ppc_ksyms.c
rheap.c
sstep.c
string_64.S
string.S
usercopy_64.c
vmx-helper.c
xor_vmx.c