# 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 80 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # Added to kconfig CONFIG_PPC_SPLPAR=n # yes \n | make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_le_defconfig+NO_SPLPAR_ppc64le-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; ^ WARNING: vmlinux.o(.text+0x2f3c): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x30d0): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/powerpc-next_pseries_le_defconfig+NO_SPLPAR_ppc64le-gcc5 # Build took: 0:02:36.141137