linux_dsm_epyc7002/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 treewide: replace obsolete _refok by __ref 2016-08-02 17:31:41 -04:00
checksum_32.S powerpc/32: Fix again csum_partial_copy_generic() 2016-09-08 13:15:02 +10:00
checksum_64.S powerpc/lib: Clarify that adde is an instruction and we mean plural 2016-07-15 20:18:37 +10:00
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 powerpc/32: Fix crash during static key init 2016-08-10 19:41:58 +10:00
hweight_64.S
ldstfp.S
locks.c powerpc/spinlock: Fix spin_unlock_wait() 2016-06-14 16:05:44 +10:00
Makefile
mem_64.S
memcmp_64.S
memcpy_64.S
memcpy_power7.S
ppc_ksyms.c
rheap.c powerpc: Various typo fixes 2016-06-14 13:58:26 +10:00
sstep.c
string_64.S
string.S
usercopy_64.c
vmx-helper.c powerpc: Introduce asm-prototypes.h 2016-06-16 22:39:54 +10:00
xor_vmx.c