# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 ae02efbc3fcbabd9723c31c59db0cc4ce75ee22d # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_wii_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- wii_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_wii_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:121:34: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:337:21: note: 'pdeo' was declared here /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1581:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1538:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_rf_ctl_override_rev7': /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c:203:21: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here WARNING: vmlinux.o(.text+0x11ef8): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuep() The function setup_kup() references the function __init setup_kuep(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuep is wrong. WARNING: vmlinux.o(.text+0x11f00): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuap() The function setup_kup() references the function __init setup_kuap(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuap is wrong. INFO: Uncompressed kernel (size 0x8f6808) overlaps the address of the wrapper(0x600000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/powerpc-next_wii_defconfig_powerpc-gcc4.6 # Build took: 0:00:58.935303