1. Oct 23, 2018
    • Linus Torvalds's avatar
      Merge tag 'spi-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · b537149a
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "One new core feature here, a small collection of new drivers and a
        bunch of small improvements in existing drivers:
      
         - A new CS_WORD flag for transfers where the chip select is toggled
           at every word, with both a generic implementation and the ability
           for controllers to do this automatically (including a DaVinci one).
      
         - New drivers for Mediatek MT2712, Qualcomm GENI and QSPI, Spreadtrum
           SPI and ST STM32 QSPI plus new IDs for several existing ones"
      
      * tag 'spi-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (86 commits)
        spi: lpspi: add imx8qxp compatible string
        spi: Allow building SPI_BCM63XX_HSSPI on ARM-based SoCs
        spi: omap2-mcspi: Add slave mode support
        spi: omap2-mcspi: Set FIFO DMA trigger level to word length
        spi: omap2-mcspi: Switch to readl_poll_timeout()
        spi: spi-mem: add stm32 qspi controller
        dt-bindings: spi: add stm32 qspi controller
        spi: sh-msiof: document R8A779{7|8}0 bindings
        spi: pic32-sqi: don't pass GFP_DMA32 to dma_alloc_coherent
        MAINTAINERS: Add entry for Broadcom SPI controller
        spi: sh-msiof: fix deferred probing
        spi: imx: use PIO mode if size is small
        spi: imx: correct wml as the last sg length
        spi: imx: move wml setting to later than setup_transfer
        PCI: Provide pci_match_id() with CONFIG_PCI=n
        spi: Make GPIO CSs honour the SPI_NO_CS flag
        spi/spi-pxa2xx: add PXA2xx SSP SPI Controller
        spi: pxa2xx: Add devicetree support
        spi: pxa2xx: Use an enum for type
        spi: spi-geni-qcom: Add SPI driver support for GENI based QUP
        ...
      b537149a
    • Linus Torvalds's avatar
      Merge tag 'regmap-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap · 6214a9fe
      Linus Torvalds authored
      Pull regmap updates from Mark Brown:
       "A small update with a couple of new APIs that are useful for some
        small sets of devices:
      
         - Split up the single_rw flagging to map read and write separately as
           some devices support bulk operations for only read or only write.
      
         - Add a write version of the noinc API.
      
         - Clean up the code for LOG_DEVICE a bit"
      
      * tag 'regmap-v5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
        regmap: use less #ifdef for LOG_DEVICE
        regmap: Add regmap_noinc_write API
        regmap: split up regmap_config.use_single_rw
        regmap: fix comment for regmap.use_single_write
      6214a9fe
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd · a36cf686
      Linus Torvalds authored
      Pull mtd updates from Boris Brezillon:
       "SPI NOR core changes:
         - Support non-uniform erase size
         - Support controllers with limited TX fifo size
      
       Driver changes:
         - m25p80: Re-issue a WREN command after each write access
         - cadence: Pass a proper dir value to dma_[un]map_single()
         - fsl-qspi: Check fsl_qspi_get_seqid() return val make sure 4B
           addressing opcodes are properly handled
         - intel-spi: Add a new PCI entry for Ice Lake
      
       Raw NAND core changes:
         - Two batchs of cleanups of the NAND API, including:
            * Deprecating a lot of interfaces (now replaced by ->exec_op()).
            * Moving code in separate drivers (JEDEC, ONFI), in private files
              (internals), in platform drivers, etc.
            * Functions/structures reordering.
            * Exclusive use of the nand_chip structure instead of the MTD one
              all across the subsystem.
         - Addition of the nand_wait_readrdy/rdy_op() helpers.
      
       Raw NAND controllers drivers changes:
         - Various coccinelle patches.
         - Marvell:
            * Use regmap_update_bits() for syscon access.
            * More documentation.
            * BCH failure path rework.
            * More layouts to be supported.
            * IRQ handler complete() condition fixed.
         - Fsl_ifc:
            * SRAM initialization fixed for newer controller versions.
         - Denali:
            * Fix licenses mismatch and use a SPDX tag.
            * Set SPARE_AREA_SKIP_BYTES register to 8 if unset.
         - Qualcomm:
            * Do not include dma-direct.h.
         - Docg4:
            * Removed.
         - Ams-delta:
            * Use of a GPIO lookup table
            * Internal machinery changes.
      
       Raw NAND chip drivers changes:
         - Toshiba:
            * Add support for Toshiba memory BENAND
            * Pass a single nand_chip object to the status helper.
         - ESMT:
            * New driver to retrieve the ECC requirements from the 5th ID
              byte.
      
        MTD changes:
         - physmap cleanups/fixe
         - gpio-addr-flash cleanups/fixes"
      
      * tag 'mtd/for-4.20' of git://git.infradead.org/linux-mtd: (93 commits)
        jffs2: free jffs2_sb_info through jffs2_kill_sb()
        mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB
        mtd: spi-nor: intel-spi: Add support for Intel Ice Lake SPI serial flash
        mtd: maps: gpio-addr-flash: Convert to gpiod
        mtd: maps: gpio-addr-flash: Replace array with an integer
        mtd: maps: gpio-addr-flash: Use order instead of size
        mtd: spi-nor: fsl-quadspi: Don't let -EINVAL on the bus
        mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
        mtd: spi-nor: Support controllers with limited TX FIFO size
        mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
        mtd: spi-nor: parse SFDP Sector Map Parameter Table
        mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories
        mtd: rawnand: marvell: fix the IRQ handler complete() condition
        mtd: rawnand: denali: set SPARE_AREA_SKIP_BYTES register to 8 if unset
        mtd: rawnand: r852: fix spelling mistake "card_registred" -> "card_registered"
        mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper
        mtd: maps: gpio-addr-flash: Use devm_* functions
        mtd: maps: gpio-addr-flash: Fix ioremapped size
        mtd: maps: gpio-addr-flash: Replace custom printk
        mtd: physmap_of: Release resources on error
        ...
      a36cf686
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · b8e445b6
      Linus Torvalds authored
      Pull hwmon updates from Guenter Roeck:
      
       - Add support for trace events to hwmon core
      
       - Add support for NCT6797D, NCT6798D, MAX31725/6, LTM4686
      
       - Support all AMD Family 15h Model 6xh and Model 7xh processors in
         k10temp driver
      
       - Convert ina3221 driver to _info API
      
       - Fixes, cleanups, and improvements in various drivers
      
      * tag 'hwmon-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (46 commits)
        hwmon: (pmbus) Fix page count auto-detection.
        hwmon: (pmbus) remove redundant 'default n' from Kconfig
        hwmon: (core) Add trace events to _attr_show/store functions
        hwmon: (ina3221) Use _info API to register hwmon device
        hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
        hwmon: (ina3221) Validate shunt resistor value from DT
        hwmon: (tmp421) make const array 'names' static
        hwmon: (core) Add hwmon_in_enable attribute
        hwmon: (ina3221) mark PM functions as __maybe_unused
        hwmon: (ina3221) Read channel input source info from DT
        dt-bindings: hwmon: Add ina3221 documentation
        hwmon: (ina3221) Add suspend and resume functions
        hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
        hwmon: (ina3221) Add INA3221_CONFIG to volatile_table
        MAINTAINERS: Update PMBUS maintainer entry
        hwmon: (pwm-fan) Set fan speed to 0 on suspend
        hwmon: (pwm-fan) Silence error on probe deferral
        hwmon: (scpi-hwmon) remove redundant continue
        hwmon: (nct6775) Add support for NCT6798D
        hwmon: (nct6775) Add support for NCT6797D
        ...
      b8e445b6
    • Linus Torvalds's avatar
      Merge tag 'dma-mapping-4.20' of git://git.infradead.org/users/hch/dma-mapping · cff22949
      Linus Torvalds authored
      Pull dma mapping updates from Christoph Hellwig:
       "First batch of dma-mapping changes for 4.20.
      
        There will be a second PR as some big changes were only applied just
        before the end of the merge window, and I want to give them a few more
        days in linux-next.
      
        Summary:
      
         - mostly more consolidation of the direct mapping code, including
           converting over hexagon, and merging the coherent and non-coherent
           code into a single dma_map_ops instance (me)
      
         - cleanups for the dma_configure/dma_unconfigure callchains (me)
      
         - better handling of dma_masks in odd setups (me, Alexander Duyck)
      
         - better debugging of passing vmalloc address to the DMA API (Stephen
           Boyd)
      
         - CMA command line parsing fix (He Zhe)"
      
      * tag 'dma-mapping-4.20' of git://git.infradead.org/users/hch/dma-mapping: (27 commits)
        dma-direct: respect DMA_ATTR_NO_WARN
        dma-mapping: translate __GFP_NOFAIL to DMA_ATTR_NO_WARN
        dma-direct: document the zone selection logic
        dma-debug: Check for drivers mapping invalid addresses in dma_map_single()
        dma-direct: fix return value of dma_direct_supported
        dma-mapping: move dma_default_get_required_mask under ifdef
        dma-direct: always allow dma mask <= physiscal memory size
        dma-direct: implement complete bus_dma_mask handling
        dma-direct: refine dma_direct_alloc zone selection
        dma-direct: add an explicit dma_direct_get_required_mask
        dma-mapping: make the get_required_mask method available unconditionally
        unicore32: remove swiotlb support
        Revert "dma-mapping: clear dev->dma_ops in arch_teardown_dma_ops"
        dma-mapping: support non-coherent devices in dma_common_get_sgtable
        dma-mapping: consolidate the dma mmap implementations
        dma-mapping: merge direct and noncoherent ops
        dma-mapping: move the dma_coherent flag to struct device
        MIPS: don't select DMA_MAYBE_COHERENT from DMA_PERDEV_COHERENT
        dma-mapping: add the missing ARCH_HAS_SYNC_DMA_FOR_CPU_ALL declaration
        dma-mapping: fix panic caused by passing empty cma command line argument
        ...
      cff22949
    • Linus Torvalds's avatar
      Merge tag 'for-4.20/libata-20181021' of git://git.kernel.dk/linux-block · 13775dac
      Linus Torvalds authored
      Pull libata updates from Jens Axboe:
       "Here are the libata changes queued up for 4.20:
      
         - %pOFn device_node.name conversion (Rob Herring)
      
         - Use LBAM/LBAH password defines instead of hardcoding (Linus
           Walleij)
      
         - Series adding support for the allwinner R40 AHCI controller
           (Corentin Labbe)
      
         - Disable ALPM for Ampere Computing device (Suman Tripathi)
      
         - ahci bcrm fixes (Florian Fainelli)
      
         - Redundant Kconfig defaults (Bartlomiej Zolnierkiewicz)
      
         - Code cleanups (Nathan Chancellor)"
      
      * tag 'for-4.20/libata-20181021' of git://git.kernel.dk/linux-block:
        ata: remove redundant 'default n' from Kconfig
        ata: ep93xx: Use proper enums for directions
        ata: ahci_brcm: Allow using driver or DSL SoCs
        ata: ahci_brcm: Match BCM63138 compatible strings
        ata: ahci_brcm: Allow optional reset controller to be used
        dt-bindings: ata: Document BCM63138 compatible string
        pata_atiixp: Remove unnecessary parentheses
        ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA
        dt-bindings: ata: update ahci_sunxi bindings
        ata: ahci_sunxi: add support for r40
        dt-bindings: ata: ahci-platform: document phy-supply
        ata: ahci_platform: add support for PHY controller regulator
        dt-bindings: ata: ahci-platform: document ahci-supply
        ata: ahci_platform: add support for AHCI controller regulator
        dt-bindings: ata: ahci-platform: fix indentation of target-supply
        libata: Use SMART LBAM/LBAH password defines
        ata: ahci: Convert to using %pOFn instead of device_node.name
      13775dac
    • Linus Torvalds's avatar
      Merge tag 'for-4.20/block-20181021' of git://git.kernel.dk/linux-block · 6ab9e092
      Linus Torvalds authored
      Pull block layer updates from Jens Axboe:
       "This is the main pull request for block changes for 4.20. This
        contains:
      
         - Series enabling runtime PM for blk-mq (Bart).
      
         - Two pull requests from Christoph for NVMe, with items such as;
            - Better AEN tracking
            - Multipath improvements
            - RDMA fixes
            - Rework of FC for target removal
            - Fixes for issues identified by static checkers
            - Fabric cleanups, as prep for TCP transport
            - Various cleanups and bug fixes
      
         - Block merging cleanups (Christoph)
      
         - Conversion of drivers to generic DMA mapping API (Christoph)
      
         - Series fixing ref count issues with blkcg (Dennis)
      
         - Series improving BFQ heuristics (Paolo, et al)
      
         - Series improving heuristics for the Kyber IO scheduler (Omar)
      
         - Removal of dangerous bio_rewind_iter() API (Ming)
      
         - Apply single queue IPI redirection logic to blk-mq (Ming)
      
         - Set of fixes and improvements for ...
      6ab9e092
    • Linus Torvalds's avatar
      Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 52898511
      Linus Torvalds authored
      Pull arm64 updates from Catalin Marinas:
       "Apart from some new arm64 features and clean-ups, this also contains
        the core mmu_gather changes for tracking the levels of the page table
        being cleared and a minor update to the generic
        compat_sys_sigaltstack() introducing COMPAT_SIGMINSKSZ.
      
        Summary:
      
         - Core mmu_gather changes which allow tracking the levels of
           page-table being cleared together with the arm64 low-level flushing
           routines
      
         - Support for the new ARMv8.5 PSTATE.SSBS bit which can be used to
           mitigate Spectre-v4 dynamically without trapping to EL3 firmware
      
         - Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack
      
         - Optimise emulation of MRS instructions to ID_* registers on ARMv8.4
      
         - Support for Common Not Private (CnP) translations allowing threads
           of the same CPU to share the TLB entries
      
         - Accelerated crc32 routines
      
         - Move swapper_pg_dir to the rodata section
      
         - Trap WFI instruction executed in user space
      
         - ARM erratum 1188874 workaround (arch_timer)
      
         - Miscellaneous fixes and clean-ups"
      
      * tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: (78 commits)
        arm64: KVM: Guests can skip __install_bp_hardening_cb()s HYP work
        arm64: cpufeature: Trap CTR_EL0 access only where it is necessary
        arm64: cpufeature: Fix handling of CTR_EL0.IDC field
        arm64: cpufeature: ctr: Fix cpu capability check for late CPUs
        Documentation/arm64: HugeTLB page implementation
        arm64: mm: Use __pa_symbol() for set_swapper_pgd()
        arm64: Add silicon-errata.txt entry for ARM erratum 1188873
        Revert "arm64: uaccess: implement unsafe accessors"
        arm64: mm: Drop the unused cpu parameter
        MAINTAINERS: fix bad sdei paths
        arm64: mm: Use #ifdef for the __PAGETABLE_P?D_FOLDED defines
        arm64: Fix typo in a comment in arch/arm64/mm/kasan_init.c
        arm64: xen: Use existing helper to check interrupt status
        arm64: Use daifflag_restore after bp_hardening
        arm64: daifflags: Use irqflags functions for daifflags
        arm64: arch_timer: avoid unused function warning
        arm64: Trap WFI executed in userspace
        arm64: docs: Document SSBS HWCAP
        arm64: docs: Fix typos in ELF hwcaps
        arm64/kprobes: remove an extra semicolon in arch_prepare_kprobe
        ...
      52898511
  2. Oct 22, 2018
  3. Oct 21, 2018
  4. Oct 20, 2018