# 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/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 0b26eadbf200abf6c97c6d870286c73219cdac65 # make -s -j 160 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux- defconfig # < make -s -j 160 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux- help # make -s -j 160 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux- olddefconfig # make -s -j 160 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux- /kisskb/src/arch/parisc/mm/fault.c: In function 'do_page_fault': /kisskb/src/arch/parisc/mm/fault.c:292:22: error: 'prev' undeclared (first use in this function) 292 | if (!prev || !(prev->vm_flags & VM_GROWSUP)) | ^~~~ /kisskb/src/arch/parisc/mm/fault.c:292:22: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [/kisskb/src/scripts/Makefile.build:252: arch/parisc/mm/fault.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:494: arch/parisc/mm] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:494: arch/parisc] 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 160 ARCH=parisc O=/kisskb/build/linus_defconfig_parisc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/hppa-linux/bin/hppa-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_defconfig_parisc-gcc11 # Build took: 0:01:40.343559