1. 22 Sep, 2014 18 commits
  2. 21 Sep, 2014 3 commits
    • Linus Torvalds's avatar
      Linux 3.17-rc6 · 0f33be00
      Linus Torvalds authored
      0f33be00
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · dae0af78
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
       "Fixes for ARM, the most notable being the fix from Nathan Lynch to fix
        the state of various registers during execve, to ensure that data
        can't be leaked between two executables.
      
        Fixes from Victor Kamensky for get_user() on big endian platforms,
        since the addition of 8-byte get_user() support broke these fairly
        badly.
      
        A fix from Sudeep Holla for affinity setting when hotplugging CPU 0.
      
        A fix from Stephen Boyd for a perf-induced sleep attempt while atomic.
      
        Lastly, a correctness fix for emulation of the SWP instruction on
        ARMv7+, and a fix for wrong carry handling when updating the
        translation table base address on LPAE platforms"
      
      * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: 8149/1: perf: Don't sleep while atomic when enabling per-cpu interrupts
        ARM: 8148/1: flush TLS and thumbee register state during exec
        ARM: 8151/1: add missing exports for asm functions required by get_user macro
        ARM: 8137/1: fix get_user BE behavior for target variable with size of 8 bytes
        ARM: 8135/1: Fix in-correct barrier usage in SWP{B} emulation
        ARM: 8133/1: use irq_set_affinity with force=false when migrating irqs
        ARM: 8132/1: LPAE: drop wrong carry flag correction after adding TTBR1_OFFSET
      dae0af78
    • Linus Torvalds's avatar
      Merge tag 'media-v3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · c1f03b48
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "some media bug fixes:
         - a Kconfig dependency issue
         - some fixes for af9033/it913x demod to be more reliable and address
           a performance regression
         - cx18: fix an oops on devices with tda8290 tuner
         - two new USB IDs for af9035
         - a couple fixes on smapp driver"
      
      * tag 'media-v3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] af9035: new IDs: add support for PCTV 78e and PCTV 79e
        [media] af9033: feed clock to RF tuner
        [media] it913x: init tuner on attach
        [media] af9033: update IT9135 tuner inittabs
        [media] Kconfig: do not select SPI bus on sub-driver auto-select
        [media] cx18: fix kernel oops with tda8290 tuner
        [media] smiapp: Set sub-device owner
        [media] smiapp: Fix power count handling
      c1f03b48
  3. 20 Sep, 2014 8 commits
  4. 19 Sep, 2014 11 commits
    • Dan Carpenter's avatar
      staging: vt6655: buffer overflow in ioctl · ed87c2b2
      Dan Carpenter authored
      ->u.generic_elem.len is a user controlled number between 0-255.  We
      should limit it to avoid memory corruption.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ed87c2b2
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-fixes-3.17a' of... · 922b83b4
      Greg Kroah-Hartman authored
      Merge tag 'iio-fixes-3.17a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
      
      Jonathan writes:
      
      First round of IIO fixes for the 3.17 cycle.
      
      * Fix an overwritten error return that can prevent deferred probing when
        using of_iio_channel_get_by_name
      * A series that deals with an incorrect reference count when the default
        trigger is set within the main probe routine for a driver.  Can result
        in a double free if the trigger is changed.
      * Fix a buglet with xilinx-xadc concerning setup of the address for an
        aux channel.
      * At91 adc driver could sometimes get a touchscreen reading rather than
        the intended adc channel.  This is fixed by using the channel data register
        instead.
      * Fix some ST magnetometer gain values that differ in production parts from
        the prerelease ones used for driver development.
      922b83b4
    • Mark's avatar
      USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters · c80b4495
      Mark authored
      This patch adds quirks for Entrega Technologies (later Xircom PortGear) USB-
      SCSI converters. They use Shuttle Technology EUSB-01/EUSB-S1 chips. The
      US_FL_SCM_MULT_TARG quirk is needed to allow multiple devices on the SCSI
      chain to be accessed. Without it only the (single) device with SCSI ID 0
      can be used.
      
      The standalone converter sold by Entrega had model number U1-SC25. Xircom
      acquired Entrega and re-branded the product line PortGear. The PortGear USB
      to SCSI Converter (model PGSCSI) is internally identical to the Entrega
      product, but later models may use a different USB ID. The Entrega-branded
      units have USB ID 1645:0007, as does my Xircom PGSCSI, but the Windows and
      Macintosh drivers also support 085A:0028.
      
      Entrega also sold the "Mac USB Dock", which provides two USB ports, a Mac
      (8-pin mini-DIN) serial port and a SCSI port. It appears to the computer as
      a four-port hub, USB-serial, and USB-SCSI converters. The USB-SCSI part may
      have initially used the same ID as the standalone U1-SC25 (1645:0007), but
      later production used 085A:0026.
      
      My Xircom PortGear PGSCSI has bcdDevice=0x0100. Units with bcdDevice=0x0133
      probably also exist.
      
      This patch adds quirks for 1645:0007, 085A:0026 and 085A:0028. The Windows
      driver INF file also mentions 085A:0032 "PortStation SCSI Module", but I
      couldn't find any mention of that actually existing in the wild; perhaps it
      was cancelled before release?
      Signed-off-by: default avatarMark Knibbs <markk@clara.co.uk>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c80b4495
    • Mark's avatar
      USB: storage: Add quirk for Ariston Technologies iConnect USB to SCSI adapter · b6a3ed67
      Mark authored
      Hi,
      
      The Ariston Technologies iConnect 025 and iConnect 050 (also known as e.g.
      iSCSI-50) are SCSI-USB converters which use Shuttle Technology/SCM
      Microsystems chips. Only the connectors differ; both have the same USB ID.
      The US_FL_SCM_MULT_TARG quirk is required to use SCSI devices with ID other
      than 0.
      
      I don't have one of these, but based on the other entries for Shuttle/
      SCM-based converters this patch is very likely correct. I used 0x0000 and
      0x9999 for bcdDeviceMin and bcdDeviceMax because I'm not sure which
      bcdDevice value the products use.
      Signed-off-by: default avatarMark Knibbs <markk@clara.co.uk>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b6a3ed67
    • Mark's avatar
      USB: storage: Add quirk for Adaptec USBConnect 2000 USB-to-SCSI Adapter · 67d365a5
      Mark authored
      The Adaptec USBConnect 2000 is another SCSI-USB converter which uses
      Shuttle Technology/SCM Microsystems chips. The US_FL_SCM_MULT_TARG quirk is
      required to use SCSI devices with ID other than 0.
      
      I don't have a USBConnect 2000, but based on the other entries for Shuttle/
      SCM-based converters this patch is very likely correct. I used 0x0000 and
      0x9999 for bcdDeviceMin and bcdDeviceMax because I'm not sure which
      bcdDevice value the product uses.
      Signed-off-by: default avatarMark Knibbs <markk@clara.co.uk>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      67d365a5
    • Alan Stern's avatar
      USB: EHCI: unlink QHs even after the controller has stopped · 7312b5dd
      Alan Stern authored
      Old code in ehci-hcd tries to expedite disabling endpoints after the
      controller has stopped, by destroying the endpoint's associated QH
      without first unlinking the QH.  This was necessary back when the
      driver wasn't so careful about keeping track of the controller's
      state.
      
      But now we are careful about it, and the driver knows that when the
      controller isn't running, no unlinking delay is needed.  Furthermore,
      skipping the unlink step will trigger a BUG() in qh_destroy() when the
      preceding QH is released, because the link pointer will be non-NULL.
      
      Removing the lines that skip the unlinking step and go directly to
      QH_STATE_IDLE fixes the problem.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Reported-by: default avatarJoe Lawrence <joe.lawrence@stratus.com>
      Tested-by: default avatarJoe Lawrence <joe.lawrence@stratus.com>
      CC: <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7312b5dd
    • Greg Kroah-Hartman's avatar
      Merge tag 'for_3.17-rc' of... · 2d23d8ba
      Greg Kroah-Hartman authored
      Merge tag 'for_3.17-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-linus
      
      Kishon writes:
      
      misc fixes in PHY drivers
      2d23d8ba
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · 46be7b73
      Linus Torvalds authored
      Pull btrfs fixes from Chris Mason:
       "I've got a revert to fix a regression with btrfs device registration,
        and Filipe has part two of his fsync fix from last week"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        Revert "Btrfs: device_list_add() should not update list when mounted"
        Btrfs: set inode's logged_trans/last_log_commit after ranged fsync
      46be7b73
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-3.17-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs · 81770f41
      Linus Torvalds authored
      Pull NFS client fixes from Trond Myklebust:
       "Highligts:
         - fix an Oops in nfs4_open_and_get_state
         - fix an Oops in the nfs4_state_manager
         - fix another bug in the close/open_downgrade code"
      
      * tag 'nfs-for-3.17-5' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
        NFSv4: Fix another bug in the close/open_downgrade code
        NFSv4: nfs4_state_manager() vs. nfs_server_remove_lists()
        NFS: remove BUG possibility in nfs4_open_and_get_state
      81770f41
    • Linus Torvalds's avatar
      Merge tag 'pci-v3.17-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · b29f83aa
      Linus Torvalds authored
      Pull PCI fixes from Bjorn Helgaas:
       "These fix:
      
         - Boot video device detection on dual-GPU Apple systems
         - Hotplug fiascos on VGA switcheroo with radeon & nouveau drivers
         - Boot hang on Freescale i.MX6 systems
         - Excessive "no hotplug settings from platform" warnings
      
        In particular:
      
        Enumeration
          - Don't default exclusively to first video device (Bruno Prémont)
      
        PCI device hotplug
          - Remove "no hotplug settings from platform" warning (Bjorn Helgaas)
          - Add pci_ignore_hotplug() for VGA switcheroo (Bjorn Helgaas)
      
        Freescale i.MX6
          - Put LTSSM in "Detect" state before disabling (Lucas Stach)"
      
      * tag 'pci-v3.17-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        vgaarb: Drop obsolete #ifndef
        vgaarb: Don't default exclusively to first video device with mem+io
        ACPIPHP / radeon / nouveau: Remove acpi_bus_no_hotplug()
        PCI: Remove "no hotplug settings from platform" warning
        PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device
        PCI: imx6: Put LTSSM in "Detect" state before disabling it
        MAINTAINERS: Add Lucas Stach as co-maintainer for i.MX6 PCI driver
      b29f83aa
    • Linus Torvalds's avatar
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 73030efa
      Linus Torvalds authored
      Pull SCSI fixes from James Bottomley:
       "This is a set of three fixes.
      
        One represents a nasty shared tag map regression (another inverted
        condition) caused by recent SCSI MQ patches, one is a longstanding
        potential buffer overrun in the iscsi data buffer and the final one is
        a use after free for the rare bidirectional commands"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        [SCSI] fix for bidi use after free
        [SCSI] fix regression that accidentally disabled block-based tcq
        [SCSI] libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu
      73030efa