# git rev-parse -q --verify d4bf905307a1c90a27714ff7a9fd29b0a2ceed98^{commit} d4bf905307a1c90a27714ff7a9fd29b0a2ceed98 already have revision, skipping fetch # git checkout -q -f -B kisskb d4bf905307a1c90a27714ff7a9fd29b0a2ceed98 # git clean -qxdf # < git log -1 # commit d4bf905307a1c90a27714ff7a9fd29b0a2ceed98 # Author: Christophe Leroy # Date: Fri Feb 7 17:20:57 2020 +0000 # # powerpc: Fix CONFIG_TRACE_IRQFLAGS with CONFIG_VMAP_STACK # # When CONFIG_PROVE_LOCKING is selected together with (now default) # CONFIG_VMAP_STACK, kernel enter deadlock during boot. # # At the point of checking whether interrupts are enabled or not, the # value of MSR saved on stack is read using the physical address of the # stack. But at this point, when using VMAP stack the DATA MMU # translation has already been re-enabled, leading to deadlock. # # Don't use the physical address of the stack when # CONFIG_VMAP_STACK is set. # # Signed-off-by: Christophe Leroy # Reported-by: Guenter Roeck # Fixes: 028474876f47 ("powerpc/32: prepare for CONFIG_VMAP_STACK") # Tested-by: Guenter Roeck # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/daeacdc0dec0416d1c587cc9f9e7191ad3068dc0.1581095957.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 d4bf905307a1c90a27714ff7a9fd29b0a2ceed98 # < make -s -j 48 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 48 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- 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:218: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 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xab5fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xac66d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xab5fec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5134836 Bytes = 5014.49 KiB = 4.90 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5164571 Bytes = 5043.53 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165035 Bytes = 5043.98 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5164637 Bytes = 5043.59 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165206 Bytes = 5044.15 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165027 Bytes = 5043.97 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165172 Bytes = 5044.11 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00894 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:05 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165043 Bytes = 5043.99 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Image Name: Linux-5.5.0+ Created: Sun Feb 9 00:21:06 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5165086 Bytes = 5044.03 KiB = 4.93 MiB Load Address: 00b00000 Entry Point: 00b00294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:03:29.294026