# git rev-parse -q --verify cac803c330638f238288c767c934352776cffc4c^{commit} cac803c330638f238288c767c934352776cffc4c already have revision, skipping fetch # git checkout -q -f -B kisskb cac803c330638f238288c767c934352776cffc4c # git clean -qxdf # < git log -1 # commit cac803c330638f238288c767c934352776cffc4c # Author: Naveen N. Rao # Date: Thu Jun 27 15:29:40 2019 +0530 # # powerpc/xmon: Fix disabling tracing while in xmon # # Commit ed49f7fd6438d ("powerpc/xmon: Disable tracing when entering # xmon") added code to disable recording trace entries while in xmon. The # commit introduced a variable 'tracing_enabled' to record if tracing was # enabled on xmon entry, and used this to conditionally enable tracing # during exit from xmon. # # However, we are not checking the value of 'fromipi' variable in # xmon_core() when setting 'tracing_enabled'. Due to this, when secondary # cpus enter xmon, they will see tracing as being disabled already and # tracing won't be re-enabled on exit. Fix the same. # # Fixes: ed49f7fd6438d ("powerpc/xmon: Disable tracing when entering xmon") # Signed-off-by: Naveen N. Rao # Signed-off-by: Michael Ellerman # < /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 cac803c330638f238288c767c934352776cffc4c # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_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:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223: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:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xaf11b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf11b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287308 Bytes = 5163.39 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00894 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287415 Bytes = 5163.49 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287089 Bytes = 5163.17 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5286988 Bytes = 5163.07 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287021 Bytes = 5163.11 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287319 Bytes = 5163.40 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287208 Bytes = 5163.29 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00894 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287562 Bytes = 5163.63 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Sat Jun 29 22:20:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5256728 Bytes = 5133.52 KiB = 5.01 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:01:53.114134