# git rev-parse -q --verify d7e23b887f67178c4f840781be7a6aa6aeb52ab1^{commit} d7e23b887f67178c4f840781be7a6aa6aeb52ab1 already have revision, skipping fetch # git checkout -q -f -B kisskb d7e23b887f67178c4f840781be7a6aa6aeb52ab1 # git clean -qxdf # < git log -1 # commit d7e23b887f67178c4f840781be7a6aa6aeb52ab1 # Author: Christophe Leroy # Date: Wed Jul 31 06:01:42 2019 +0000 # # powerpc/kasan: fix early boot failure on PPC32 # # Due to commit 4a6d8cf90017 ("powerpc/mm: don't use pte_alloc_kernel() # until slab is available on PPC32"), pte_alloc_kernel() cannot be used # during early KASAN init. # # Fix it by using memblock_alloc() instead. # # Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support") # Cc: stable@vger.kernel.org # v5.2+ # Reported-by: Erhard F. # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/da89670093651437f27d2975224712e0a130b055.1564552796.git.christophe.leroy@c-s.fr # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 d7e23b887f67178c4f840781be7a6aa6aeb52ab1 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-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:9, 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 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcbbacc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcab298) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6252209 Bytes = 6105.67 KiB = 5.96 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:34 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282286 Bytes = 6135.04 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283998 Bytes = 6136.72 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282487 Bytes = 6135.24 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6283006 Bytes = 6135.75 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282288 Bytes = 6135.05 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282627 Bytes = 6135.38 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282612 Bytes = 6135.36 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282301 Bytes = 6135.06 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282452 Bytes = 6135.21 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282869 Bytes = 6135.61 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282545 Bytes = 6135.30 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d00314 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282157 Bytes = 6134.92 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282551 Bytes = 6135.30 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6284047 Bytes = 6136.76 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 02:32:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6282577 Bytes = 6135.33 KiB = 5.99 MiB Load Address: 00d00000 Entry Point: 00d002a4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc5 # Build took: 0:02:00.085691