Skip to content
  1. Feb 15, 2014
    • Linus Torvalds's avatar
      Merge tag 'edac_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · 3bd354ab
      Linus Torvalds authored
      Pull EDAC fixes from Borislav Petkov:
       "Fix polling timeout setting through sysfs.
      
        You're surely wondering why the patches are not based on an rc.  Well,
        Andrew sent you 79040cad ("drivers/edac/edac_mc_sysfs.c: poll
        timeout cannot be zero sent you") already (it got in in -rc2) but it
        is not enough as a fix because for one, setting too low polling
        intervals (< 1sec) don't make any sense and cause unnecessary polling
        load on the system.
      
        Then, even if we set some interval, we explode with
      
          [ 4143.094342] WARNING: CPU: 1 PID: 0 at kernel/workqueue.c:1393 __queue_work+0x1d7/0x340()
      
        because the workqueue setup path is used also for the timeout period
        resetting and we're doing INIT_DELAYED_WORK() on an already active
        workqueue.  Which is total bollocks.  So this is taken care of by the
        second patch.
      
        I've CCed stable for those two"
      
      * tag 'edac_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        EDAC: Correct workqueue setup path
        EDAC: Poll timeout cannot be zero, p2
      3bd354ab
    • Linus Torvalds's avatar
      Merge tag 'fbdev-fixes-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux · cbc25256
      Linus Torvalds authored
      Pull fbdev fixes from Tomi Valkeinen:
       "Minor fbdev fixes for 3.14"
      
      * tag 'fbdev-fixes-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
        video: Kconfig: Allow more broad selection of the imxfb framebuffer driver.
        video: exynos: Fix S6E8AX0 LCD driver build error
        OMAPDSS: fix fck field types
        OMAPDSS: DISPC: decimation rounding fix
      cbc25256
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 5e57dc81
      Linus Torvalds authored
      Pull block IO fixes from Jens Axboe:
       "Second round of updates and fixes for 3.14-rc2.  Most of this stuff
        has been queued up for a while.  The notable exception is the blk-mq
        changes, which are naturally a bit more in flux still.
      
        The pull request contains:
      
         - Two bug fixes for the new immutable vecs, causing crashes with raid
           or swap.  From Kent.
      
         - Various blk-mq tweaks and fixes from Christoph.  A fix for
           integrity bio's from Nic.
      
         - A few bcache fixes from Kent and Darrick Wong.
      
         - xen-blk{front,back} fixes from David Vrabel, Matt Rushton, Nicolas
           Swenson, and Roger Pau Monne.
      
         - Fix for a vec miscount with integrity vectors from Martin.
      
         - Minor annotations or fixes from Masanari Iida and Rashika Kheria.
      
         - Tweak to null_blk to do more normal FIFO processing of requests
           from Shlomo Pongratz.
      
         - Elevator switching bypass fix from Tejun.
      
         - Softlockup in blkdev_issue_discard() fix when !CONFIG_PREEMPT from
           me"
      
      * 'for-linus' of git://git.kernel.dk/linux-block: (31 commits)
        block: add cond_resched() to potentially long running ioctl discard loop
        xen-blkback: init persistent_purge_work work_struct
        blk-mq: pair blk_mq_start_request / blk_mq_requeue_request
        blk-mq: dont assume rq->errors is set when returning an error from ->queue_rq
        block: Fix cloning of discard/write same bios
        block: Fix type mismatch in ssize_t_blk_mq_tag_sysfs_show
        blk-mq: rework flush sequencing logic
        null_blk: use blk_complete_request and blk_mq_complete_request
        virtio_blk: use blk_mq_complete_request
        blk-mq: rework I/O completions
        fs: Add prototype declaration to appropriate header file include/linux/bio.h
        fs: Mark function as static in fs/bio-integrity.c
        block/null_blk: Fix completion processing from LIFO to FIFO
        block: Explicitly handle discard/write same segments
        block: Fix nr_vecs for inline integrity vectors
        blk-mq: Add bio_integrity setup to blk_mq_make_request
        blk-mq: initialize sg_reserved_size
        blk-mq: handle dma_drain_size
        blk-mq: divert __blk_put_request for MQ ops
        blk-mq: support at_head inserations for blk_execute_rq
        ...
      5e57dc81
    • Linus Torvalds's avatar
      Merge tag 'sound-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 0d25e369
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Again only fixes for HD-audio:
         - regression fixes due to the modularization
         - a few fixups for Dell, Sony and HP laptops
         - a revert of the previous fix as it leads to another regression"
      
      * tag 'sound-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X"
        ALSA: hda - Fix undefined symbol due to builtin/module mixup
        ALSA: hda - Fix mic capture on Sony VAIO Pro 11
        ALSA: hda - Add a headset quirk for Dell XPS 13
        ALSA: hda - Fix inconsistent Mic mute LED
        ALSA: hda - Fix leftover ifdef checks after modularization
      0d25e369
    • Linus Torvalds's avatar
      Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · e8478828
      Linus Torvalds authored
      Pull RDMA/InfiniBand fixes from Roland Dreier:
      
       - Fix some rough edges from the "IP addressing for IBoE" merge
      
       - Other misc fixes, mostly to hardware drivers
      
      * tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (21 commits)
        RDMA/ocrdma: Fix load time panic during GID table init
        RDMA/ocrdma: Fix traffic class shift
        IB/iser: Fix use after free in iser_snd_completion()
        IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to iser connection
        IB/usnic: Fix smatch endianness error
        IB/mlx5: Remove dependency on X86
        mlx5: Add include of <linux/slab.h> because of kzalloc()/kfree() use
        IB/qib: Add missing serdes init sequence
        RDMA/cxgb4: Add missing neigh_release in LE-Workaround path
        IB: Report using RoCE IP based gids in port caps
        IB/mlx4: Build the port IBoE GID table properly under bonding
        IB/mlx4: Do IBoE GID table resets per-port
        IB/mlx4: Do IBoE locking earlier when initializing the GID table
        IB/mlx4: Move rtnl locking to the right place
        IB/mlx4: Make sure GID index 0 is always occupied
        IB/mlx4: Don't allocate range of steerable UD QPs for Ethernet-only device
        RDMA/amso1100: Fix error return code
        RDMA/nes: Fix error return code
        IB/mlx5: Don't set "block multicast loopback" capability
        IB/mlx5: Fix binary compatibility with libmlx5
        ...
      e8478828
    • Linus Torvalds's avatar
      Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging · 85643586
      Linus Torvalds authored
      Pull hwmon fix from Guenter Roeck:
       "Fix arithmetic overflow in ntc_thermistor driver"
      
      * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
        hwmon: (ntc_thermistor) Avoid math overflow
      85643586
    • Linus Torvalds's avatar
      Merge tag 'for-v3.14-fixes' of git://git.infradead.org/battery-2.6 · 0a33d88d
      Linus Torvalds authored
      Pull battery fixes from Dmitry Eremin-Solenikov:
      
       - Fix NULL pointer dereference in max17040 driver
      
       - Add bq2415x dts bindings documentation
      
       - Fix misleading comment in ds2782 driver
      
       - Remove useless check in isp1704 charger driver.
      
      * tag 'for-v3.14-fixes' of git://git.infradead.org/battery-2.6:
        power: max17040: Fix NULL pointer dereference when there is no platform_data
        dt: binding documentation for bq2415x charger
        isp1704_charger: remove useless check in isp1704_charger_probe()
        power: ds2782_battery: Typo in comment
      0a33d88d
    • Roland Dreier's avatar
      Merge branches 'cma', 'cxgb4', 'iser', 'misc', 'mlx4', 'mlx5', 'nes',... · c9459388
      Roland Dreier authored
      Merge branches 'cma', 'cxgb4', 'iser', 'misc', 'mlx4', 'mlx5', 'nes', 'ocrdma', 'qib' and 'usnic' into for-next
      c9459388
    • Devesh Sharma's avatar
      RDMA/ocrdma: Fix load time panic during GID table init · 09de3f13
      Devesh Sharma authored
      
      
      We should use rdma_vlan_dev_real_dev() instead of using vlan_dev_real_dev()
      when building the GID table for a vlan interface.
      
      Signed-off-by: default avatarDevesh Sharma <devesh.sharma@emulex.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      09de3f13
    • Devesh Sharma's avatar
      RDMA/ocrdma: Fix traffic class shift · a61d93d9
      Devesh Sharma authored
      
      
      Use correct value for obtaining traffic class from device
      response for Query QP request.
      
      Signed-off-by: default avatarDevesh Sharma <devesh.sharma@emulex.com>
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      a61d93d9
    • Dan Carpenter's avatar
      IB/iser: Fix use after free in iser_snd_completion() · fd8b48b2
      Dan Carpenter authored
      
      
      We use "tx_desc" again after we free it.
      
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      fd8b48b2
    • Roi Dayan's avatar
      IB/iser: Avoid dereferencing iscsi_iser conn object when not bound to iser connection · 7d9eacf9
      Roi Dayan authored
      
      
      Fix a possible NULL pointer dereference in disconnection flow. This
      can happen if the target disconnected/rejected the connection request,
      e.g before the binding stage between iscsi connection to the transport
      connection.
      
      Signed-off-by: default avatarAlex Tabachnik <alext@mellanox.com>
      Signed-off-by: default avatarRoi Dayan <roid@mellanox.com>
      Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      7d9eacf9
    • Upinder Malhi's avatar
      IB/usnic: Fix smatch endianness error · f809309a
      Upinder Malhi authored
      
      
      Error reported at http://marc.info/?l=linux-rdma&m=138995755801039&w=2
      
      Fix short to int cast for big endian systems.
      
      Signed-off-by: default avatarUpinder Malhi <umalhi@cisco.com>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      f809309a
  2. Feb 14, 2014
  3. Feb 13, 2014
    • Linus Torvalds's avatar
      Merge tag 'stable/for-linus-3.14-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip · 4675348e
      Linus Torvalds authored
      Pull Xen bugfixes from Konrad Rzeszutek Wilk:
       "This has an healthy amount of code being removed - which we do not use
        anymore (the only user of it was ia64 Xen which had been removed
        already).  The other bug-fixes are to make Xen ARM be able to use the
        new event channel mechanism and proper export of header files to
        user-space.
      
        Summary:
         - Fix ARM and Xen FIFO not working.
         - Remove more Xen ia64 vestigates.
         - Fix UAPI missing Xen files"
      
      * tag 'stable/for-linus-3.14-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
        ia64/xen: Remove Xen support for ia64 even more
        xen: install xen/gntdev.h and xen/gntalloc.h
        xen/events: bind all new interdomain events to VCPU0
      4675348e
    • Julia Lawall's avatar
      RDMA/amso1100: Fix error return code · ab576627
      Julia Lawall authored
      
      
      Set the return variable to an error code as done elsewhere in the function.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      
      // </smpl>
      
      Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      ab576627
    • Julia Lawall's avatar
      RDMA/nes: Fix error return code · d07875bd
      Julia Lawall authored
      
      
      Set the return variable to an error code as done elsewhere in the function.
      
      A simplified version of the semantic match that finds this problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      
      // </smpl>
      
      Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
      d07875bd
    • Linus Torvalds's avatar
      Merge tag 'regulator-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 9398a10c
      Linus Torvalds authored
      Pull regulator fixes from Mark Brown:
       "Two driver fixes, one fixing the mapping of interrupts on da9055
        (which previously wouldn't have worked at all) and a fix for reference
        counting OF nodes in the max14577 driver"
      
      * tag 'regulator-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: da9055: Remove use of regmap_irq_get_virq()
        regulator: max14577: Add missing of_node_put
      9398a10c
    • Linus Torvalds's avatar
      Merge tag 'gpio-v3.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · dea054fc
      Linus Torvalds authored
      Pull GPIO fixes from Linus Walleij:
       "Here are some accumulated patches with small fixes for this and that
        in a few GPIO drivers, and a more important fix to an #ifdef in the
        GPIO consumer header.
      
        Summary:
      
         - Get #ifdef's right in the <linux/gpio/consumer.h> header.
      
         - Minor fixes to tb10x, clps711x, bcm281xx, intel-mid and xtensa GPIO
           drivers"
      
      * tag 'gpio-v3.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        gpio: consumer.h: Move forward declarations outside #ifdef
        gpio: tb10x: GPIO_TB10X needs to select GENERIC_IRQ_CHIP
        gpio: clps711x: Add module alias to support module auto loading
        gpio: bcm281xx: Update MODULE_AUTHOR
        gpio: intel-mid: fix the incorrect return of idle callback
        gpio: xtensa: fix build when XCHAL_HAVE_CP is 0
      dea054fc
    • Linus Torvalds's avatar
      Merge tag 'spi-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi · 7df4d0c9
      Linus Torvalds authored
      Pull spi fixes from Mark Brown:
       "A few driver and documentation fixes, plus a fix for double error
        handling which had crept in due to the confusing documentation - it
        wasn't clear if the core or the driver was responsible for cleanup in
        error cases so both tried to do it with unfortunate results"
      
      * tag 'spi-v3.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
        spi: nuc900: Set SPI_LSB_FIRST for master->mode_bits if hw->pdata->lsb is true
        spi: rspi: Document support for Renesas QSPI in Kconfig
        spi: Fix crash with double message finalisation on error handling
        spi: correct the transfer_one_message documentation wording
        spi: document the transfer_one spi_master callback
        spi: spi.h: clarify the documentation of transfer_one
      7df4d0c9
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 641f832c
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Nothing too crazy.
      
        Radeon irq fixes, i915 regression fixes, exynos fixes, tda998x chip
        fixes, and a bunch of msm fixes"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux: (31 commits)
        drm/i915: Pair va_copy with va_end in i915_error_vprintf
        drm/i915: Fix intel_pipe_to_cpu_transcoder for UMS
        drm/i915: Disable dp aux irq on g4x
        drm/msm: bigger synchronization hammer
        drm/exynos: Convert to use the standard hdmi.h header
        drm/exynos: Fix trivial typo
        drm/exynos: Remove unnecessary semicolon
        drm/exynos: Fix multiplatform breakage for ipp/gsc
        drm/exynos: Fix freeing issues in exynos_drm_drv.c
        drm/radeon: add missing include in btc_dpm.c
        drm/radeon/dpm: fix uninitialized read from stack in kv_dpm_late_enable
        drm/radeon: remove useless return
        drm/radeon/dpm: use stored max_vddc rather than looking it up
        drm/radeon/dpm: use the driver state for dpm debugfs
        drm/radeon: fix UVD IRQ support on 7xx
        drm/radeon: fix UVD IRQ support on SI
        drm/msm: fix deadlock in bo create fail path
        drm/msm/mdp4: cursor fixes
        drm/msm/mdp4: pageflip fixes
        drm/msm/mdp5: fix ref leaks in error paths
        ...
      641f832c
    • Martin Kepplinger's avatar
      ALSA: Revert "ALSA: hda/realtek - Avoid invalid COEFs for ALC271X" · 2078600b
      Martin Kepplinger authored
      This reverts commit d3c56568.
      
      The reverted commit breaks audio through headphone line out on
      the Acer TravelMate B113 (Type1Sku0) Notebook, my main work
      machine. I don't know much about it but this fixes my problem.
      Bisected and tested.
      
      Fixes: d3c56568
      
       ('ALSA: hda/realtek - Avoid invalid COEFs for ALC271X')
      Cc: <stable@vger.kernel.org>
      Tested-by: default avatarMartin Kepplinger <martink@posteo.de>
      Signed-off-by: default avatarMartin Kepplinger <martink@posteo.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2078600b
    • Jens Axboe's avatar
      block: add cond_resched() to potentially long running ioctl discard loop · c8123f8c
      Jens Axboe authored
      
      
      When mkfs issues a full device discard and the device only
      supports discards of a smallish size, we can loop in
      blkdev_issue_discard() for a long time. If preempt isn't enabled,
      this can turn into a softlock situation and the kernel will
      start complaining.
      
      Add an explicit cond_resched() at the end of the loop to avoid
      that.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      c8123f8c
  4. Feb 12, 2014
    • Mark Brown's avatar
      Merge remote-tracking branches 'regulator/fix/da9055' and... · 5c306c8a
      Mark Brown authored
      Merge remote-tracking branches 'regulator/fix/da9055' and 'regulator/fix/max14577' into regulator-linus
      5c306c8a
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 45f7fdc2
      Linus Torvalds authored
      Pull powerpc updates from Ben Herrenschmidt:
       "Here is some powerpc goodness for -rc2.  Arguably -rc1 material more
        than -rc2 but I was travelling (again !)
      
        It's mostly bug fixes including regressions, but there are a couple of
        new things that I decided to drop-in.
      
        One is a straightforward patch from Michael to add a bunch of P8 cache
        events to perf.
      
        The other one is a patch by myself to add the direct DMA (iommu
        bypass) for PCIe on Power8 for 64-bit capable devices.  This has been
        around for a while, I had lost track of it.  However it's been in our
        internal kernels we use for testing P8 already and it affects only P8
        related code.  Since P8 is still unreleased the risk is pretty much
        nil at this point"
      
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc/powernv: Add iommu DMA bypass support for IODA2
        powerpc: Fix endian issues in kexec and crash dump code
        powerpc/ppc32: Fix the bug in the init of non-base exception stack for UP
        powerpc/xmon: Don't signal we've entered until we're finished printing
        powerpc/xmon: Fix timeout loop in get_output_lock()
        powerpc/xmon: Don't loop forever in get_output_lock()
        powerpc/perf: Configure BHRB filter before enabling PMU interrupts
        crypto/nx/nx-842: Fix handling of vmalloc addresses
        powerpc/pseries: Select ARCH_RANDOM on pseries
        powerpc/perf: Add Power8 cache & TLB events
        powerpc/relocate fix relocate processing in LE mode
        powerpc: Fix kdump hang issue on p8 with relocation on exception enabled.
        powerpc/pseries: Disable relocation on exception while going down during crash.
        powerpc/eeh: Drop taken reference to driver on eeh_rmv_device
        powerpc: Fix build failure in sysdev/mpic.c for MPIC_WEIRD=y
      45f7fdc2