# git rev-parse -q --verify 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202^{commit} 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202 already have revision, skipping fetch # git checkout -q -f -B kisskb 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202 # git clean -qxdf # < git log -1 # commit 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202 # Author: Michael Ellerman # Date: Tue Nov 1 14:48:52 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 # Link: https://lore.kernel.org/r/20221101034852.2340319-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 02a771c9a68a9f08cce4ec5e324fb1bc4dce7202 # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig # make -s -j 160 ARCH=s390 O=/kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1059:2: /kisskb/src/arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 524 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_s390-defconfig_s390x-gcc11 # Build took: 0:02:45.889255