1. 15 Jan, 2016 28 commits
  2. 14 Jan, 2016 4 commits
    • Linus Torvalds's avatar
      Merge tag 'xfs-for-linus-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs · 7fdec82a
      Linus Torvalds authored
      Pull xfs updates from Dave Chinner:
       "There's not a lot in this - the main addition is the CRC validation of
        the entire region of the log that the will be recovered, along with
        several log recovery fixes.  Most of the rest is small bug fixes and
        cleanups.
      
        I have three bug fixes still pending, all that address recently fixed
        regressions that I will send to next week after they've had some time
        in for-next.
      
        Summary:
         - extensive CRC validation during log recovery
         - several log recovery bug fixes
         - Various DAX support fixes
         - AGFL size calculation fix
         - various cleanups in preparation for new functionality
         - project quota ENOSPC notification via netlink
         - tracing and debug improvements"
      
      * tag 'xfs-for-linus-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs: (26 commits)
        xfs: handle dquot buffer readahead in log recovery correctly
        xfs: inode recovery readahead can race with inode buffer creation
        xfs: eliminate committed arg from xfs_bmap_finish
        xfs: bmapbt checking on debug kernels too expensive
        xfs: add tracepoints to readpage calls
        xfs: debug mode log record crc error injection
        xfs: detect and trim torn writes during log recovery
        xfs: fix recursive splice read locking with DAX
        xfs: Don't use reserved blocks for data blocks with DAX
        XFS: Use a signed return type for suffix_kstrtoint()
        libxfs: refactor short btree block verification
        libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
        libxfs: use a convenience variable instead of open-coding the fork
        xfs: fix log ticket type printing
        libxfs: make xfs_alloc_fix_freelist non-static
        xfs: make xfs_buf_ioend_async() static
        xfs: send warning of project quota to userspace via netlink
        xfs: get mp from bma->ip in xfs_bmap code
        xfs: print name of verifier if it fails
        libxfs: Optimize the loop for xfs_bitmap_empty
        ...
      7fdec82a
    • Linus Torvalds's avatar
      Merge tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · f9a03ae1
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "This series adds two ioctls to control cached data and fragmented
        files.  Most of the rest fixes missing error cases and bugs that we
        have not covered so far.  Summary:
      
        Enhancements:
         - support an ioctl to execute online file defragmentation
         - support an ioctl to flush cached data
         - speed up shrinking of extent_cache entries
         - handle broken superblock
         - refector dirty inode management infra
         - revisit f2fs_map_blocks to handle more cases
         - reduce global lock coverage
         - add detecting user's idle time
      
        Major bug fixes:
         - fix data race condition on cached nat entries
         - fix error cases of volatile and atomic writes"
      
      * tag 'for-f2fs-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (87 commits)
        f2fs: should unset atomic flag after successful commit
        f2fs: fix wrong memory condition check
        f2fs: monitor the number of background checkpoint
        f2fs: detect idle time depending on user behavior
        f2fs: introduce time and interval facility
        f2fs: skip releasing nodes in chindless extent tree
        f2fs: use atomic type for node count in extent tree
        f2fs: recognize encrypted data in f2fs_fiemap
        f2fs: clean up f2fs_balance_fs
        f2fs: remove redundant calls
        f2fs: avoid unnecessary f2fs_balance_fs calls
        f2fs: check the page status filled from disk
        f2fs: introduce __get_node_page to reuse common code
        f2fs: check node id earily when readaheading node page
        f2fs: read isize while holding i_mutex in fiemap
        Revert "f2fs: check the node block address of newly allocated nid"
        f2fs: cover more area with nat_tree_lock
        f2fs: introduce max_file_blocks in sbi
        f2fs crypto: check CONFIG_F2FS_FS_XATTR for encrypted symlink
        f2fs: introduce zombie list for fast shrinking extent trees
        ...
      f9a03ae1
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 1289ace5
      Linus Torvalds authored
      Pull first round of SCSI updates from James Bottomley:
       "This includes driver updates from the usual suspects (bfa, arcmsr,
        scsi_dh_alua, lpfc, storvsc, cxlflash).
      
        The major change is the addition of the hisi_sas driver, which is an
        ARM platform device for SAS.  The other change of note is an enormous
        style transformation to the atp870u driver (which is our worst written
        SCSI driver)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (169 commits)
        cxlflash: Enable device id for future IBM CXL adapter
        cxlflash: Resolve oops in wait_port_offline
        cxlflash: Fix to resolve cmd leak after host reset
        cxlflash: Removed driver date print
        cxlflash: Fix to avoid virtual LUN failover failure
        cxlflash: Fix to escalate LINK_RESET also on port 1
        storvsc: Tighten up the interrupt path
        storvsc: Refactor the code in storvsc_channel_init()
        storvsc: Properly support Fibre Channel devices
        storvsc: Fix a bug in the layout of the hv_fc_wwn_packet
        mvsas: Add SGPIO support to Marvell 94xx
        mpt3sas: A correction in unmap_resources
        hpsa: Add box and bay information for enclosure devices
        hpsa: Change SAS transport devices to bus 0.
        hpsa: fix path_info_show
        cciss: print max outstanding commands as a hex value
        scsi_debug: Increase the reported optimal transfer length
        lpfc: Update version to 11.0.0.10 for upstream patch set
        lpfc: Use kzalloc instead of kmalloc
        lpfc: Delete unnecessary checks before the function call "mempool_destroy"
        ...
      1289ace5
    • Linus Torvalds's avatar
      Merge tag 'libnvdimm-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · d080827f
      Linus Torvalds authored
      Pull libnvdimm updates from Dan Williams:
       "The bulk of this has appeared in -next and independently received a
        build success notification from the kbuild robot.  The 'for-4.5/block-
        dax' topic branch was rebased over the weekend to drop the "block
        device end-of-life" rework that Al would like to see re-implemented
        with a notifier, and to address bug reports against the badblocks
        integration.
      
        There is pending feedback against "libnvdimm: Add a poison list and
        export badblocks" received last week.  Linda identified some localized
        fixups that we will handle incrementally.
      
        Summary:
      
         - Media error handling: The 'badblocks' implementation that
           originated in md-raid is up-levelled to a generic capability of a
           block device.  This initial implementation is limited to being
           consulted in the pmem block-i/o path.  Later, 'badblocks' will be
           consulted when creating dax mappings.
      
         - Raw block device dax: For virtualization and other cases that want
           large contiguous mappings of persistent memory, add the capability
           to dax-mmap a block device directly.
      
         - Increased /dev/mem restrictions: Add an option to treat all
           io-memory as IORESOURCE_EXCLUSIVE, i.e. disable /dev/mem access
           while a driver is actively using an address range.  This behavior
           is controlled via the new CONFIG_IO_STRICT_DEVMEM option and can be
           overridden by the existing "iomem=relaxed" kernel command line
           option.
      
         - Miscellaneous fixes include a 'pfn'-device huge page alignment fix,
           block device shutdown crash fix, and other small libnvdimm fixes"
      
      * tag 'libnvdimm-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm: (32 commits)
        block: kill disk_{check|set|clear|alloc}_badblocks
        libnvdimm, pmem: nvdimm_read_bytes() badblocks support
        pmem, dax: disable dax in the presence of bad blocks
        pmem: fail io-requests to known bad blocks
        libnvdimm: convert to statically allocated badblocks
        libnvdimm: don't fail init for full badblocks list
        block, badblocks: introduce devm_init_badblocks
        block: clarify badblocks lifetime
        badblocks: rename badblocks_free to badblocks_exit
        libnvdimm, pmem: move definition of nvdimm_namespace_add_poison to nd.h
        libnvdimm: Add a poison list and export badblocks
        nfit_test: Enable DSMs for all test NFITs
        md: convert to use the generic badblocks code
        block: Add badblock management for gendisks
        badblocks: Add core badblock management code
        block: fix del_gendisk() vs blkdev_ioctl crash
        block: enable dax for raw block devices
        block: introduce bdev_file_inode()
        restrict /dev/mem to idle io memory ranges
        arch: consolidate CONFIG_STRICT_DEVM in lib/Kconfig.debug
        ...
      d080827f
  3. 13 Jan, 2016 8 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · cbd88cd4
      Linus Torvalds authored
      Pull s390 updates from Martin Schwidefsky:
       "Among the traditional bug fixes and cleanups are some improvements:
      
         - A tool to generated the facility lists, generating the bit fields
           by hand has been a source of bugs in the past
      
         - The spinlock loop is reordered to avoid bursts of hypervisor calls
      
         - Add support for the open-for-business interface to the service
           element
      
         - The get_cpu call is added to the vdso
      
         - A set of tracepoints is defined for the common I/O layer
      
         - The deprecated sclp_cpi module is removed
      
         - Update default configuration"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (56 commits)
        s390/sclp: fix possible control register corruption
        s390: fix normalization bug in exception table sorting
        s390/configs: update default configurations
        s390/vdso: optimize getcpu system call
        s390: drop smp_mb in vdso_init
        s390: rename struct _lowcore to struct lowcore
        s390/mem_detect: use unsigned longs
        s390/ptrace: get rid of long longs in psw_bits
        s390/sysinfo: add missing SYSIB 1.2.2 multithreading fields
        s390: get rid of CONFIG_SCHED_MC and CONFIG_SCHED_BOOK
        s390/Kconfig: remove pointless 64 bit dependencies
        s390/dasd: fix failfast for disconnected devices
        s390/con3270: testing return kzalloc retval
        s390/hmcdrv: constify hmcdrv_ftp_ops structs
        s390/cio: add NULL test
        s390/cio: Change I/O instructions from inline to normal functions
        s390/cio: Introduce common I/O layer tracepoints
        s390/cio: Consolidate inline assemblies and related data definitions
        s390/cio: Fix incorrect xsch opcode specification
        s390/cio: Remove unused inline assemblies
        ...
      cbd88cd4
    • Linus Torvalds's avatar
      Merge tag 'please-pull-fixefi' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux · 928b3f12
      Linus Torvalds authored
      Pull ia64 build fixes from Tony Luck:
       "The ARM guys broke the ia64 build ...  but gave me fixes, so it's all
        good now"
      
      * tag 'please-pull-fixefi' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux:
        efi: include asm/early_ioremap.h not asm/efi.h to get early_memremap
        ia64: split off early_ioremap() declarations into asm/early_ioremap.h
      928b3f12
    • Linus Torvalds's avatar
      Merge tag 'media/v4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 77a76b04
      Linus Torvalds authored
      Pull second batch of media updates from Mauro Carvalho Chehab:
       "This is the second part of the media patches.  It contains the media
        controller next generation patches, with is the result of one year of
        discussions and development.  It also contains patches to enable media
        controller support at the DVB subsystem.
      
        The goal is to improve the media controller to allow proper support
        for other types of Video4Linux devices (radio and TV ones) and to
        extend the media controller functionality to allow it to be used by
        other subsystems like DVB, ALSA and IIO.
      
        In order to use the new functionality, a new ioctl is needed
        (MEDIA_IOC_G_TOPOLOGY).  As we're still discussing how to pack the
        struct fields of this ioctl in order to avoid compat32 issues, I
        decided to add a patch at the end of this series commenting out the
        new ioctl, in order to postpone the addition of the new ioctl to the
        next Kernel version (4.6).
      
        With that, no userspace visible changes should happen at the media
        controller API, as the existing ioctls are untouched.  Yet, it helps
        DVB, ALSA and IIO developers to develop and test the patches adding
        media controller support there, as the core will contain all required
        internal changes to allow adding support for devices that belong to
        those subsystems"
      
      * tag 'media/v4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (177 commits)
        [media] Postpone the addition of MEDIA_IOC_G_TOPOLOGY
        [media] mxl111sf: Add a tuner entity
        [media] dvbdev: create links on devices with multiple frontends
        [media] media-entitiy: add a function to create multiple links
        [media] dvb-usb-v2: postpone removal of media_device
        [media] dvbdev: Add RF connector if needed
        [media] dvbdev: remove two dead functions if !CONFIG_MEDIA_CONTROLLER_DVB
        [media] call media_device_init() before registering the V4L2 device
        [media] uapi/media.h: Use u32 for the number of graph objects
        [media] media-entity: don't sleep at media_device_register_entity()
        [media] media-entity: increase max number of PADs
        [media] media-entity.h: document the remaining functions
        [media] media-device.h: use just one u32 counter for object ID
        [media] media-entity.h fix documentation for several parameters
        [media] DocBook: document media_entity_graph_walk_cleanup()
        [media] move documentation to the header files
        [media] media: Move MEDIA_ENTITY_MAX_PADS from media-entity.h to media-entity.c
        [media] media: Remove pre-allocated entity enumeration bitmap
        [media] staging: v4l: davinci_vpbe: Use the new media graph walk interface
        [media] staging: v4l: omap4iss: Use the new media graph walk interface
        ...
      77a76b04
    • Linus Torvalds's avatar
      Merge tag 'spi-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 50ae833e
      Linus Torvalds authored
      Pull spi updates from Mark Brown:
       "A quiet release for SPI, not even many driver updates:
      
         - Add a dummy loopback driver for use in exercising framework
           features during development.
      
         - Move the test utilities to tools/ and add support for transferring
           data to and from a file instead of stdin and stdout to spidev_test.
      
         - Support for Mediatek MT2701 and Renesas AG5 deices"
      
      * tag 'spi-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (69 commits)
        spi: loopback: fix typo in MODULE_PARM_DESC
        spi: sun4i: Prevent chip-select from being activated twice before a transfer
        spi: loopback-test: spi_check_rx_ranges can get always done
        spi: loopback-test: rename method spi_test_fill_tx to spi_test_fill_pattern
        spi: loopback-test: write rx pattern also when running without tx_buf
        spi: fsl-espi: expose maximum transfer size limit
        spi: expose master transfer size limitation.
        spi: zynq: use to_platform_device()
        spi: cadence: use to_platform_device()
        spi: mediatek: Add spi support for mt2701 IC
        spi: mediatek: merge all identical compat to mtk_common_compat
        spi: mtk: Add bindings for mediatek MT2701 soc platform
        spi: mediatek: Prevent overflows in FIFO transfers
        spi: s3c64xx: Remove unused platform_device_id entries
        spi: use to_spi_device
        spi: dw: Use SPI_TMOD_TR rather than magic const 0 to set tmode
        spi: imx: defer spi initialization, if DMA engine is
        spi: imx: return error from dma channel request
        spi: imx: enable loopback only for ECSPI controller family
        spi: imx: fix loopback mode setup after controller reset
        ...
      50ae833e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20160112' of git://git.infradead.org/linux-mtd · ac53b2e0
      Linus Torvalds authored
      Pull MTD updates from Brian Norris:
       "Generic MTD:
      
         - populate the MTD device 'of_node' field (and get a proper 'of_node'
           symlink in sysfs)
      
           This yielded some new helper functions, and changes across a
           variety of drivers
      
         - partitioning cleanups, to prepare for better device-tree based
           partitioning in the future
      
           Eliminate a lot of boilerplate for drivers that want to use
           OF-based partition parsing
      
           The DT bindings for this didn't settle yet, so most non-cleanup
           portions are deferred for a future release
      
        NAND:
      
         - embed a struct mtd_info inside struct nand_chip
      
           This is really long overdue; too many drivers have to do the same
           silly boilerplate to allocate and link up two "independent"
           structs, when in fact, everyone is assuming there is an exact 1:1
           relationship between a NAND chips struct and its underlying MTD.
           This aids improved helpers and should make certain abstractions
           easier in the future.
      
           Also causes a lot of churn, helped along by some automated code
           transformations
      
         - add more core support for detecting (and "correcting") bitflips in
           erased pages; requires opt-in by drivers, but at least we kill a
           few bad implementations and hopefully stave off future ones
      
         - pxa3xx_nand: cleanups, a few fixes, and PM improvements
      
         - new JZ4780 NAND driver
      
        SPI NOR:
      
         - provide default erase function, for controllers that just want to
           send the SECTOR_ERASE command directly
      
         - fix some module auto-loading issues with device tree
           ("jedec,spi-nor")
      
         - error handling fixes
      
         - new Mediatek QSPI flash driver
      
        Other:
      
         - cfi: force valid geometry Kconfig (finally!)
      
           This one used to trip up randconfigs occasionally, since bots
           aren't deterred by big scary "advanced configuration" menus
      
        More? Probably. See the commit logs"
      
      * tag 'for-linus-20160112' of git://git.infradead.org/linux-mtd: (168 commits)
        mtd: jz4780_nand: replace if/else blocks with switch/case
        mtd: nand: jz4780: Update ecc correction error codes
        mtd: nandsim: use nand_get_controller_data()
        mtd: jz4780_nand: remove useless mtd->priv = chip assignment
        staging: mt29f_spinand: make use of nand_set/get_controller_data() helpers
        mtd: nand: make use of nand_set/get_controller_data() helpers
        ARM: make use of nand_set/get_controller_data() helpers
        mtd: nand: add helpers to access ->priv
        mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs
        mtd: nand: jz4740: remove custom 'erased check' implementation
        mtd: nand: diskonchip: remove custom 'erased check' implementation
        mtd: nand: davinci: remove custom 'erased check' implementation
        mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions
        mtd: nand: return consistent error codes in ecc.correct() implementations
        doc: dt: mtd: new binding for jz4780-{nand,bch}
        mtd: cfi_cmdset_0001: fixing memory leak and handling failed kmalloc
        mtd: spi-nor: wait until lock/unlock operations are ready
        mtd: tests: consolidate kmalloc/memset 0 call to kzalloc
        jffs2: use to_delayed_work
        mtd: nand: assign reasonable default name for NAND drivers
        ...
      ac53b2e0
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.5' of git://git.code.sf.net/p/openipmi/linux-ipmi · cf09112d
      Linus Torvalds authored
      Pull ipmi updates from Corey Minyard:
       "Some minor changes that have been in linux-next for a while"
      
      * tag 'for-linus-4.5' of git://git.code.sf.net/p/openipmi/linux-ipmi:
        ipmi: Remove unnecessary pci_disable_device.
        char: ipmi: Drop owner assignment from i2c_driver
        ipmi: constify some struct and char arrays
      cf09112d
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 1c5ff2ab
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
       - new driver for eGalaxTouch serial touchscreen
       - new driver for TS-4800 touchscreen
       - an update for Goodix touchscreen driver
       - PS/2 mouse module was reworked to limit number of protocols we try on
         pass-through ports to speed up their detection time
       - wacom_w8001 touchscreen driver now reports pen and touch via separate
         instances of input devices
       - other driver changes
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (42 commits)
        Input: elantech - mark protocols v2 and v3 as semi-mt
        Input: wacom_w8001 - drop use of ABS_MT_TOOL_TYPE
        Input: gpio-keys - fix check for disabling unsupported keys
        Input: omap-keypad - remove dead check
        Input: ti_am335x_tsc - fix HWPEN interrupt handling
        Input: omap-keypad - set tasklet data earlier
        Input: rohm_bu21023 - fix handling of retrying firmware update
        Input: ALPS - report v3 pinnacle trackstick device only if is present
        Input: ALPS - detect trackstick presence for v7 protocol
        Input: pcap_ts - use to_delayed_work
        Input: bma150 - constify bma150_cfg structure
        Input: i8042 - add Fujitsu Lifebook U745 to the nomux list
        Input: egalax_ts_serial - fix potential NULL dereference on error
        Input: uinput - sanity check on ff_effects_max and EV_FF
        Input: uinput - rework ABS validation
        Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl
        Input: goodix - use "inverted_[xy]" flags instead of "rotated_screen"
        Input: goodix - add axis swapping and axis inversion support
        Input: goodix - use goodix_i2c_write_u8 instead of i2c_master_send
        Input: goodix - add power management support
        ...
      1c5ff2ab
    • Linus Torvalds's avatar
      Merge tag 'dmaengine-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma · d6a32277
      Linus Torvalds authored
      Pull dmaengine updates from Vinod Koul:
       "This round we have few new features, new driver and updates to few
        drivers.
      
        The new features to dmaengine core are:
         - Synchronized transfer termination API to terminate the dmaengine
           transfers in synchronized and async fashion as required by users.
           We have its user now in ALSA dmaengine lib, img, at_xdma, axi_dmac
           drivers.
         - Universal API for channel request and start consolidation of
           request flows.  It's user is ompa-dma driver.
         - Introduce reuse of descriptors and use in pxa_dma driver
      
        Add/Remove:
         - New STM32 DMA driver
         - Removal of unused R-Car HPB-DMAC driver
      
        Updates:
         - ti-dma-crossbar updates for supporting eDMA
         - tegra-apb pm updates
         - idma64
         - mv_xor updates
         - ste_dma updates"
      
      * tag 'dmaengine-4.5-rc1' of git://git.infradead.org/users/vkoul/slave-dma: (54 commits)
        dmaengine: mv_xor: add suspend/resume support
        dmaengine: mv_xor: de-duplicate mv_chan_set_mode*()
        dmaengine: mv_xor: remove mv_xor_chan->current_type field
        dmaengine: omap-dma: Add support for DMA filter mapping to slave devices
        dmaengine: edma: Add support for DMA filter mapping to slave devices
        dmaengine: core: Introduce new, universal API to request a channel
        dmaengine: core: Move and merge the code paths using private_candidate
        dmaengine: core: Skip mask matching when it is not provided to private_candidate
        dmaengine: mdc: Correct terminate_all handling
        dmaengine: edma: Add probe callback to edma_tptc_driver
        dmaengine: dw: fix potential memory leak in dw_dma_parse_dt()
        dmaengine: stm32-dma: Fix unchecked deference of chan->desc
        dmaengine: sh: Remove unused R-Car HPB-DMAC driver
        dmaengine: usb-dmac: Document SoC specific compatibility strings
        ste_dma40: Delete an unnecessary variable initialisation in d40_probe()
        ste_dma40: Delete another unnecessary check in d40_probe()
        ste_dma40: Delete an unnecessary check before the function call "kmem_cache_destroy"
        dmaengine: tegra-apb: Free interrupts before killing tasklets
        dmaengine: tegra-apb: Update driver to use GFP_NOWAIT
        dmaengine: tegra-apb: Only save channel state for those in use
        ...
      d6a32277