# git rev-parse -q --verify 3702a0585e64d70d5bf73bf3e943b8d6005b72c1^{commit} 3702a0585e64d70d5bf73bf3e943b8d6005b72c1 already have revision, skipping fetch # git checkout -q -f -B kisskb 3702a0585e64d70d5bf73bf3e943b8d6005b72c1 # git clean -qxdf # < git log -1 # commit 3702a0585e64d70d5bf73bf3e943b8d6005b72c1 # Author: Brijesh Singh # Date: Wed Aug 15 16:11:25 2018 -0500 # # crypto: ccp - add timeout support in the SEV command # # Currently, the CCP driver assumes that the SEV command issued to the PSP # will always return (i.e. it will never hang). But recently, firmware bugs # have shown that a command can hang. Since of the SEV commands are used # in probe routines, this can cause boot hangs and/or loss of virtualization # capabilities. # # To protect against firmware bugs, add a timeout in the SEV command # execution flow. If a command does not complete within the specified # timeout then return -ETIMEOUT and stop the driver from executing any # further commands since the state of the SEV firmware is unknown. # # Cc: Tom Lendacky # Cc: Gary Hook # Cc: Herbert Xu # Cc: linux-kernel@vger.kernel.org # Signed-off-by: Brijesh Singh # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 3702a0585e64d70d5bf73bf3e943b8d6005b72c1 # < 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:48.441147