# git rev-parse -q --verify f0479c4bcbd92d1a457d4a43bcab79f29d11334a^{commit} f0479c4bcbd92d1a457d4a43bcab79f29d11334a already have revision, skipping fetch # git checkout -q -f -B kisskb f0479c4bcbd92d1a457d4a43bcab79f29d11334a # git clean -qxdf # < git log -1 # commit f0479c4bcbd92d1a457d4a43bcab79f29d11334a # Author: Haren Myneni # Date: Fri Jul 10 16:49:58 2020 -0700 # # selftests/powerpc: Use proper error code to check fault address # # ERR_NX_TRANSLATION(CSB.CC=5) is for internal to VAS for fault handling # and should not used by OS. ERR_NX_AT_FAULT(CSB.CC=250) is the proper # error code should be reported by OS when NX encounters address # translation failure. # # This patch uses CC=250 to determine the fault address when the request # is not successful. # # Signed-off-by: Haren Myneni # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/0315251705baff94f678c33178491b5008723511.camel@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f0479c4bcbd92d1a457d4a43bcab79f29d11334a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_PPC_RADIX_MMU=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/platforms/pseries/lpar.o:(.toc+0x0): undefined reference to `mmu_pid_bits' make[1]: *** [/kisskb/src/Makefile:1139: vmlinux] Error 1 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_ppc64_defconfig+NO_RADIX_powerpc-gcc9 # Build took: 0:03:51.415026