# git rev-parse -q --verify a10c9c710f9ecea87b9f4bbb837467893b4bef01^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master # git rev-parse -q --verify a10c9c710f9ecea87b9f4bbb837467893b4bef01^{commit} a10c9c710f9ecea87b9f4bbb837467893b4bef01 # git checkout -q -f -B kisskb a10c9c710f9ecea87b9f4bbb837467893b4bef01 # git clean -qxdf # < git log -1 # commit a10c9c710f9ecea87b9f4bbb837467893b4bef01 # Merge: c48b07226bd4 f78c55e3b480 # Author: Linus Torvalds # Date: Sun Apr 5 13:47:57 2020 -0700 # # Merge tag 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply # # Pull power supply and reset changes from Sebastian Reichel: # "Core: # - Nothing # # Drivers: # - at91-reset: cleanups, proper handling for sam9x60 # - sc27xx, charger-manager: allow building as module # - sc27xx: add support to read current charge capacity # - axp288: more quirks for weird hardware # - misc fixes" # # * tag 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (26 commits) # power: reset: sc27xx: Allow the SC27XX poweroff driver building into a module # power: reset: sc27xx: Change to use cpu_down() # power: reset: sc27xx: Power off the external subsystems' connection # power: twl4030: Use scnprintf() for avoiding potential buffer overflow # power: supply: bq27xxx_battery: Silence deferred-probe error # power: reset: at91-reset: handle nrst async for sam9x60 # power: reset: at91-reset: get rid of at91_reset_data # power: reset: at91-reset: keep only one reset function # power: reset: at91-reset: make at91sam9g45_restart() generic # power: reset: at91-reset: introduce ramc_lpr to struct at91_reset # power: reset: at91-reset: use r4 as tmp argument # power: reset: at91-reset: introduce args member in at91_reset_data # power: reset: at91-reset: introduce struct at91_reset_data # power: reset: at91-reset: devm_kzalloc() for at91_reset data structure # power: reset: at91-reset: pass rstc base address to at91_reset_status() # power: reset: at91-reset: convert reset in pointer to struct at91_reset # power: reset: at91-reset: add notifier block to struct at91_reset # power: reset: at91-reset: add sclk to struct at91_reset # power: reset: at91-reset: add ramc_base[] to struct at91_reset # power: reset: at91-reset: introduce struct at91_reset # ... # < /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 a10c9c710f9ecea87b9f4bbb837467893b4bef01 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x86CEA6D4 WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- olddefconfig .config:4442:warning: override: reassigning to symbol MODULE_SIG .config:4444:warning: override: reassigning to symbol PPC64 .config:4445:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:4446:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:4447:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4452:warning: override: reassigning to symbol UBSAN WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] # make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] WARNING: unmet direct dependencies detected for HOTPLUG_PCI_POWERNV Depends on [n]: PCI [=y] && HOTPLUG_PCI [=n] && PPC_POWERNV [=y] && EEH [=y] Selected by [m]: - OCXL [=m] && PPC_POWERNV [=y] && PCI [=y] && EEH [=y] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/ipc/shm.c: In function 'ksys_shmdt': /kisskb/src/ipc/shm.c:1712:59: warning: 'file' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c: In function 'pid_open': /kisskb/src/kernel/trace/ftrace.c:7166:6: warning: 'seq_ops' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c: In function 'pid_write': /kisskb/src/kernel/trace/ftrace.c:7261:22: warning: 'other_pids' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/ftrace.c:7244:23: warning: 'filtered_pids' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/kernel/eeh.c:1676:12: warning: 'proc_eeh_show' defined but not used [-Wunused-function] /kisskb/src/sound/core/pcm_iec958.c: In function 'create_iec958_consumer': /kisskb/src/sound/core/pcm_iec958.c:77:9: warning: 'ws' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/bpf/inode.c: In function 'bpf_obj_pin_user': /kisskb/src/kernel/bpf/inode.c:464:14: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'futex_atomic_op_inuser': /kisskb/src/kernel/futex.c:1686:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/gen_stats.c: In function '__gnet_stats_copy_basic': /kisskb/src/include/linux/seqlock.h:205:9: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/gen_stats.c:145:15: note: 'seq' was declared here /kisskb/src/kernel/bpf/btf.c: In function '__btf_resolve_helper_id': /kisskb/src/kernel/bpf/btf.c:4038:20: warning: 't' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/dev.c: In function 'validate_xmit_skb_list': /kisskb/src/net/core/dev.c:3604:15: warning: 'tail' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/misc/cxl/native.c: In function 'native_irq_wait': /kisskb/src/drivers/misc/cxl/native.c:1244:2: warning: 'ph' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/misc/cxl/native.c:1244:2: warning: 'dsisr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/mpi/mpicoder.c: In function 'mpi_read_raw_from_sgl': /kisskb/src/lib/mpi/mpicoder.c:352:8: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_mst_dsc_aux_for_port': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: missing braces around initializer [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:5497:9: warning: (near initialization for 'desc.ident') [-Wmissing-braces] /kisskb/src/drivers/mtd/ubi/eba.c: In function 'try_write_vid_and_data': /kisskb/src/drivers/mtd/ubi/eba.c:988:7: warning: 'opnum' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_compat_sys_vmsplice': /kisskb/src/fs/splice.c:1416:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/splice.c: In function '__do_sys_vmsplice': /kisskb/src/fs/splice.c:1390:8: warning: 'type' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_clean_rtx_queue': /kisskb/src/include/net/tcp.h:792:9: warning: 'last_ackt' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ipv4/tcp_input.c:3076:18: note: 'last_ackt' was declared here /kisskb/src/lib/rhashtable.c: In function 'rhashtable_rehash_one.isra.23': /kisskb/src/include/linux/rhashtable.h:110:10: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:222:28: note: 'next' was declared here /kisskb/src/drivers/bcma/sprom.c: In function 'bcma_sprom_get': /kisskb/src/drivers/bcma/sprom.c:644:8: warning: 'sprom' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/ncsi/ncsi-manage.c: In function 'set_one_vid': /kisskb/src/net/ncsi/ncsi-manage.c:673:19: warning: 'vid' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpu/drm/drm_atomic.c: In function 'drm_atomic_connector_check': /kisskb/src/drivers/gpu/drm/drm_atomic.c:427:38: warning: 'crtc_state' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/tx.c: In function 'ieee80211_build_hdr': /kisskb/src/net/mac80211/tx.c:2558:27: warning: 'chanctx_conf' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_handle_pwr_constr.isra.20': /kisskb/src/net/mac80211/mlme.c:1603:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c: In function 'sctp_packet_config': /kisskb/src/include/net/sock.h:2013:19: warning: 'sk' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sctp/output.c:79:15: note: 'sk' was declared here /kisskb/src/drivers/iio/pressure/dlhl60d.c: In function 'dlh_read_raw': /kisskb/src/drivers/iio/pressure/dlhl60d.c:166:11: warning: 'temperature' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/iio/pressure/dlhl60d.c:162:11: warning: 'pressure' may be used uninitialized in this function [-Wuninitialized] WARNING: modpost: vmlinux.o(.text.unlikely+0x2764): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_root() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_root(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_root is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x2774): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_subnode_by_name() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_subnode_by_name(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_subnode_by_name is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x2790): Section mismatch in reference from the function .xive_spapr_disabled() to the function .init.text:.of_get_flat_dt_prop() The function .xive_spapr_disabled() references the function __init .of_get_flat_dt_prop(). This is often because .xive_spapr_disabled lacks a __init annotation or the annotation of .of_get_flat_dt_prop is wrong. BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1086: vmlinux] Error 1 make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc4.6 # Build took: 0:03:37.203325