# git rev-parse -q --verify 1358c13a48c43f5e4de0c1835291837a27b9720c^{commit} 1358c13a48c43f5e4de0c1835291837a27b9720c already have revision, skipping fetch # git checkout -q -f -B kisskb 1358c13a48c43f5e4de0c1835291837a27b9720c # git clean -qxdf # < git log -1 # commit 1358c13a48c43f5e4de0c1835291837a27b9720c # Author: Gilad Ben-Yossef # Date: Thu Feb 7 15:36:11 2019 +0200 # # crypto: ccree - fix resume race condition on init # # We were enabling autosuspend, which is using data set by the # hash module, prior to the hash module being inited, casuing # a crash on resume as part of the startup sequence if the race # was lost. # # This was never a real problem because the PM infra was using low # res timers so we were always winning the race, until commit 8234f6734c5d # ("PM-runtime: Switch autosuspend over to using hrtimers") changed that :-) # # Fix this by seperating the PM setup and enablement and doing the # latter only at the end of the init sequence. # # Signed-off-by: Gilad Ben-Yossef # Cc: Vincent Guittot # Cc: stable@kernel.org # v4.20 # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 1358c13a48c43f5e4de0c1835291837a27b9720c # < make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_PERF_EVENTS=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Completed OK # rm -rf /kisskb/build/crypto_powernv_defconfig+NO_PERF_ppc64le-gcc5 # Build took: 0:02:35.277293