# git rev-parse -q --verify ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d^{commit} ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d already have revision, skipping fetch # git checkout -q -f -B kisskb ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d # git clean -qxdf # < git log -1 # commit ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d # Author: Nicholas Piggin # Date: Thu May 2 15:21:07 2019 +1000 # # powerpc/64: Don't trace code that runs with the soft irq mask unreconciled # # "Reconciling" in terms of interrupt handling, is to bring the soft irq # mask state in to synch with the hardware, after an interrupt causes # MSR[EE] to be cleared (while the soft mask may be enabled, and hard # irqs not marked disabled). # # General kernel code should not be called while unreconciled, because # local_irq_disable, etc. manipulations can cause surprising irq traces, # and it's fragile because the soft irq code does not really expect to # be called in this situation. # # When exiting from an interrupt, MSR[EE] is cleared to prevent races, # but soft irq state is enabled for the returned-to context, so this is # now an unreconciled state. restore_math is called in this state, and # that can be ftraced, and the ftrace subsystem disables local irqs. # # Mark restore_math and its callees as notrace. Restore a sanity check # in the soft irq code that had to be disabled for this case, by commit # 4da1f79227ad4 ("powerpc/64: Disable irq restore warning for now"). # # Signed-off-by: Nicholas Piggin # 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 ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] WARNING: vmlinux.o(.text+0x40e): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup() The function start_here_multiplatform() references the function __init .early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of .early_setup is wrong. INFO: Uncompressed kernel (size 0xfb0e70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.1.0-rc3-gae02efbc3fcb Created: Thu May 2 21:14:09 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6625387 Bytes = 6470.10 KiB = 6.32 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_corenet64_smp_defconfig_powerpc-gcc5 # Build took: 0:02:20.150169