# 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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 e6037a753e8e9a4146f7d94c32eb30a6717c9c70 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xE5313818 WARNING: unmet direct dependencies detected for FSL_EMB_PERFMON Depends on [n]: E500 [=n] || PPC_83xx [=n] Selected by [y]: - PPC_FSL_BOOK3E [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=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_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4580:warning: override: reassigning to symbol STANDALONE .config:4584:warning: override: reassigning to symbol PPC64 .config:4587:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] # make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] Auto-detecting system features: ... libelf: [ on ] ... zlib: [ on ] ... bpf: [ on ] /usr/bin/env: 'python3': No such file or directory make[4]: *** [Makefile:187: /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9/tools/bpf/resolve_btfids/bpf_helper_defs.h] Error 127 make[4]: *** Deleting file '/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9/tools/bpf/resolve_btfids/bpf_helper_defs.h' make[3]: *** [Makefile:54: /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9/tools/bpf/resolve_btfids//libbpf.a] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:71: bpf/resolve_btfids] Error 2 make[1]: *** [/kisskb/src/Makefile:1877: tools/bpf/resolve_btfids] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc9 # Build took: 0:00:11.671337