# git rev-parse -q --verify 0b26eadbf200abf6c97c6d870286c73219cdac65^{commit} 0b26eadbf200abf6c97c6d870286c73219cdac65 already have revision, skipping fetch # git checkout -q -f -B kisskb 0b26eadbf200abf6c97c6d870286c73219cdac65 # git clean -qxdf # < git log -1 # commit 0b26eadbf200abf6c97c6d870286c73219cdac65 # Author: Linus Torvalds # Date: Thu Jun 29 20:41:24 2023 -0700 # # sparc32: fix lock_mm_and_find_vma() conversion # # The sparc32 conversion to lock_mm_and_find_vma() in commit a050ba1e7422 # ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()") # missed the fact that we didn't actually have a 'regs' pointer available # in the 'force_user_fault()' case. # # It's there in the regular page fault path ("do_sparc_fault()"), but not # the window underflow/overflow paths. # # Which is all fine - we can just pass in a NULL pointer. The register # state is only used to avoid deadlock with kernel faults, which is not # the case for any of these register window faults. # # Reported-by: Stephen Rothwell # Fixes: a050ba1e7422 ("mm/fault: convert remaining simple cases to lock_mm_and_find_vma()") # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 0b26eadbf200abf6c97c6d870286c73219cdac65 # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- allmodconfig WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_MLXBF3 [=m] && PINCTRL [=y] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_MLXBF3 [=m] && PINCTRL [=y] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) # make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_MLXBF3 [=m] && PINCTRL [=y] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_MLXBF3 [=m] && PINCTRL [=y] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) WARNING: unmet direct dependencies detected for GPIO_MLXBF3 Depends on [n]: GPIOLIB [=y] && PCI [=n] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_MLXBF3 [=m] && PINCTRL [=y] && (MELLANOX_PLATFORM [=y] && ARM64 || COMPILE_TEST [=y]) Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/drivers/char/mem.c: In function 'read_mem': /kisskb/src/drivers/char/mem.c:164:25: error: implicit declaration of function 'unxlate_dev_mem_ptr'; did you mean 'xlate_dev_mem_ptr'? [-Werror=implicit-function-declaration] 164 | unxlate_dev_mem_ptr(p, ptr); | ^~~~~~~~~~~~~~~~~~~ | xlate_dev_mem_ptr cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:252: drivers/char/mem.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: drivers/char] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: drivers] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:2032: .] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 40 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sh4-gcc11 # Build took: 0:03:11.497204