1. 24 Sep, 2019 27 commits
  2. 22 Sep, 2019 11 commits
    • Linus Torvalds's avatar
      Merge tag 'for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 619e17cf
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Core:
         - Ensure HWMON devices are registered with valid names
         - Fix device wakeup code
      
        Drivers:
         - bq25890_charger: Add BQ25895 support
         - axp288_fuel_gauge: Add Minix Neo Z83-4 to blacklist
         - sc27xx: improve battery calibration
         - misc small fixes all over drivers"
      
      * tag 'for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (24 commits)
        power: supply: cpcap-charger: Enable vbus boost voltage
        power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute
        power: supply: sc27xx: Optimize the battery capacity calibration
        power: supply: sc27xx: Make sure the alarm capacity is larger than 0
        power: supply: sc27xx: Fix the the accuracy issue of coulomb calculation
        power: supply: sc27xx: Fix conditon to enable the FGU interrupt
        power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN attribute
        power: supply: max77650: add MODULE_ALIAS()
        power: supply: isp1704: remove redundant assignment to variable ret
        power: supply: bq25890_charger: Add the BQ25895 part
        power: supply: sc27xx: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()
        power: supply: sc27xx: Introduce local variable 'struct device *dev'
        power: reset: reboot-mode: Fix author email format
        power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_range'
        power: supply: max17042_battery: Fix a typo in function names
        power: reset: gpio-restart: Fix typo when gpio reset is not found
        power: supply: Init device wakeup after device_add()
        power: supply: ab8500_charger: Mark expected switch fall-through
        power: supply: sbs-battery: only return health when battery present
        MAINTAINERS: N900: Remove isp1704_charger.h record
        ...
      619e17cf
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · 57f1c3ca
      Linus Torvalds authored
      Pull HSI updates from Sebastian Reichel:
       "Misc cleanups"
      
      * tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: Remove dev_err() usage after platform_get_irq()
        HSI: ssi_protocol: Mark expected switch fall-throughs
      57f1c3ca
    • Linus Torvalds's avatar
      firmware: bcm47xx_nvram: _really_ correct size_t printf format · 5d4156ac
      Linus Torvalds authored
      Commit feb4eb06 ("firmware: bcm47xx_nvram: Correct size_t printf
      format") was wrong, and changed a printout of 'header.len' - which is an
      u32 type - to use '%zu'.
      
      It apparently did pattern matching on the other case, where it printed
      out 'nvram_len', which is indeed of type 'size_t'.
      
      Rather than undoing the change, this just makes it use the variable that
      the change seemed to expect to be used.
      
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
      Cc: Paul Burton <paul.burton@mips.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5d4156ac
    • Linus Torvalds's avatar
      modules: make MODULE_IMPORT_NS() work even when modular builds are disabled · 3e4d890a
      Linus Torvalds authored
      It's an unusual configuration, and was apparently never tested, and not
      caught in linux-next because of a combination of travels and it making
      it into the tree too late.
      
      The fix is to simply move the #define to outside the CONFIG_MODULE
      section, since MODULE_INFO() will do the right thing.
      
      Cc: Martijn Coenen <maco@android.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Matthias Maennich <maennich@google.com>
      Cc: Jessica Yu <jeyu@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3e4d890a
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 9dbd83f6
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Two new drivers and the new pcf2127 feature make the bulk of the
        additions. The rest are the usual fixes and new features.
      
        Subsystem:
         - add debug message when registration fails
      
        New drivers:
         - Amlogic Virtual Wake
         - Freescale FlexTimer Module alarm
      
        Drivers:
         - remove superfluous error messages
         - convert to i2c_new_dummy_device and devm_i2c_new_dummy_device
         - Remove dev_err() usage after platform_get_irq()
         - Set RTC range for: pcf2123, pcf8563, snvs.
         - pcf2127: tamper detection and watchdog support
         - pcf85363: fix regmap issue
         - sun6i: H6 support
         - remove w90x900/nuc900 driver"
      
      * tag 'rtc-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (51 commits)
        rtc: meson: mark PM functions as __maybe_unused
        rtc: sc27xx: Remove clearing SPRD_RTC_POWEROFF_ALM_FLAG flag
        dt-bindings: rtc: ds1307: add rx8130 compatible
        rtc: sun6i: Allow using as wakeup source from suspend
        rtc: pcf8563: let the core handle range offsetting
        rtc: pcf8563: remove useless indirection
        rtc: pcf8563: convert to devm_rtc_allocate_device
        rtc: pcf8563: add Microcrystal RV8564 compatible
        rtc: pcf8563: add Epson RTC8564 compatible
        rtc: s35390a: convert to devm_i2c_new_dummy_device()
        rtc: max77686: convert to devm_i2c_new_dummy_device()
        rtc: pcf85363/pcf85263: fix regmap error in set_time
        rtc: snvs: switch to rtc_time64_to_tm/rtc_tm_to_time64
        rtc: snvs: set range
        rtc: snvs: fix possible race condition
        rtc: pcf2127: bugfix: watchdog build dependency
        rtc: pcf2127: add tamper detection support
        rtc: pcf2127: add watchdog feature support
        rtc: pcf2127: bugfix: read rtc disables watchdog
        rtc: pcf2127: cleanup register and bit defines
        ...
      9dbd83f6
    • Linus Torvalds's avatar
      Merge tag 'rpmsg-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc · 379bb045
      Linus Torvalds authored
      Pull rpmsg updates from Bjorn Andersson:
       "This contains updates to make the rpmsg sample driver more useful,
        fixes the naming of GLINK devices to avoid naming collisions and a few
        minor bug fixes. It also updates MAINTAINERS to reflect the move to
        kernel.org"
      
      * tag 'rpmsg-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
        rpmsg: glink-smem: Name the edge based on parent remoteproc
        rpmsg: glink: Use struct_size() helper
        rpmsg: virtio_rpmsg_bus: replace "%p" with "%pK"
        MAINTAINERS: rpmsg: fix git tree location
        rpmsg: core: fix comments
        samples/rpmsg: Introduce a module parameter for message count
        samples/rpmsg: Replace print_hex_dump() with print_hex_dump_debug()
      379bb045
    • Linus Torvalds's avatar
      Merge tag 'rproc-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc · 28de978b
      Linus Torvalds authored
      Pull remoteproc updates from Bjorn Andersson:
       "This exposes the remoteproc's name in sysfs, allows stm32 to enter
        platform standby and provides bug fixes for stm32 and Qualcomm's modem
        remoteproc drivers. Finally it updates MAINTAINERS to reflect the move
        to kernel.org"
      
      * tag 'rproc-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
        MAINTAINERS: remoteproc: update git tree location
        remoteproc: Remove dev_err() usage after platform_get_irq()
        remoteproc: stm32: manage the get_irq probe defer case
        remoteproc: stm32: clear MCU PDDS at firmware start
        remoteproc: qcom: q6v5-mss: fixup q6v5_pds_enable error handling
        remoteproc: Add a sysfs interface for name
        remoteproc: qcom: Move glink_ssr notification after stop
      28de978b
    • Linus Torvalds's avatar
      Merge tag 'soundwire-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire · 8d7ead5c
      Linus Torvalds authored
      Pull soundwire updates from Vinod Koul:
       "This includes DT support thanks to Srini and more work done by Intel
        (Pierre) on improving cadence and intel support.
      
        Summary:
      
         - Add DT bindings and DT support in core
      
         - Add debugfs support for soundwire properties
      
         - Improvements on streaming handling to core
      
         - Improved handling of Cadence module
      
         - More updates and improvements to Intel driver"
      
      * tag 'soundwire-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire: (30 commits)
        soundwire: stream: make stream name a const pointer
        soundwire: Add compute_params callback
        soundwire: core: add device tree support for slave devices
        dt-bindings: soundwire: add slave bindings
        soundwire: bus: set initial value to port_status
        soundwire: intel: handle disabled links
        soundwire: intel: add debugfs register dump
        soundwire: cadence_master: add debugfs register dump
        soundwire: add debugfs support
        soundwire: intel: remove unused variables
        soundwire: intel: move shutdown() callback and don't export symbol
        soundwire: cadence_master: add kernel parameter to override interrupt mask
        soundwire: intel_init: add kernel module parameter to filter out links
        soundwire: cadence_master: fix divider setting in clock register
        soundwire: cadence_master: make use of mclk_freq property
        soundwire: intel: read mclk_freq property from firmware
        soundwire: add new mclk_freq field for properties
        soundwire: stream: remove unnecessary variable initializations
        soundwire: stream: fix disable sequence
        soundwire: include mod_devicetable.h to avoid compiling warnings
        ...
      8d7ead5c
    • Linus Torvalds's avatar
      Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux · e0703556
      Linus Torvalds authored
      Pull modules updates from Jessica Yu:
       "The main bulk of this pull request introduces a new exported symbol
        namespaces feature. The number of exported symbols is increasingly
        growing with each release (we're at about 31k exports as of 5.3-rc7)
        and we currently have no way of visualizing how these symbols are
        "clustered" or making sense of this huge export surface.
      
        Namespacing exported symbols allows kernel developers to more
        explicitly partition and categorize exported symbols, as well as more
        easily limiting the availability of namespaced symbols to other parts
        of the kernel. For starters, we have introduced the USB_STORAGE
        namespace to demonstrate the API's usage. I have briefly summarized
        the feature and its main motivations in the tag below.
      
        Summary:
      
         - Introduce exported symbol namespaces.
      
           This new feature allows subsystem maintainers to partition and
           categorize their exported symbols into explicit namespaces. Module
           authors are now required to import the namespaces they need.
      
           Some of the main motivations of this feature include: allowing
           kernel developers to better manage the export surface, allow
           subsystem maintainers to explicitly state that usage of some
           exported symbols should only be limited to certain users (think:
           inter-module or inter-driver symbols, debugging symbols, etc), as
           well as more easily limiting the availability of namespaced symbols
           to other parts of the kernel.
      
           With the module import requirement, it is also easier to spot the
           misuse of exported symbols during patch review.
      
           Two new macros are introduced: EXPORT_SYMBOL_NS() and
           EXPORT_SYMBOL_NS_GPL(). The API is thoroughly documented in
           Documentation/kbuild/namespaces.rst.
      
         - Some small code and kbuild cleanups here and there"
      
      * tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
        module: Remove leftover '#undef' from export header
        module: remove unneeded casts in cmp_name()
        module: move CONFIG_UNUSED_SYMBOLS to the sub-menu of MODULES
        module: remove redundant 'depends on MODULES'
        module: Fix link failure due to invalid relocation on namespace offset
        usb-storage: export symbols in USB_STORAGE namespace
        usb-storage: remove single-use define for debugging
        docs: Add documentation for Symbol Namespaces
        scripts: Coccinelle script for namespace dependencies.
        modpost: add support for generating namespace dependencies
        export: allow definition default namespaces in Makefiles or sources
        module: add config option MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
        modpost: add support for symbol namespaces
        module: add support for symbol namespaces.
        export: explicitly align struct kernel_symbol
        module: support reading multiple values per modinfo tag
      e0703556
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm · 8808cf8c
      Linus Torvalds authored
      Pull ARM updates from Russell King:
      
       - fix various clang build and cppcheck issues
      
       - switch ARM to use new common outgoing-CPU-notification code
      
       - add some additional explanation about the boot code
      
       - kbuild "make clean" fixes
      
       - get rid of another "(____ptrval____)", this time for the VDSO code
      
       - avoid treating cache maintenance faults as a write
      
       - add a frame pointer unwinder implementation for clang
      
       - add EDAC support for Aurora L2 cache
      
       - improve robustness of adjust_lowmem_bounds() finding the bounds of
         lowmem.
      
       - add reset control for AMBA primecell devices
      
      * tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm: (24 commits)
        ARM: 8906/1: drivers/amba: add reset control to amba bus probe
        ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer
        ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
        ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
        ARM: 8891/1: EDAC: armada_xp: Add support for more SoCs
        ARM: 8888/1: EDAC: Add driver for the Marvell Armada XP SDRAM and L2 cache ECC
        ARM: 8892/1: EDAC: Add missing debugfs_create_x32 wrapper
        ARM: 8890/1: l2x0: add marvell,ecc-enable property for aurora
        ARM: 8889/1: dt-bindings: document marvell,ecc-enable binding
        ARM: 8886/1: l2x0: support parity-enable/disable on aurora
        ARM: 8885/1: aurora-l2: add defines for parity and ECC registers
        ARM: 8887/1: aurora-l2: add prefix to MAX_RANGE_SIZE
        ARM: 8902/1: l2c: move cache-aurora-l2.h to asm/hardware
        ARM: 8900/1: UNWINDER_FRAME_POINTER implementation for Clang
        ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
        ARM: 8896/1: VDSO: Don't leak kernel addresses
        ARM: 8895/1: visit mach-* and plat-* directories when cleaning
        ARM: 8894/1: boot: Replace open-coded nop with macro
        ARM: 8893/1: boot: Explain the 8 nops
        ARM: 8876/1: fix O= building with CONFIG_FPE_FASTFPE
        ...
      8808cf8c
    • Linus Torvalds's avatar
      Merge tag 'mips_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 5c6bd5de
      Linus Torvalds authored
      Pull MIPS updates from Paul Burton:
       "Main MIPS changes:
      
         - boot_mem_map is removed, providing a nice cleanup made possible by
           the recent removal of bootmem.
      
         - Some fixes to atomics, in general providing compiler barriers for
           smp_mb__{before,after}_atomic plus fixes specific to Loongson CPUs
           or MIPS32 systems using cmpxchg64().
      
         - Conversion to the new generic VDSO infrastructure courtesy of
           Vincenzo Frascino.
      
         - Removal of undefined behavior in set_io_port_base(), fixing the
           behavior of some MIPS kernel configurations when built with recent
           clang versions.
      
         - Initial MIPS32 huge page support, functional on at least Ingenic
           SoCs.
      
         - pte_special() is now supported for some configurations, allowing
           among other things generic fast GUP to be used.
      
         - Miscellaneous fixes & cleanups.
      
        And platform specific changes:
      
         - Major improvements to Ingenic SoC support from Paul Cercueil,
           mostly enabled by the inclusion of the new TCU (timer-counter unit)
           drivers he's spent a very patient year or so working on. Plus some
           fixes for X1000 SoCs from Zhou Yanjie.
      
         - Netgear R6200 v1 systems are now supported by the bcm47xx platform.
      
         - DT updates for BMIPS, Lantiq & Microsemi Ocelot systems"
      
      * tag 'mips_5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: (89 commits)
        MIPS: Detect bad _PFN_SHIFT values
        MIPS: Disable pte_special() for MIPS32 with RiXi
        MIPS: ralink: deactivate PCI support for SOC_MT7621
        mips: compat: vdso: Use legacy syscalls as fallback
        MIPS: Drop Loongson _CACHE_* definitions
        MIPS: tlbex: Remove cpu_has_local_ebase
        MIPS: tlbex: Simplify r3k check
        MIPS: Select R3k-style TLB in Kconfig
        MIPS: PCI: refactor ioc3 special handling
        mips: remove ioremap_cachable
        mips/atomic: Fix smp_mb__{before,after}_atomic()
        mips/atomic: Fix loongson_llsc_mb() wreckage
        mips/atomic: Fix cmpxchg64 barriers
        MIPS: Octeon: remove duplicated include from dma-octeon.c
        firmware: bcm47xx_nvram: Allow COMPILE_TEST
        firmware: bcm47xx_nvram: Correct size_t printf format
        MIPS: Treat Loongson Extensions as ASEs
        MIPS: Remove dev_err() usage after platform_get_irq()
        MIPS: dts: mscc: describe the PTP ready interrupt
        MIPS: dts: mscc: describe the PTP register range
        ...
      5c6bd5de
  3. 21 Sep, 2019 2 commits
    • Linus Torvalds's avatar
      Merge tag 'gfs2-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · f7c3bf8f
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - Use asynchronous glocks and timeouts to recover from deadlocks during
         rename and exchange: the lock ordering constraints the vfs uses are
         not sufficient to prevent deadlocks across multiple nodes.
      
       - Add support for IOMAP_ZERO and use iomap_zero_range to replace gfs2
         specific code.
      
       - Various other minor fixes and cleanups.
      
      * tag 'gfs2-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
        gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
        gfs2: Improve mmap write vs. truncate consistency
        gfs2: Use async glocks for rename
        gfs2: create function gfs2_glock_update_hold_time
        gfs2: separate holder for rgrps in gfs2_rename
        gfs2: Delete an unnecessary check before brelse()
        gfs2: Minor PAGE_SIZE arithmetic cleanups
        gfs2: Fix recovery slot bumping
        gfs2: Fix possible fs name overflows
        gfs2: untangle the logic in gfs2_drevalidate
        gfs2: Always mark inode dirty in fallocate
        gfs2: Minor gfs2_alloc_inode cleanup
        gfs2: implement gfs2_block_zero_range using iomap_zero_range
        gfs2: Add support for IOMAP_ZERO
        gfs2: gfs2_iomap_begin cleanup
      f7c3bf8f
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · fbc246a1
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "In this round, we introduced casefolding support in f2fs, and fixed
        various bugs in individual features such as IO alignment,
        checkpoint=disable, quota, and swapfile.
      
        Enhancement:
         - support casefolding w/ enhancement in ext4
         - support fiemap for directory
         - support FS_IO_GET|SET_FSLABEL
      
        Bug fix:
         - fix IO stuck during checkpoint=disable
         - avoid infinite GC loop
         - fix panic/overflow related to IO alignment feature
         - fix livelock in swap file
         - fix discard command leak
         - disallow dio for atomic_write"
      
      * tag 'f2fs-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (51 commits)
        f2fs: add a condition to detect overflow in f2fs_ioc_gc_range()
        f2fs: fix to add missing F2FS_IO_ALIGNED() condition
        f2fs: fix to fallback to buffered IO in IO aligned mode
        f2fs: fix to handle error path correctly in f2fs_map_blocks
        f2fs: fix extent corrupotion during directIO in LFS mode
        f2fs: check all the data segments against all node ones
        f2fs: Add a small clarification to CONFIG_FS_F2FS_FS_SECURITY
        f2fs: fix inode rwsem regression
        f2fs: fix to avoid accessing uninitialized field of inode page in is_alive()
        f2fs: avoid infinite GC loop due to stale atomic files
        f2fs: Fix indefinite loop in f2fs_gc()
        f2fs: convert inline_data in prior to i_size_write
        f2fs: fix error path of f2fs_convert_inline_page()
        f2fs: add missing documents of reserve_root/resuid/resgid
        f2fs: fix flushing node pages when checkpoint is disabled
        f2fs: enhance f2fs_is_checkpoint_ready()'s readability
        f2fs: clean up __bio_alloc()'s parameter
        f2fs: fix wrong error injection path in inc_valid_block_count()
        f2fs: fix to writeout dirty inode during node flush
        f2fs: optimize case-insensitive lookups
        ...
      fbc246a1