# 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/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 0b26eadbf200abf6c97c6d870286c73219cdac65 # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] ERROR: modpost: missing MODULE_LICENSE() in arch/sparc/video/fbdev.o ERROR: modpost: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:136: Module.symvers] Error 1 make[1]: *** [/kisskb/src/Makefile:1984: modpost] Error 2 make: *** [Makefile:226: __sub-make] Error 2 Command 'make -s -j 160 ARCH=sparc64 O=/kisskb/build/linus_allmodconfig_sparc64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/sparc64-linux/bin/sparc64-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sparc64-gcc11 # Build took: 0:09:12.018440