# git rev-parse -q --verify e6037a753e8e9a4146f7d94c32eb30a6717c9c70^{commit} e6037a753e8e9a4146f7d94c32eb30a6717c9c70 already have revision, skipping fetch # git checkout -q -f -B kisskb e6037a753e8e9a4146f7d94c32eb30a6717c9c70 # git clean -qxdf # < git log -1 # commit e6037a753e8e9a4146f7d94c32eb30a6717c9c70 # Author: Jason A. Donenfeld # Date: Thu Oct 15 01:02:09 2020 +0200 # # 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: 70d65cd555c5 ("ppc: propagate the calling conventions change down to csum_partial_copy_generic()") # Cc: Al Viro # Signed-off-by: Jason A. Donenfeld # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e6037a753e8e9a4146f7d94c32eb30a6717c9c70 # < make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x5E5C7A5A # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- kernel/bpf/core.o: warning: objtool: ___bpf_prog_run()+0x18f7: call without frame pointer save/setup vmlinux.o: warning: objtool: do_machine_check()+0x95b: call to mce_panic() leaves .noinstr.text section vmlinux.o: warning: objtool: lock_is_held_type()+0x67: call to check_flags() leaves .noinstr.text section arch/x86/tools/insn_decoder_test: success: Decoded and checked 5426556 instructions arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random instructions with 0 errors (seed:0xdbbf1456) Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:06:46.509144