# 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-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 0b26eadbf200abf6c97c6d870286c73219cdac65 # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- allnoconfig # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- help # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- olddefconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/linus_allnoconfig_sparc64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/sparc64-linux/bin/sparc64-linux- :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_allnoconfig_sparc64-gcc5 # Build took: 0:00:18.224081