# git rev-parse -q --verify 357d065a44cdd77ed5ff35155a989f2a763e96ef^{commit} 357d065a44cdd77ed5ff35155a989f2a763e96ef already have revision, skipping fetch # git checkout -q -f -B kisskb 357d065a44cdd77ed5ff35155a989f2a763e96ef # git clean -qxdf # < git log -1 # commit 357d065a44cdd77ed5ff35155a989f2a763e96ef # Author: Daniel Axtens # Date: Fri May 17 01:40:02 2019 +1000 # # crypto: vmx - ghash: do nosimd fallback manually # # VMX ghash was using a fallback that did not support interleaving simd # and nosimd operations, leading to failures in the extended test suite. # # If I understood correctly, Eric's suggestion was to use the same # data format that the generic code uses, allowing us to call into it # with the same contexts. I wasn't able to get that to work - I think # there's a very different key structure and data layout being used. # # So instead steal the arm64 approach and perform the fallback # operations directly if required. # # Fixes: cc333cd68dfa ("crypto: vmx - Adding GHASH routines for VMX module") # Cc: stable@vger.kernel.org # v4.1+ # Reported-by: Eric Biggers # Signed-off-by: Daniel Axtens # Acked-by: Ard Biesheuvel # Tested-by: Michael Ellerman # Signed-off-by: Herbert Xu # < /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 357d065a44cdd77ed5ff35155a989f2a763e96ef # < make -s -j 20 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 20 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_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 20 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/crypto_x86-allmodconfig_x86_64-gcc8 # Build took: 0:24:42.507985