1. 12 Jun, 2014 13 commits
    • Linus Torvalds's avatar
      Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux · 682b7c1c
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "This is the main drm merge window pull request, changes all over the
        place, mostly normal levels of churn.
      
        Highlights:
      
        Core drm:
           More cleanups, fix race on connector/encoder naming, docs updates,
           object locking rework in prep for atomic modeset
      
        i915:
           mipi DSI support, valleyview power fixes, cursor size fixes,
           execlist refactoring, vblank improvements, userptr support, OOM
           handling improvements
      
        radeon:
           GPUVM tuning and large page size support, gart fixes, deep color
           HDMI support, HDMI audio cleanups
      
        nouveau:
           - displayport rework should fix lots of issues
           - initial gk20a support
           - gk110b support
           - gk208 fixes
      
        exynos:
           probe order fixes, HDMI changes, IPP consolidation
      
        msm:
           debugfs updates, misc fixes
      
        ast:
           ast2400 support, sync with UMS driver
      
        tegra:
           cleanups, hdmi + hw cursor for Tegra 124.
      
        panel:
           fixes existing panels add some new ones.
      
        ipuv3:
           moved from staging to drivers/gpu"
      
      * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (761 commits)
        drm/nouveau/disp/dp: fix tmds passthrough on dp connector
        drm/nouveau/dp: probe dpcd to determine connectedness
        drm/nv50-: trigger update after all connectors disabled
        drm/nv50-: prepare for attaching a SOR to multiple heads
        drm/gf119-/disp: fix debug output on update failure
        drm/nouveau/disp/dp: make use of postcursor when its available
        drm/g94-/disp/dp: take max pullup value across all lanes
        drm/nouveau/bios/dp: parse lane postcursor data
        drm/nouveau/dp: fix support for dpms
        drm/nouveau: register a drm_dp_aux channel for each dp connector
        drm/g94-/disp: add method to power-off dp lanes
        drm/nouveau/disp/dp: maintain link in response to hpd signal
        drm/g94-/disp: bash and wait for something after changing lane power regs
        drm/nouveau/disp/dp: split link config/power into two steps
        drm/nv50/disp: train PIOR-attached DP from second supervisor
        drm/nouveau/disp/dp: make use of existing output data for link training
        drm/gf119/disp: start removing direct vbios parsing from supervisor
        drm/nv50/disp: start removing direct vbios parsing from supervisor
        drm/nouveau/disp/dp: maintain receiver caps in response to hpd signal
        drm/nouveau/disp/dp: create subclass for dp outputs
        ...
      682b7c1c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 16b90578
      Linus Torvalds authored
      Pull vfs updates from Al Viro:
       "This the bunch that sat in -next + lock_parent() fix.  This is the
        minimal set; there's more pending stuff.
      
        In particular, I really hope to get acct.c fixes merged this cycle -
        we need that to deal sanely with delayed-mntput stuff.  In the next
        pile, hopefully - that series is fairly short and localized
        (kernel/acct.c, fs/super.c and fs/namespace.c).  In this pile: more
        iov_iter work.  Most of prereqs for ->splice_write with sane locking
        order are there and Kent's dio rewrite would also fit nicely on top of
        this pile"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (70 commits)
        lock_parent: don't step on stale ->d_parent of all-but-freed one
        kill generic_file_splice_write()
        ceph: switch to iter_file_splice_write()
        shmem: switch to iter_file_splice_write()
        nfs: switch to iter_splice_write_file()
        fs/splice.c: remove unneeded exports
        ocfs2: switch to iter_file_splice_write()
        ->splice_write() via ->write_iter()
        bio_vec-backed iov_iter
        optimize copy_page_{to,from}_iter()
        bury generic_file_aio_{read,write}
        lustre: get rid of messing with iovecs
        ceph: switch to ->write_iter()
        ceph_sync_direct_write: stop poking into iov_iter guts
        ceph_sync_read: stop poking into iov_iter guts
        new helper: copy_page_from_iter()
        fuse: switch to ->write_iter()
        btrfs: switch to ->write_iter()
        ocfs2: switch to ->write_iter()
        xfs: switch to ->write_iter()
        ...
      16b90578
    • Al Viro's avatar
      lock_parent: don't step on stale ->d_parent of all-but-freed one · c2338f2d
      Al Viro authored
      Dentry that had been through (or into) __dentry_kill() might be seen
      by shrink_dentry_list(); that's normal, it'll be taken off the shrink
      list and freed if __dentry_kill() has already finished.  The problem
      is, its ->d_parent might be pointing to already freed dentry, so
      lock_parent() needs to be careful.
      
      We need to check that dentry hasn't already gone into __dentry_kill()
      *and* grab rcu_read_lock() before dropping ->d_lock - the latter makes
      sure that whatever we see in ->d_parent after dropping ->d_lock it
      won't be freed until we drop rcu_read_lock().
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      c2338f2d
    • Al Viro's avatar
      Merge commit '9f12600f' into for-linus · 9c1d5284
      Al Viro authored
      Backmerge of dcache.c changes from mainline.  It's that, or complete
      rebase...
      
      Conflicts:
      	fs/splice.c
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      9c1d5284
    • Al Viro's avatar
      kill generic_file_splice_write() · 5f073850
      Al Viro authored
      no callers left
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      5f073850
    • Al Viro's avatar
      ceph: switch to iter_file_splice_write() · 3551dd79
      Al Viro authored
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      3551dd79
    • Al Viro's avatar
      shmem: switch to iter_file_splice_write() · f6cb85d0
      Al Viro authored
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      f6cb85d0
    • Al Viro's avatar
      nfs: switch to iter_splice_write_file() · 4da54c21
      Al Viro authored
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      4da54c21
    • Al Viro's avatar
      fs/splice.c: remove unneeded exports · 96f9bc8f
      Al Viro authored
      ocfs2 was using a bunch of splice.c guts...
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      96f9bc8f
    • Al Viro's avatar
      ocfs2: switch to iter_file_splice_write() · 6dc8bc0f
      Al Viro authored
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      6dc8bc0f
    • Al Viro's avatar
      ->splice_write() via ->write_iter() · 8d020765
      Al Viro authored
      iter_file_splice_write() - a ->splice_write() instance that gathers the
      pipe buffers, builds a bio_vec-based iov_iter covering those and feeds
      it to ->write_iter().  A bunch of simple cases coverted to that...
      
      [AV: fixed the braino spotted by Cyrill]
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      8d020765
    • Linus Torvalds's avatar
      Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 5c02c392
      Linus Torvalds authored
      Pull virtio updates from Rusty Russell:
       "Main excitement is a virtio_scsi fix for alloc holding spinlock on the
        abort path, which I refuse to CC stable since (1) I discovered it
        myself, and (2) it's been there forever with no reports"
      
      * tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        virtio_scsi: don't call virtqueue_add_sgs(... GFP_NOIO) holding spinlock.
        virtio-rng: fixes for device registration/unregistration
        virtio-rng: fix boot with virtio-rng device
        virtio-rng: support multiple virtio-rng devices
        virtio_ccw: introduce device_lost in virtio_ccw_device
        virtio: virtio_break_device() to mark all virtqueues broken.
      5c02c392
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 3c81bdd9
      Linus Torvalds authored
      Pull vhost infrastructure updates from Michael S. Tsirkin:
       "This reworks vhost core dropping unnecessary RCU uses in favor of VQ
        mutexes which are used on fast path anyway.  This fixes worst-case
        latency for users which change the memory mappings a lot.  Memory
        allocation for vhost-net now supports fallback on vmalloc (same as for
        vhost-scsi) this makes it possible to create the device on systems
        where memory is very fragmented, with slightly lower performance"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
        vhost: move memory pointer to VQs
        vhost: move acked_features to VQs
        vhost: replace rcu with mutex
        vhost-net: extend device allocation to vmalloc
      3c81bdd9
  2. 11 Jun, 2014 27 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · 7ec6131b
      Linus Torvalds authored
      Pull arch/tile changes from Chris Metcalf:
       "These mostly just address smaller issues reported to me"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
        arch: tile: kernel: unaligned.c: Cleaning up uninitialized variables
        drivers/tty/hvc/hvc_tile.c: use PTR_ERR_OR_ZERO
        replace strict_strto* call with kstrto*
        tile: Update comments for generic idle conversion
        tile: cleanup the comment in init_pgprot
        tile: use BOOTMEM_DEFAULT instead of magic number 0 for reserve_bootmem flags
      7ec6131b
    • Linus Torvalds's avatar
      Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux · 4251c2a6
      Linus Torvalds authored
      Pull module updates from Rusty Russell:
       "Most of this is cleaning up various driver sysfs permissions so we can
        re-add the perm check (we unified the module param and sysfs checks,
        but the module ones were stronger so we weakened them temporarily).
      
        Param parsing gets documented, and also "--" now forces args to be
        handed to init (and ignored by the kernel).
      
        Module NX/RO protections get tightened: we now set them before calling
        parse_args()"
      
      * tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
        module: set nx before marking module MODULE_STATE_COMING.
        samples/kobject/: avoid world-writable sysfs files.
        drivers/hid/hid-picolcd_fb: avoid world-writable sysfs files.
        drivers/staging/speakup/: avoid world-writable sysfs files.
        drivers/regulator/virtual: avoid world-writable sysfs files.
        drivers/scsi/pm8001/pm8001_ctl.c: avoid world-writable sysfs files.
        drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files.
        drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.
        drivers/mtd/devices/docg3.c: avoid world-writable sysfs files.
        speakup: fix incorrect perms on speakup_acntsa.c
        cpumask.h: silence warning with -Wsign-compare
        Documentation: Update kernel-parameters.tx
        param: hand arguments after -- straight to init
        modpost: Fix resource leak in read_dump()
      4251c2a6
    • Linus Torvalds's avatar
      Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux · c31c24b8
      Linus Torvalds authored
      Pull thermal management update from Zhang Rui:
       "Specifics:
      
         - fix a bug in Exynos thermal driver, which overwrites the hardware
           trip point threshold when updating software trigger levels and
           results in emergency shutdown.  From: Tushar Behera.
      
         - add thermal sensor support for Armada 375 and 38x SoCs.  From
           Ezequiel Garcia.
      
         - add TMU (Thermal Management Unit) support for Exynos5260 and
           Exynos5420 SoCs.  From Naveen Krishna Chatradhi.
      
         - add support for the additional digital temperature sensors in the
           Intel SoCs like Bay Trail.  From: Srinivas Pandruvada.
      
         - a couple of cleanups and small fixes from Jingoo Han, Bartlomiej
           Zolnierkiewicz, Geert Uytterhoeven, Jacob Pan, Paul Walmsley and
           Lan,Tianyu"
      
      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (21 commits)
        thermal: spear: remove unnecessary OOM messages
        thermal: exynos: remove unnecessary OOM messages
        thermal: rcar: remove unnecessary OOM messages
        thermal: armada: Support Armada 380 SoC
        thermal: armada: Support Armada 375 SoC
        thermal: armada: Allow to specify an 'inverted readout' sensor
        thermal: armada: Pass the platform_device to init_sensor()
        thermal: armada: Add generic infrastructure to handle the sensor
        thermal: armada: Add infrastructure to support generic formulas
        thermal: armada: Rename armada_thermal_ops struct
        thermal/intel_powerclamp: add newer cpu ids
        thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync()
        thermal: samsung: Only update available threshold limits
        Thermal/int3403: Fix thermal hysteresis unit conversion
        thermal: Intel SoC DTS thermal
        thermal: samsung: Add TMU support for Exynos5260 SoCs
        thermal: samsung: Add TMU support for Exynos5420 SoCs
        thermal: samsung: change base_common to more meaningful base_second
        thermal: samsung: replace inten_ bit fields with intclr_
        thermal: offer Samsung thermal support only when ARCH_EXYNOS is defined
        ...
      c31c24b8
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-3.16-rc1' of... · 7f33e724
      Linus Torvalds authored
      Merge tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm changes from Thierry Reding:
       "The majority of these changes are cleanups and fixes across all
        drivers.  Redundant error messages are removed and more PWM
        controllers set the .can_sleep flag to signal that they can't be used
        in atomic context.
      
        Support is added for the Broadcom Kona family of SoCs and the Intel
        LPSS driver can now probe PCI devices in addition to ACPI devices.
        Upon shutdown, the pwm-backlight driver will now power off the
        backlight.  It also uses the new descriptor-based GPIO API for more
        concise GPIO handling.
      
        A large chunk of these changes also converts platforms to use the
        lookup mechanism rather than relying on the global number space to
        reference PWM devices.  This is largely in preparation for more
        unification and cleanups in future patches.  Eventually it will allow
        the legacy PWM API to be removed"
      
      * tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (38 commits)
        pwm: fsl-ftm: set pwm_chip can_sleep flag
        pwm: ab8500: Fix wrong value shift for disable/enable PWM
        pwm: samsung: do not set manual update bit in pwm_samsung_config
        pwm: lp3943: Set pwm_chip can_sleep flag
        pwm: atmel: set pwm_chip can_sleep flag
        pwm: mxs: set pwm_chip can_sleep flag
        pwm: tiehrpwm: inline accessor functions
        pwm: tiehrpwm: don't build PM related functions when not needed
        pwm-backlight: retrieve configured PWM period
        leds: leds-pwm: retrieve configured PWM period
        ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
        ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
        ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup
        pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
        ARM: pxa: hx4700: initialize all the struct pwm_lookup members
        ARM: OMAP3: Beagle: initialize all the struct pwm_lookup members
        pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data
        ARM: shmobile: armadillo: initialize all struct pwm_lookup members
        pwm: add period and polarity to struct pwm_lookup
        pwm: twl: Really disable twl6030 PWMs
        ...
      7f33e724
    • Linus Torvalds's avatar
      Merge tag 'soc2-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc · 2dc24b0d
      Linus Torvalds authored
      Pull part two of ARM SoC updates from Arnd Bergmann:
       "This is a small follow-up to the larger ARM SoC updates merged last
        week, almost entirely for the keystone platform.
      
        The main change here is to use the new dma-ranges parsing code that
        came in through Russell's ARM tree.  This allows the keystone platform
        to do cache-coherent DMA and to finally support all the available
        physical memory when LPAE is enabled.
      
        Aside from this, the keystone reset driver has been rewritten, and
        there is a small bug fix to allow building the orion5x platform again"
      
      * tag 'soc2-for-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
        ARM: keystone: Drop use of meminfo since its not available anymore
        ARM: orion5x: fix mvebu_mbus_dt_init call
        ARM: configs: keystone: enable reset driver support
        ARM: dts: keystone: update reset node to work with reset driver
        ARM: keystone: remove redundant reset stuff
        ARM: keystone: Update the dma offset for non-dt platform devices
        ARM: keystone: Switch over to coherent memory address space
        ARM: configs: keystone: add MTD_SPI_NOR (new dependency for M25P80)
        ARM: configs: keystone: drop CONFIG_COMMON_CLK_DEBUG
      2dc24b0d
    • Linus Torvalds's avatar
      Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · 2840c566
      Linus Torvalds authored
      Pull reiserfs and ext3 changes from Jan Kara:
       "Big reiserfs cleanup from Jeff, an ext3 deadlock fix, and some small
        cleanups"
      
      * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: (34 commits)
        reiserfs: Fix compilation breakage with CONFIG_REISERFS_CHECK
        ext3: Fix deadlock in data=journal mode when fs is frozen
        reiserfs: call truncate_setsize under tailpack mutex
        fs/jbd/revoke.c: replace shift loop by ilog2
        reiserfs: remove obsolete __constant_cpu_to_le32
        reiserfs: balance_leaf refactor, split up balance_leaf_when_delete
        reiserfs: balance_leaf refactor, format balance_leaf_finish_node
        reiserfs: balance_leaf refactor, format balance_leaf_new_nodes_paste
        reiserfs: balance_leaf refactor, format balance_leaf_paste_right
        reiserfs: balance_leaf refactor, format balance_leaf_insert_right
        reiserfs: balance_leaf refactor, format balance_leaf_paste_left
        reiserfs: balance_leaf refactor, format balance_leaf_insert_left
        reiserfs: balance_leaf refactor, pull out balance_leaf{left, right, new_nodes, finish_node}
        reiserfs: balance_leaf refactor, pull out balance_leaf_finish_node_paste
        reiserfs: balance_leaf refactor pull out balance_leaf_finish_node_insert
        reiserfs: balance_leaf refactor, pull out balance_leaf_new_nodes_paste
        reiserfs: balance_leaf refactor, pull out balance_leaf_new_nodes_insert
        reiserfs: balance_leaf refactor, pull out balance_leaf_paste_right
        reiserfs: balance_leaf refactor, pull out balance_leaf_insert_right
        reiserfs: balance_leaf refactor, pull out balance_leaf_paste_left
        ...
      2840c566
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 859862dd
      Linus Torvalds authored
      Pull btrfs updates from Chris Mason:
       "The biggest change here is Josef's rework of the btrfs quota
        accounting, which improves the in-memory tracking of delayed extent
        operations.
      
        I had been working on Btrfs stack usage for a while, mostly because it
        had become impossible to do long stress runs with slab, lockdep and
        pagealloc debugging turned on without blowing the stack.  Even though
        you upgraded us to a nice king sized stack, I kept most of the
        patches.
      
        We also have some very hard to find corruption fixes, an awesome sysfs
        use after free, and the usual assortment of optimizations, cleanups
        and other fixes"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs: (80 commits)
        Btrfs: convert smp_mb__{before,after}_clear_bit
        Btrfs: fix scrub_print_warning to handle skinny metadata extents
        Btrfs: make fsync work after cloning into a file
        Btrfs: use right type to get real comparison
        Btrfs: don't check nodes for extent items
        Btrfs: don't release invalid page in btrfs_page_exists_in_range()
        Btrfs: make sure we retry if page is a retriable exception
        Btrfs: make sure we retry if we couldn't get the page
        btrfs: replace EINVAL with EOPNOTSUPP for dev_replace raid56
        trivial: fs/btrfs/ioctl.c: fix typo s/substract/subtract/
        Btrfs: fix leaf corruption after __btrfs_drop_extents
        Btrfs: ensure btrfs_prev_leaf doesn't miss 1 item
        Btrfs: fix clone to deal with holes when NO_HOLES feature is enabled
        btrfs: free delayed node outside of root->inode_lock
        btrfs: replace EINVAL with ERANGE for resize when ULLONG_MAX
        Btrfs: fix transaction leak during fsync call
        btrfs: Avoid trucating page or punching hole in a already existed hole.
        Btrfs: update commit root on snapshot creation after orphan cleanup
        Btrfs: ioctl, don't re-lock extent range when not necessary
        Btrfs: avoid visiting all extent items when cloning a range
        ...
      859862dd
    • Linus Torvalds's avatar
      Merge tag 'xfs-for-linus-3.16-rc1' of git://oss.sgi.com/xfs/xfs · 412dd3a6
      Linus Torvalds authored
      Pull xfs updates from Dave Chinner:
       "This update contains:
         - cleanup removing unused function args
         - rework of the filestreams allocator to use dentry cache parent
           lookups
         - new on-disk free inode btree and optimised inode allocator
         - various bug fixes
         - rework of internal attribute API
         - cleanup of superblock feature bit support to remove historic cruft
         - more fixes and minor cleanups
         - added a new directory/attribute geometry abstraction
         - yet more fixes and minor cleanups"
      
      * tag 'xfs-for-linus-3.16-rc1' of git://oss.sgi.com/xfs/xfs: (86 commits)
        xfs: fix xfs_da_args sparse warning in xfs_readdir
        xfs: Fix rounding in xfs_alloc_fix_len()
        xfs: tone down writepage/releasepage WARN_ONs
        xfs: small cleanup in xfs_lowbit64()
        xfs: kill xfs_buf_geterror()
        xfs: xfs_readsb needs to check for magic numbers
        xfs: block allocation work needs to be kswapd aware
        xfs: remove redundant geometry information from xfs_da_state
        xfs: replace attr LBSIZE with xfs_da_geometry
        xfs: pass xfs_da_args to xfs_attr_leaf_newentsize
        xfs: use xfs_da_geometry for block size in attr code
        xfs: remove mp->m_dir_geo from directory logging
        xfs: reduce direct usage of mp->m_dir_geo
        xfs: move node entry counts to xfs_da_geometry
        xfs: convert dir/attr btree threshold to xfs_da_geometry
        xfs: convert m_dirblksize to xfs_da_geometry
        xfs: convert m_dirblkfsbs to xfs_da_geometry
        xfs: convert directory segment limits to xfs_da_geometry
        xfs: convert directory db conversion to xfs_da_geometry
        xfs: convert directory dablk conversion to xfs_da_geometry
        ...
      412dd3a6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 23d4ed53
      Linus Torvalds authored
      Pull block layer fixes from Jens Axboe:
       "Final small batch of fixes to be included before -rc1.  Some general
        cleanups in here as well, but some of the blk-mq fixes we need for the
        NVMe conversion and/or scsi-mq.  The pull request contains:
      
         - Support for not merging across a specified "chunk size", if set by
           the driver.  Some NVMe devices perform poorly for IO that crosses
           such a chunk, so we need to support it generically as part of
           request merging avoid having to do complicated split logic.  From
           me.
      
         - Bump max tag depth to 10Ki tags.  Some scsi devices have a huge
           shared tag space.  Before we failed with EINVAL if a too large tag
           depth was specified, now we truncate it and pass back the actual
           value.  From me.
      
         - Various blk-mq rq init fixes from me and others.
      
         - A fix for enter on a dying queue for blk-mq from Keith.  This is
           needed to prevent oopsing on hot device removal.
      
         - Fixup for blk-mq timer addition from Ming Lei.
      
         - Small round of performance fixes for mtip32xx from Sam Bradshaw.
      
         - Minor stack leak fix from Rickard Strandqvist.
      
         - Two __init annotations from Fabian Frederick"
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        block: add __init to blkcg_policy_register
        block: add __init to elv_register
        block: ensure that bio_add_page() always accepts a page for an empty bio
        blk-mq: add timer in blk_mq_start_request
        blk-mq: always initialize request->start_time
        block: blk-exec.c: Cleaning up local variable address returnd
        mtip32xx: minor performance enhancements
        blk-mq: ->timeout should be cleared in blk_mq_rq_ctx_init()
        blk-mq: don't allow queue entering for a dying queue
        blk-mq: bump max tag depth to 10K tags
        block: add blk_rq_set_block_pc()
        block: add notion of a chunk size for request merging
      23d4ed53
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20140610' of git://git.infradead.org/linux-mtd · e413a19a
      Linus Torvalds authored
      Pull MTD updates from Brian Norris:
       - refactor m25p80.c driver for use as a general SPI NOR framework for
         other drivers which may speak to SPI NOR flash without providing full
         SPI support (i.e., not part of drivers/spi/)
       - new Freescale QuadSPI driver (utilizing new SPI NOR framework)
       - updates for the STMicro "FSM" SPI NOR driver
       - fix sync/flush behavior on mtd_blkdevs
       - fixup subpage write support on a few NAND drivers
       - correct the MTD OOB test for odd-sized OOB areas
       - add BCH-16 support for OMAP NAND
       - fix warnings and trivial refactoring
       - utilize new ECC DT bindings in pxa3xx NAND driver
       - new LPDDR NVM driver
       - address a few assorted bugs caught by Coverity
       - add new imx6sx support for GPMI NAND
       - use a bounce buffer for NAND when non-DMA-able buffers are used
      
      * tag 'for-linus-20140610' of git://git.infradead.org/linux-mtd: (77 commits)
        mtd: gpmi: add gpmi support for imx6sx
        mtd: maps: remove check for CONFIG_MTD_SUPERH_RESERVE
        mtd: bf5xx_nand: use the managed version of kzalloc
        mtd: pxa3xx_nand: make the driver work on big-endian systems
        mtd: nand: omap: fix omap_calculate_ecc_bch() for-loop error
        mtd: nand: r852: correct write_buf loop bounds
        mtd: nand_bbt: handle error case for nand_create_badblock_pattern()
        mtd: nand_bbt: remove unused variable
        mtd: maps: sc520cdp: fix warnings
        mtd: slram: fix unused variable warning
        mtd: pfow: remove unused variable
        mtd: lpddr: fix Kconfig dependency, for I/O accessors
        mtd: nand: pxa3xx: Add supported ECC strength and step size to the DT binding
        mtd: nand: pxa3xx: Use ECC strength and step size devicetree binding
        mtd: nand: pxa3xx: Clean pxa_ecc_init() error handling
        mtd: nand: Warn the user if the selected ECC strength is too weak
        mtd: nand: omap: Documentation: How to select correct ECC scheme for your device ?
        mtd: nand: omap: add support for BCH16_ECC - NAND driver updates
        mtd: nand: omap: add support for BCH16_ECC - ELM driver updates
        mtd: nand: omap: add support for BCH16_ECC - GPMC driver updates
        ...
      e413a19a
    • Linus Torvalds's avatar
      Merge tag 'md/3.16' of git://neil.brown.name/md · 8d0304e6
      Linus Torvalds authored
      Pull md updates from Neil Brown:
       "Assorted md fixes for 3.16
      
        Mostly performance improvements with a few corner-case bug fixes"
      
      * tag 'md/3.16' of git://neil.brown.name/md:
        raid5: speedup sync_request processing
        md/raid5: deadlock between retry_aligned_read with barrier io
        raid5: add an option to avoid copy data from bio to stripe cache
        md/bitmap: remove confusing code from filemap_get_page.
        raid5: avoid release list until last reference of the stripe
        md: md_clear_badblocks should return an error code on failure.
        md/raid56: Don't perform reads to support writes until stripe is ready.
        md: refuse to change shape of array if it is active but read-only
      8d0304e6
    • Jan Kara's avatar
      reiserfs: Fix compilation breakage with CONFIG_REISERFS_CHECK · 19ef1229
      Jan Kara authored
      There was a bug in debug printout when CONFIG_REISERFS_CHECK was
      enabled so one of the assertions in do_balan.c didn't compile. Fix it.
      
      Fixes: 0080e9f9Signed-off-by: default avatarJan Kara <jack@suse.cz>
      19ef1229
    • Dave Airlie's avatar
      Merge branch 'drm-nouveau-next' of... · bc1dfff0
      Dave Airlie authored
      Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-next
      
      display rework fixes lots of displayport issues.
      
      * 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6: (43 commits)
        drm/nouveau/disp/dp: fix tmds passthrough on dp connector
        drm/nouveau/dp: probe dpcd to determine connectedness
        drm/nv50-: trigger update after all connectors disabled
        drm/nv50-: prepare for attaching a SOR to multiple heads
        drm/gf119-/disp: fix debug output on update failure
        drm/nouveau/disp/dp: make use of postcursor when its available
        drm/g94-/disp/dp: take max pullup value across all lanes
        drm/nouveau/bios/dp: parse lane postcursor data
        drm/nouveau/dp: fix support for dpms
        drm/nouveau: register a drm_dp_aux channel for each dp connector
        drm/g94-/disp: add method to power-off dp lanes
        drm/nouveau/disp/dp: maintain link in response to hpd signal
        drm/g94-/disp: bash and wait for something after changing lane power regs
        drm/nouveau/disp/dp: split link config/power into two steps
        drm/nv50/disp: train PIOR-attached DP from second supervisor
        drm/nouveau/disp/dp: make use of existing output data for link training
        drm/gf119/disp: start removing direct vbios parsing from supervisor
        drm/nv50/disp: start removing direct vbios parsing from supervisor
        drm/nouveau/disp/dp: maintain receiver caps in response to hpd signal
        drm/nouveau/disp/dp: create subclass for dp outputs
        ...
      bc1dfff0
    • Brian Norris's avatar
      Merge MTD pullreq from 3.15-rc5 · f1900c79
      Brian Norris authored
      f1900c79
    • Ben Skeggs's avatar
      1ae5a62b
    • Ben Skeggs's avatar
      8777c5c1
    • Ben Skeggs's avatar
      drm/nv50-: trigger update after all connectors disabled · efa366fd
      Ben Skeggs authored
      We were sending the necessary state changes to unset the mode, but
      never actually hit the big GO button unless another modeset happens
      afterwards.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      efa366fd
    • Ben Skeggs's avatar
      e84a35a8
    • Ben Skeggs's avatar
      e32d68c9
    • Ben Skeggs's avatar
      drm/nouveau/disp/dp: make use of postcursor when its available · c33ba689
      Ben Skeggs authored
      And at the same time, obey the spec better wrt out-of-range requests.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      c33ba689
    • Ben Skeggs's avatar
      3e1eb5cf
    • Ben Skeggs's avatar
      7a14bc78
    • Ben Skeggs's avatar
      drm/nouveau/dp: fix support for dpms · 4874322e
      Ben Skeggs authored
      SOR_PWR has no effect to power-off DP links, unlike other SOR protocols.
      
      Instead, on the source side, we cut power to the lanes after having put
      the sink into D3.  Link training takes care of everything required to
      bring it back again.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      4874322e
    • Ben Skeggs's avatar
    • Ben Skeggs's avatar
      ebd6acbb
    • Ben Skeggs's avatar
      drm/nouveau/disp/dp: maintain link in response to hpd signal · 55f083c3
      Ben Skeggs authored
      This previously worked for the most part due to userspace doing a
      modeset in response to HPD interrupts.  This will allow us to
      properly handle cases where sync is lost for other reasons, or if
      userspace isn't caring.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      55f083c3
    • Ben Skeggs's avatar
      drm/g94-/disp: bash and wait for something after changing lane power regs · 13a61757
      Ben Skeggs authored
      Some kind of update?  Needed to make the power-down take effect at least.
      Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
      13a61757