# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 d7e23b887f67178c4f840781be7a6aa6aeb52ab1 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/sbc8548_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x478398) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x467d10) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 01:35:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2246073 Bytes = 2193.43 KiB = 2.14 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-gd7e23b887f67 Created: Thu Aug 1 01:35:06 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2276089 Bytes = 2222.74 KiB = 2.17 MiB Load Address: 00500000 Entry Point: 005002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 # Build took: 0:00:41.030087