# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ In file included from /kisskb/src/sound/ppc/pmac.h:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa774a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa87bb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa774a0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5044185 Bytes = 4925.96 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5044575 Bytes = 4926.34 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5044921 Bytes = 4926.68 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5013988 Bytes = 4896.47 KiB = 4.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:36 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5043529 Bytes = 4925.32 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5042740 Bytes = 4924.55 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5044220 Bytes = 4926.00 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5044216 Bytes = 4925.99 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.3.0-rc2+ Created: Thu Aug 1 02:18:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5043045 Bytes = 4924.85 KiB = 4.81 MiB Load Address: 00b00000 Entry Point: 00b00294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:04:11.047517