linux/arch
Jason A. Donenfeld e6037a753e powerpc32: don't adjust unmoved stack pointer in csum_partial_copy_generic() epilogue
A recent change to the checksum code removed usage of some extra
arguments, alongside with storage on the stack for those, and the stack
pointer no longer needed to be adjusted in the function prologue.

But a left over subtraction wasn't removed in the function epilogue,
causing the function to return with the stack pointer moved 16 bytes
away from where it should have.  This corrupted local state and lead to
weird crashes.

This simply removes the leftover instruction from the epilogue.

Fixes: 70d65cd555 ("ppc: propagate the calling conventions change down to csum_partial_copy_generic()")
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-14 16:04:13 -07:00
..
alpha Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:24:13 -07:00
arc This tree prepares to unify the kretprobe trampoline handler and make 2020-10-12 14:21:15 -07:00
arm IOMMU Updates for Linux v5.10 2020-10-14 12:08:34 -07:00
arm64 Pin control bulk changes for the v5.10 kernel cycle 2020-10-14 15:25:04 -07:00
c6x arch, drivers: replace for_each_membock() with for_each_mem_range() 2020-10-13 18:38:35 -07:00
csky seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00
h8300 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
hexagon Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-10-12 16:24:13 -07:00
ia64 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
m68k kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
microblaze Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
mips Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
nds32 h8300, nds32, openrisc: simplify detection of memory extents 2020-10-13 18:38:35 -07:00
nios2 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
openrisc arch, drivers: replace for_each_membock() with for_each_mem_range() 2020-10-13 18:38:35 -07:00
parisc seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00
powerpc powerpc32: don't adjust unmoved stack pointer in csum_partial_copy_generic() epilogue 2020-10-14 16:04:13 -07:00
riscv Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
s390 Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
sh Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
sparc kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
um seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00
x86 kernel-clone-v5.9 2020-10-14 14:32:52 -07:00
xtensa Merge branch 'akpm' (patches from Andrew) 2020-10-14 09:57:24 -07:00
.gitignore
Kconfig seccomp updates for v5.10-rc1 2020-10-13 16:33:43 -07:00