# 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_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_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_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:3977:warning: override: reassigning to symbol RELOCATABLE # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_powernv_defconfig+STRICT_RWX_powerpc-gcc9 # Build took: 0:03:42.117684