# git rev-parse -q --verify 9b15ff164b9298066e316ca44f5ee1c28df54083^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test # git rev-parse -q --verify 9b15ff164b9298066e316ca44f5ee1c28df54083^{commit} 9b15ff164b9298066e316ca44f5ee1c28df54083 # git checkout -q -f -B kisskb 9b15ff164b9298066e316ca44f5ee1c28df54083 # git clean -qxdf # < git log -1 # commit 9b15ff164b9298066e316ca44f5ee1c28df54083 # Author: Michael Ellerman # Date: Tue Nov 1 10:30:03 2022 +1100 # # powerpc/32: Select ARCH_SPLIT_ARG64 # # On 32-bit kernels, 64-bit syscall arguments are split into two # registers. For that to work with syscall wrappers, the prototype of the # syscall must have the argument split so that the wrapper macro properly # unpacks the arguments from pt_regs. # # The fanotify_mark() syscall is one such syscall, which already has a # split prototype, guarded behind ARCH_SPLIT_ARG64. # # So select ARCH_SPLIT_ARG64 to get that prototype and fix fanotify_mark() # on 32-bit kernels with syscall wrappers. # # Note also that fanotify_mark() is the only usage of ARCH_SPLIT_ARG64. # # Fixes: 7e92e01b7245 ("powerpc: Provide syscall wrapper") # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 9b15ff164b9298066e316ca44f5ee1c28df54083 # < make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 # Build took: 0:03:23.102308