# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-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_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc7628) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcb6e24) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:11 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6260025 Bytes = 6113.31 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:11 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6260019 Bytes = 6113.30 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:11 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6227063 Bytes = 6081.12 KiB = 5.94 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:11 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6261525 Bytes = 6114.77 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6261303 Bytes = 6114.55 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6260056 Bytes = 6113.34 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6259816 Bytes = 6113.10 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6260019 Bytes = 6113.30 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:12 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6261390 Bytes = 6114.64 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6259826 Bytes = 6113.11 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6259978 Bytes = 6113.26 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6260006 Bytes = 6113.29 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6262183 Bytes = 6115.41 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6259767 Bytes = 6113.05 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6262218 Bytes = 6115.45 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.8.0-rc2-gf0479c4bcbd9 Created: Thu Jul 16 02:52:13 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6259818 Bytes = 6113.10 KiB = 5.97 MiB Load Address: 00d00000 Entry Point: 00d00314 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_defconfig_powerpc-gcc4.9 # Build took: 0:02:20.045684