1. 04 Apr, 2018 24 commits
  2. 03 Apr, 2018 16 commits
    • Linus Torvalds's avatar
      Merge tag 'kconfig-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 147a89bc
      Linus Torvalds authored
      Pull Kconfig updates from Masahiro Yamada:
      
       - improve checkpatch for more precise Kconfig code checking
      
       - clarify effective selects by grouping reverse dependencies in help
      
       - do not write out '# CONFIG_FOO is not set' from invisible symbols
      
       - make oldconfig as silent as it should be
      
       - rename 'silentoldconfig' to 'syncconfig'
      
       - add unit-test framework and several test cases
      
       - warn unmet dependency of tristate symbols
      
       - make unmet dependency warnings readable, removing false positives
      
       - improve recursive include detection
      
       - use yylineno to simplify the line number tracking
      
       - misc cleanups
      
      * tag 'kconfig-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (30 commits)
        kconfig: use yylineno option instead of manual lineno increments
        kconfig: detect recursive inclusion earlier
        kconfig: remove duplicated file name and lineno of recursive inclusion
        kconfig: do not include both curses.h and ncurses.h for nconfig
        kconfig: make unmet dependency warnings readable
        kconfig: warn unmet direct dependency of tristate symbols selected by y
        kconfig: tests: test if recursive inclusion is detected
        kconfig: tests: test if recursive dependencies are detected
        kconfig: tests: test randconfig for choice in choice
        kconfig: tests: test defconfig when two choices interact
        kconfig: tests: check visibility of tristate choice values in y choice
        kconfig: tests: check unneeded "is not set" with unmet dependency
        kconfig: tests: test if new symbols in choice are asked
        kconfig: tests: test automatic submenu creation
        kconfig: tests: add basic choice tests
        kconfig: tests: add framework for Kconfig unit testing
        kbuild: add PYTHON2 and PYTHON3 variables
        kconfig: remove redundant streamline_config.pl prerequisite
        kconfig: rename silentoldconfig to syncconfig
        kconfig: invoke oldconfig instead of silentoldconfig from local*config
        ...
      147a89bc
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 3b24b837
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - add a shell script to get Clang version
      
       - improve portability of build scripts
      
       - drop always-enabled CONFIG_THIN_ARCHIVE and remove unused code
      
       - rename built-in.o which is now thin archive to built-in.a
      
       - process clean/build targets one by one to get along with -j option
      
       - simplify ld-option
      
       - improve building with CONFIG_TRIM_UNUSED_KSYMS
      
       - define KBUILD_MODNAME even for objects shared among multiple modules
      
       - avoid linking multiple instances of same objects from composite
         objects
      
       - move <linux/compiler_types.h> to c_flags to include it only for C
         files
      
       - clean-up various Makefiles
      
      * tag 'kbuild-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (29 commits)
        kbuild: get <linux/compiler_types.h> out of <linux/kconfig.h>
        kbuild: clean up link rule of composite modules
        kbuild: clean up archive rule of built-in.a
        kbuild: remove partial section mismatch detection for built-in.a
        net: liquidio: clean up Makefile for simpler composite object handling
        lib: zstd: clean up Makefile for simpler composite object handling
        kbuild: link $(real-obj-y) instead of $(obj-y) into built-in.a
        kbuild: rename real-objs-y/m to real-obj-y/m
        kbuild: move modname and modname-multi close to modname_flags
        kbuild: simplify modname calculation
        kbuild: fix modname for composite modules
        kbuild: define KBUILD_MODNAME even if multiple modules share objects
        kbuild: remove unnecessary $(subst $(obj)/, , ...) in modname-multi
        kbuild: Use ls(1) instead of stat(1) to obtain file size
        kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS
        kbuild: move include/config/ksym/* to include/ksym/*
        kbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module
        kbuild: restore autoksyms.h touch to the top Makefile
        kbuild: move 'scripts' target below
        kbuild: remove wrong 'touch' in adjust_autoksyms.sh
        ...
      3b24b837
    • Linus Torvalds's avatar
      Merge branch 'parisc-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · 0734e00e
      Linus Torvalds authored
      Pull parisc updates from Helge Deller:
       "Lots of small enhancements and fixes in this patchset:
      
         - improved the x86-64 compatibility for PCI cards by returning -1UL
           for timed out MMIO transactions (instead of crashing)
      
         - fixed HPMC handler for PAT machines: size needs to be multiple of 16
      
         - prepare machine_power_off() to be able to turn rp3410 and c8000
           machines off via IMPI
      
         - added code to extract machine info for usage with qemu
      
         - some init sections fixes
      
         - lots of fixes for sparse-, ubsan- and uninitalized variables
           warnings"
      
      * 'parisc-4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: Fix out of array access in match_pci_device()
        parisc: Add code generator for Qemu/SeaBIOS machine info
        parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode
        parisc: Fix HPMC handler by increasing size to multiple of 16 bytes
        parisc: Directly call machine_power_off() in power button driver
        parisc: machine_power_off() should call pm_power_off()
        parisc/Kconfig: SMP kernels boot on all machines
        parisc: Silence uninitialized variable warning in dbl_to_sgl_fcnvff()
        parisc: Move various functions and strings to init section
        parisc: Convert MAP_TYPE to cover 4 bits on parisc
        parisc: Force to various endian types for sparse
        parisc/gscps2: Fix sparse warnings
        parisc/led: Fix sparse warnings
        parisc/parport_gsc: Use NULL to avoid sparse warning
        parisc/stifb: Use fb_memset() to avoid sparse warning
      0734e00e
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next · 4608f064
      Linus Torvalds authored
      Pull sparc updates from David Miller:
      
       1) Add support for ADI (Application Data Integrity) found in more
          recent sparc64 cpus. Essentially this is keyed based access to
          virtual memory, and if the key encoded in the virual address is
          wrong you get a trap.
      
          The mm changes were reviewed by Andrew Morton and others.
      
          Work by Khalid Aziz.
      
       2) Validate DAX completion index range properly, from Rob Gardner.
      
       3) Add proper Kconfig deps for DAX driver. From Guenter Roeck.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next:
        sparc64: Make atomic_xchg() an inline function rather than a macro.
        sparc64: Properly range check DAX completion index
        sparc: Make auxiliary vectors for ADI available on 32-bit as well
        sparc64: Oracle DAX driver depends on SPARC64
        sparc64: Update signal delivery to use new helper functions
        sparc64: Add support for ADI (Application Data Integrity)
        mm: Allow arch code to override copy_highpage()
        mm: Clear arch specific VM flags on protection change
        mm: Add address parameter to arch_validate_prot()
        sparc64: Add auxiliary vectors to report platform ADI properties
        sparc64: Add handler for "Memory Corruption Detected" trap
        sparc64: Add HV fault type handlers for ADI related faults
        sparc64: Add support for ADI register fields, ASIs and traps
        mm, swap: Add infrastructure for saving page metadata on swap
        signals, sparc: Add signal codes for ADI violations
      4608f064
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next · 5bb053be
      Linus Torvalds authored
      Pull networking updates from David Miller:
      
       1) Support offloading wireless authentication to userspace via
          NL80211_CMD_EXTERNAL_AUTH, from Srinivas Dasari.
      
       2) A lot of work on network namespace setup/teardown from Kirill Tkhai.
          Setup and cleanup of namespaces now all run asynchronously and thus
          performance is significantly increased.
      
       3) Add rx/tx timestamping support to mv88e6xxx driver, from Brandon
          Streiff.
      
       4) Support zerocopy on RDS sockets, from Sowmini Varadhan.
      
       5) Use denser instruction encoding in x86 eBPF JIT, from Daniel
          Borkmann.
      
       6) Support hw offload of vlan filtering in mvpp2 dreiver, from Maxime
          Chevallier.
      
       7) Support grafting of child qdiscs in mlxsw driver, from Nogah
          Frankel.
      
       8) Add packet forwarding tests to selftests, from Ido Schimmel.
      
       9) Deal with sub-optimal GSO packets better in BBR congestion control,
          from Eric Dumazet.
      
      10) Support 5-tuple hashing in ipv6 multipath routing, from David Ahern.
      
      11) Add path MTU tests to selftests, from Stefano Brivio.
      
      12) Various bits of IPSEC offloading support for mlx5, from Aviad
          Yehezkel, Yossi Kuperman, and Saeed Mahameed.
      
      13) Support RSS spreading on ntuple filters in SFC driver, from Edward
          Cree.
      
      14) Lots of sockmap work from John Fastabend. Applications can use eBPF
          to filter sendmsg and sendpage operations.
      
      15) In-kernel receive TLS support, from Dave Watson.
      
      16) Add XDP support to ixgbevf, this is significant because it should
          allow optimized XDP usage in various cloud environments. From Tony
          Nguyen.
      
      17) Add new Intel E800 series "ice" ethernet driver, from Anirudh
          Venkataramanan et al.
      
      18) IP fragmentation match offload support in nfp driver, from Pieter
          Jansen van Vuuren.
      
      19) Support XDP redirect in i40e driver, from Björn Töpel.
      
      20) Add BPF_RAW_TRACEPOINT program type for accessing the arguments of
          tracepoints in their raw form, from Alexei Starovoitov.
      
      21) Lots of striding RQ improvements to mlx5 driver with many
          performance improvements, from Tariq Toukan.
      
      22) Use rhashtable for inet frag reassembly, from Eric Dumazet.
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1678 commits)
        net: mvneta: improve suspend/resume
        net: mvneta: split rxq/txq init and txq deinit into SW and HW parts
        ipv6: frags: fix /proc/sys/net/ipv6/ip6frag_low_thresh
        net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
        net: bgmac: Correctly annotate register space
        route: check sysctl_fib_multipath_use_neigh earlier than hash
        fix typo in command value in drivers/net/phy/mdio-bitbang.
        sky2: Increase D3 delay to sky2 stops working after suspend
        net/mlx5e: Set EQE based as default TX interrupt moderation mode
        ibmvnic: Disable irqs before exiting reset from closed state
        net: sched: do not emit messages while holding spinlock
        vlan: also check phy_driver ts_info for vlan's real device
        Bluetooth: Mark expected switch fall-throughs
        Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_QCA_ROME
        Bluetooth: btrsi: remove unused including <linux/version.h>
        Bluetooth: hci_bcm: Remove DMI quirk for the MINIX Z83-4
        sh_eth: kill useless check in __sh_eth_get_regs()
        sh_eth: add sh_eth_cpu_data::no_xdfar flag
        ipv6: factorize sk_wmem_alloc updates done by __ip6_append_data()
        ipv4: factorize sk_wmem_alloc updates done by __ip_append_data()
        ...
      5bb053be
    • Linus Torvalds's avatar
      Merge tag 'docs-4.17' of git://git.lwn.net/linux · bb2407a7
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "There's been a fair amount of activity in Documentation/ this time
        around:
      
         - Lots of work aligning Documentation/ABI with reality, done by
           Aishwarya Pant.
      
         - The trace documentation has been converted to RST by Changbin Du
      
         - I thrashed up kernel-doc to deal with a parsing issue and to try to
           make the code more readable. It's still a 20+-year-old Perl hack,
           though.
      
         - Lots of other updates, typo fixes, and more"
      
      * tag 'docs-4.17' of git://git.lwn.net/linux: (82 commits)
        Documentation/process: update FUSE project website
        docs: kernel-doc: fix parsing of arrays
        dmaengine: Fix spelling for parenthesis in dmatest documentation
        dmaengine: Make dmatest.rst indeed reST compatible
        dmaengine: Add note to dmatest documentation about supported channels
        Documentation: magic-numbers: Fix typo
        Documentation: admin-guide: add kvmconfig, xenconfig and tinyconfig commands
        Input: alps - Update documentation for trackstick v3 format
        Documentation: Mention why %p prints ptrval
        COPYING: use the new text with points to the license files
        COPYING: create a new file with points to the Kernel license files
        Input: trackpoint: document sysfs interface
        xfs: Change URL for the project in xfs.txt
        char/bsr: add sysfs interface documentation
        acpi: nfit: document sysfs interface
        block: rbd: update sysfs interface
        Documentation/sparse: fix typo
        Documentation/CodingStyle: Add an example for braces
        docs/vm: update 00-INDEX
        kernel-doc: Remove __sched markings
        ...
      bb2407a7
    • Linus Torvalds's avatar
      Merge tag 'leds_for_4.17-rc1' of... · e40dc662
      Linus Torvalds authored
      Merge tag 'leds_for_4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds
      
      Pull LED updates from Jacek Anaszewski:
       "New LED class driver:
         - add driver for Mellanox regmap LEDs
      
        Improvement to ledtrig-disk:
         - extend disk trigger for reads and writes
      
        Improvements and fixes to existing LED class drivers:
         - add more product/board names for PC Engines APU2
         - fix wrong dmi_match on PC Engines APU LEDs
         - clarify chips supported by LM355x driver
         - fix Kconfig text for MLXCPLD, SYSCON, MC13783, NETXBIG
         - allow leds-mlxcpld compilation for 32 bit arch"
      
      * tag 'leds_for_4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds:
        leds: Fix wrong dmi_match on PC Engines APU LEDs
        leds: Extends disk trigger for reads and writes
        leds: Add more product/board names for PC Engines APU2
        leds: add driver for support Mellanox regmap LEDs for BMC and x86 platform
        leds: fix Kconfig text for MLXCPLD, SYSCON, MC13783, NETXBIG
        leds: Clarify supported chips by LM355x driver
        leds: leds-mlxcpld: Allow compilation for 32 bit arch
      e40dc662
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.17' of git://github.com/cminyard/linux-ipmi · cc5ada7c
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "Mostly small changes, as usual.
      
        This does add an IPMI BMC server-side driver, to allow a Linux system
        to act as an IPMI controller. That's the biggest change, but it is
        just a new driver that is fairly narrow in use.
      
        The other largish change is removing ACPI SPMI probe support, which
        should have never really been there in the beginning"
      
      * tag 'for-linus-4.17' of git://github.com/cminyard/linux-ipmi:
        ipmi/parisc: Add IPMI chassis poweroff for certain HP PA-RISC and IA-64 servers
        ipmi_ssif: Fix kernel panic at msg_done_handler
        ipmi:pci: Blacklist a Realtek "IPMI" device
        ipmi: Remove ACPI SPMI probing from the system interface driver
        ipmi: Remove ACPI SPMI probing from the SSIF (I2C) driver
        ipmi: missing error code in try_smi_init()
        ipmi: use ARRAY_SIZE for poweroff_functions array sizing calculation
        ipmi: Consolidate cleanup code
        ipmi: Remove some unnecessary initializations
        ipmi: Fix some error cleanup issues
        ipmi: Add or fix SPDX-License-Identifier in all files
        ipmi: Re-use existing macros for built-in properties
        ipmi:pci: Make the PCI defines consistent with normal Linux ones
        ipmi: kcs_bmc: coding-style fixes and use new poll type
        char/ipmi: add documentation for sysfs interface
        ipmi: kcs_bmc: mark expected switch fall-through in kcs_bmc_handle_data
        ipmi: add an Aspeed KCS IPMI BMC driver
        ipmi: add a KCS IPMI BMC driver
      cc5ada7c
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 77624cd2
      Linus Torvalds authored
      Pull pin control bulk updates from Linus Walleij:
       "New drivers:
      
         - Qualcomm SDM845: this is their new flagship SoC platform which
           seems to be targeted at premium mobile handsets.
      
         - Renesas R-Car M3-N SoC.
      
         - Renesas R8A77980 SoC.
      
         - NXP (ex Freescale) i.MX 6SLL SoC.
      
         - Mediatek MT2712 SoC.
      
         - Allwinner H6 SoC.
      
        Improvements:
      
         - Uniphier adds a few new functions and pins.
      
         - Renesas refactorings and additional pin definitions.
      
         - Improved pin groups for Axis Artpec6.
      
        Cleanup:
      
         - Drop the TZ1090 drivers. This platform is no longer maintained and
           is being deleted.
      
         - Drop ST-Ericsson U8540/U9540 support as this was never
           productified.
      
         - Overall minor fixes and janitorial"
      
      * tag 'pinctrl-v4.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: (82 commits)
        pinctrl: uniphier: add UART hardware flow control pin-mux settings
        pinctrl: sunxi: add support for the Allwinner H6 main pin controller
        pinctrl: sunxi: change irq_bank_base to irq_bank_map
        pinctrl: sunxi: introduce IRQ bank conversion function
        pinctrl: sunxi: refactor irq related register function to have desc
        pinctrl: msm8998: Remove owner assignment from platform_driver
        pinctrl: uniphier: divide I2S and S/PDIF audio out pin-mux group
        pinctrl: uniphier: add PXs2 Audio in/out pin-mux settings
        pinctrl/amd: poll InterruptEnable bits in enable_irq
        pinctrl: ocelot: fix gpio direction
        pinctrl: mtk: fix check warnings.
        pintcrl: mtk: support bias-disable of generic and special pins simultaneously
        pinctrl: add mt2712 pinctrl driver
        pinctrl: pinctrl-single: Fix pcs_request_gpio() when bits_per_mux != 0
        pinctrl: imx: Add pinctrl driver support for imx6sll
        dt-bindings: imx: update pinctrl doc for imx6sll
        pinctrl: intel: Implement intel_gpio_get_direction callback
        pinctrl: stm32: add 'depends on HAS_IOMEM' to fix unmet dependency
        pinctrl: mediatek: mtk-common: use true and false for boolean values
        pinctrl: sunxi: always look for apb block
        ...
      77624cd2
    • Linus Torvalds's avatar
      Merge tag 'mmc-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · dc73d6a8
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Export host capabilities through debugfs
         - Export card RCA register via sysfs
         - Improve card initializing sequence while enabling 4-bit bus
         - Export a function to enable/disable wakeup for card detect IRQ
      
        MMC host:
         - dw_mmc: Add support for new hi3798cv200 variant
         - dw_mmc: Remove support for some deprecated DT properties
         - mediatek: Add support for new variant used on MT7622 SoC
         - sdhci: Improve wakeup support for SDIO IRQs
         - sdhci: Improve wakeup support for card detect IRQs
         - sdhci-omap: Add tuning support
         - sdhci_omap: Add UHS-I mode support
         - sunxi: Prepare for runtime PM support via a few re-factorings
         - tmio: deprecate "toshiba,mmc-wrprotect-disable" DT property
         - tmio/renesas_sdhi: Consolidate code supporting write protect
         - tmio: Improve DMA vs PIO handling
         - tmio: Add support for IP-builtin card detection logic"
      
      * tag 'mmc-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (55 commits)
        mmc: renesas_sdhi: replace EXT_ACC with HOST_MODE
        mmc: update sdio_claim_irq documentation
        mmc: Export host capabilities to debugfs.
        mmc: core: Disable HPI for certain Micron (Numonyx) eMMC cards
        mmc: block: fix updating ext_csd caches on ioctl call
        mmc: sunxi: Set our device drvdata earlier
        mmc: sunxi: Move the reset deassertion before enabling the clocks
        mmc: sunxi: Move resources management to separate functions
        mmc: dw_mmc: add support for hi3798cv200 specific extensions of dw-mshc
        dt-bindings: mmc: add bindings for hi3798cv200-dw-mshc
        mmc: core: Export card RCA register via sysfs
        mmc: renesas_sdhi: fix WP detection
        mmc: core: Use memdup_user() rather than duplicating its implementation
        mmc: dw_mmc-rockchip: correct property names in debug
        mmc: sd: Remove redundant err assignment from mmc_read_switch
        mmc: sdio: Check the return value of sdio_enable_4bit_bus
        mmc: core: Don't try UHS-I mode if 4-bit mode isn't supported
        arm64: dts: hi3660: remove 'num-slots' property for dwmmc
        ARM: dts: lpc18xx: remove 'num-slots' property for dwmmc
        arm64: dts: stratix10: remove 'num-slots' property for dwmmc
        ...
      dc73d6a8
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · dabe5184
      Linus Torvalds authored
      Pull HSI updates from Sebastian Reichel:
      
       - spelling/typo fixes
      
       - remove extra error printing for -ENOMEM
      
      * tag 'hsi-for-4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: hsi_char: Delete an error message for a failed memory allocation in hsc_probe()
        HSI: ssi_protocol: fix spelling mistake: "trigerred" -> "triggered"
        HSI: ssi_protocol: Delete an error message for a failed memory allocation in ssi_protocol_probe()
        HSI: ssi_protocol: Fix a typo in two comment lines
      dabe5184
    • Linus Torvalds's avatar
      Merge tag 'for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 3ac684b8
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
      
       - Microsemi Ocelot reset support
      
       - Spreadtrum SC27xx reset support
      
       - generic gpio charger: lot's of cleanups
      
       - axp20x fuel gauge: add AXP813 support
      
       - misc fixes, including one devicetree change for the Nokia N900, that
         has been Acked-by Tony Lindgren
      
      * tag 'for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (27 commits)
        power: reset: at91-reset: Switch from the pr_*() to the dev_*() logging functions
        power: reset: at91-poweroff: Remove redundant dev_err call in at91_poweroff_probe()
        power: reset: at91-poweroff: Switch from the pr_*() to the dev_*() logging functions
        power: reset: make function sc27xx_poweroff_shutdown static
        power: supply: da9150-fg: remove VLA usage
        ARM: dts: omap3-n900: Add link between battery and charger
        power: supply: bq2415x: add DT referencing support
        power: supply: bq27xxx: support missing supplier device
        max17042: propagate of_node to power supply device
        power: supply: axp288_fuel_gauge: Fix full status reporting
        power: supply: axp288_fuel_gauge: Do not register FG on ECS EF20EA
        power: reset: gpio-poweroff: Support for timeout from device property
        dt-bindings: power: reset: gpio-poweroff: Add 'timeout-ms' property
        power: reset: Add Spreadtrum SC27xx PMIC power off support
        power: supply: axp20x_battery: add support for AXP813
        dt-bindings: power: supply: axp20x: add AXP813 battery DT binding
        power: supply: axp20x_battery: use data struct for variant specific code
        power: supply: gpio-charger: Remove pdata from gpio_charger
        power: supply: gpio-charger: Use GPIOF_ACTIVE_LOW for legacy setup
        power: supply: gpio-charger: Remove redundant dev_err call in probe function
        ...
      3ac684b8
    • Linus Torvalds's avatar
      Merge tag 'spi-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 75dcc7ef
      Linus Torvalds authored
      Pull SPI updates from Mark Brown:
       "A quiet release for SPI, some fixes and small updates for individual
        drivers with one bigger change from Linus Walleij which coverts the
        bitbanging SPI driver to use the GPIO descriptor API from Linus
        Walleij.
      
        Since GPIO descriptors were used by platform data this means there's a
        few changes in arch/ making relevant updates for a few platforms and
        one misc driver that are affected"
      
      * tag 'spi-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (24 commits)
        MAINTAINERS: update Andi's e-mail
        spi: spi-atmel: Use correct enum for DMA transfer direction
        spi: sh-msiof: Document R-Car M3-N support
        spi: sh-msiof: Use correct enum for DMA transfer direction
        spi: sprd: Add the support of restarting the system
        spi: sprd: Simplify the transfer function
        spi: Fix unregistration of controller with fixed SPI bus number
        spi: rspi: use correct enum for DMA transfer direction
        spi: jcore: disable ref_clk after getting its rate
        spi: bcm-qspi: fIX some error handling paths
        spi: pxa2xx: Disable runtime PM if controller registration fails
        spi: tegra20-slink: use true and false for boolean values
        spi: Fix scatterlist elements size in spi_map_buf
        spi: atmel: init FIFOs before spi enable
        spi: orion: Prepare space for per-child options
        spi: orion: Make the error message greppable
        spi: orion: Rework GPIO CS handling
        spi: bcm2835aux: Avoid 64-bit arithmetic in xfer len calc
        spi: spi-gpio: Augment device tree bindings
        spi: spi-gpio: Rewrite to use GPIO descriptors
        ...
      75dcc7ef
    • Linus Torvalds's avatar
      Merge tag 'regulator-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · b51c4354
      Linus Torvalds authored
      Pull regulator updates from Mark Brown:
       "A very small set of updates for the regulator API this time around,
        there's a few bug fixes and also:
      
         - Conversion of the regulator API to use GPIO descriptors rather than
           numbers from Linus Walleij.
      
         - New drivers for Marvell 88PG86x and Qualcomm PM8998 and PMI8998"
      
      * tag 'regulator-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: qcom: smd: Add pm8998 and pmi8998 regulators
        regulator: core: Add missing blank line between functions
        regulator: qcom_smd: Drop regulator/{machine,of_regulator} includes
        regulator: giving regulator controlling gpios a non-empty label when used through the devicetree.
        regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
        regulator: 88pg86x: new i2c dual regulator chip
        regulator: 88pg86x: add DT bindings document
        regulator: da9211: Pass descriptors instead of GPIO numbers
        regulator: da9055: Pass descriptor instead of GPIO number
        regulator: core: Support passing an initialized GPIO enable descriptor
        regulator: dt: regulator-name is required property
        regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'
      b51c4354
    • Linus Torvalds's avatar
      Merge tag 'regmap-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · ffd776bf
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "This is a fairly large set of updates for regmap, mainly bugfixes.
      
        The biggest bit of this is some fixes for the bulk operations code
        which had issues in some use cases, Charles Keepax has sorted them
        out. We also gained the ability to use debugfs with syscon regmaps and
        to specify the clock to be used with MMIO regmaps"
      
      * tag 'regmap-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap: (21 commits)
        regmap: debugfs: Improve warning message on debugfs_create_dir() failure
        regmap: debugfs: Free map->debugfs_name when debugfs_create_dir() failed
        regmap: debugfs: Don't leak dummy names
        regmap: debugfs: Disambiguate dummy debugfs file name
        regmap: mmio: Add function to attach a clock
        regmap: Merge redundant handling in regmap_bulk_write
        regmap: Tidy up regmap_raw_write chunking code
        regmap: Move the handling for max_raw_write into regmap_raw_write
        regmap: Remove unnecessary printk for failed allocation
        regmap: Format data for raw write in regmap_bulk_write
        regmap: use debugfs even when no device
        regmap: Allow missing device in regmap_name_read_file()
        regmap: Use _regmap_read in regmap_bulk_read
        regmap: Tidy up regmap_raw_read chunking code
        regmap: Move the handling for max_raw_read into regmap_raw_read
        regmap: Use helper function for register offset
        regmap: Don't use format_val in regmap_bulk_read
        regmap: Correct comparison in regmap_cached
        regmap: Correct offset handling in regmap_volatile_range
        regmap-i2c: Off by one in regmap_i2c_smbus_i2c_read/write()
        ...
      ffd776bf
    • Linus Torvalds's avatar
      Merge tag 'pm-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f2d28566
      Linus Torvalds authored
      Pull power management updates from Rafael Wysocki:
       "These update the cpuidle poll state definition to reduce excessive
        energy usage related to it, add new CPU ID to the RAPL power capping
        driver, update the ACPI system suspend code to handle some special
        cases better, extend the PM core's device links code slightly, add new
        sysfs attribute for better suspend-to-idle diagnostics and easier
        hibernation handling, update power management tools and clean up
        cpufreq quite a bit.
      
        Specifics:
      
         - Modify the cpuidle poll state implementation to prevent CPUs from
           staying in the loop in there for excessive times (Rafael Wysocki).
      
         - Add Intel Cannon Lake chips support to the RAPL power capping
           driver (Joe Konno).
      
         - Add reference counting to the device links handling code in the PM
           core (Lukas Wunner).
      
         - Avoid reconfiguring GPEs on suspend-to-idle in the ACPI system
           suspend code (Rafael Wysocki).
      
         - Allow devices to be put into deeper low-power states via ACPI if
           both _SxD and _SxW are missing (Daniel Drake).
      
         - Reorganize the core ACPI suspend-to-idle wakeup code to avoid a
           keyboard wakeup issue on Asus UX331UA (Chris Chiu).
      
         - Prevent the PCMCIA library code from aborting suspend-to-idle due
           to noirq suspend failures resulting from incorrect assumptions
           (Rafael Wysocki).
      
         - Add coupled cpuidle supprt to the Exynos3250 platform (Marek
           Szyprowski).
      
         - Add new sysfs file to make it easier to specify the image storage
           location during hibernation (Mario Limonciello).
      
         - Add sysfs files for collecting suspend-to-idle usage and time
           statistics for CPU idle states (Rafael Wysocki).
      
         - Update the pm-graph utilities (Todd Brandt).
      
         - Reduce the kernel log noise related to reporting Low-power Idle
           constraings by the ACPI system suspend code (Rafael Wysocki).
      
         - Make it easier to distinguish dedicated wakeup IRQs in the
           /proc/interrupts output (Tony Lindgren).
      
         - Add the frequency table validation in cpufreq to the core and drop
           it from a number of cpufreq drivers (Viresh Kumar).
      
         - Drop "cooling-{min|max}-level" for CPU nodes from a couple of DT
           bindings (Viresh Kumar).
      
         - Clean up the CPU online error code path in the cpufreq core (Viresh
           Kumar).
      
         - Fix assorted issues in the SCPI, CPPC, mediatek and tegra186
           cpufreq drivers (Arnd Bergmann, Chunyu Hu, George Cherian, Viresh
           Kumar).
      
         - Drop memory allocation error messages from a few places in cpufreq
           and cpuildle drivers (Markus Elfring)"
      
      * tag 'pm-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (56 commits)
        ACPI / PM: Fix keyboard wakeup from suspend-to-idle on ASUS UX331UA
        cpufreq: CPPC: Use transition_delay_us depending transition_latency
        PM / hibernate: Change message when writing to /sys/power/resume
        PM / hibernate: Make passing hibernate offsets more friendly
        cpuidle: poll_state: Avoid invoking local_clock() too often
        PM: cpuidle/suspend: Add s2idle usage and time state attributes
        cpuidle: Enable coupled cpuidle support on Exynos3250 platform
        cpuidle: poll_state: Add time limit to poll_idle()
        cpufreq: tegra186: Don't validate the frequency table twice
        cpufreq: speedstep: Don't validate the frequency table twice
        cpufreq: sparc: Don't validate the frequency table twice
        cpufreq: sh: Don't validate the frequency table twice
        cpufreq: sfi: Don't validate the frequency table twice
        cpufreq: scpi: Don't validate the frequency table twice
        cpufreq: sc520: Don't validate the frequency table twice
        cpufreq: s3c24xx: Don't validate the frequency table twice
        cpufreq: qoirq: Don't validate the frequency table twice
        cpufreq: pxa: Don't validate the frequency table twice
        cpufreq: ppc_cbe: Don't validate the frequency table twice
        cpufreq: powernow: Don't validate the frequency table twice
        ...
      f2d28566