# git rev-parse -q --verify 57f12a5ce0591532e8264d842b9086bace6544da^{commit} 57f12a5ce0591532e8264d842b9086bace6544da already have revision, skipping fetch # git checkout -q -f -B kisskb 57f12a5ce0591532e8264d842b9086bace6544da # git clean -qxdf # < git log -1 # commit 57f12a5ce0591532e8264d842b9086bace6544da # Author: Michael Ellerman # Date: Mon May 15 22:40:08 2023 +1000 # # powerpc/crypto: Fix aes-gcm-p10 build when VSX=n # # When VSX is disabled, eg. microwatt_defconfig, the build fails with: # # In function ‘enable_kernel_vsx’, # inlined from ‘vsx_begin’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:68:2, # inlined from ‘p10_aes_gcm_crypt.constprop’ at arch/powerpc/crypto/aes-gcm-p10-glue.c:244:2: # ... # arch/powerpc/include/asm/switch_to.h:86:9: note: in expansion of macro ‘BUILD_BUG’ # 86 | BUILD_BUG(); # | ^~~~~~~~~ # # Fix it by making the p10-aes-gcm code depend on VSX. # # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 57f12a5ce0591532e8264d842b9086bace6544da # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-merge_85xx_xes_mpc85xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/xes_mpc85xx_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-merge_85xx_xes_mpc85xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-merge_85xx_xes_mpc85xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/powerpc-merge_85xx_xes_mpc85xx_defconfig_powerpc-gcc12 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-merge_85xx_xes_mpc85xx_defconfig_powerpc-gcc12 # Build took: 0:01:01.780597