1. 19 Oct, 2013 7 commits
    • Alan Stern's avatar
      USB: EHCI: fix sparse errors · 4a71f242
      Alan Stern authored
      This patch fixes several sparse errors in ehci-hcd introduced by
      commit 3d091a6f (USB: EHCI: AMD periodic frame list table quirk).
      Although the problem fixed by that commit affects only little-endian
      systems, the source code has to use types appropriate for big-endian
      too.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4a71f242
    • Alan Stern's avatar
      USB: EHCI: fix type mismatch in check_intr_schedule · 5d8f681f
      Alan Stern authored
      This patch fixes a type mismatch in ehci-hcd caused by commit
      b35c5009 (USB: EHCI: create per-TT bandwidth tables).  The c_maskp
      parameter in check_intr_schedule() was changed to point to unsigned
      int rather than __hc32, but the prototype declaration wasn't adjusted
      accordingly.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5d8f681f
    • Greg Kroah-Hartman's avatar
      Merge tag 'for-usb-next-2013-10-17' of... · 9afcdb10
      Greg Kroah-Hartman authored
      Merge tag 'for-usb-next-2013-10-17' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci into usb-next
      
      Sarah writes:
      
      xhci: Final patches for 3.13
      
      Hi Greg,
      
      Here's my pull request for usb-next and 3.13.  My xHCI tree is closed
      after this point, since I won't be able to run my full tests while I'm in
      Scotland.  After Kernel Summit, I'll be on vacation with access to email
      from Oct 26th to Nov 6th.
      
      Here's what's in this request:
      
       - Patches to fix USB 2.0 Link PM issues that cause USB 3.0 devices to not
         enumerate or misbehave when plugged into a USB 2.0 port.  Those are
         marked for stable.
      
       - A msec vs jiffies bug fix by xiao jin, which results in fairly harmless
         behavior, and thus isn't marked for stable.
      
       - Xenia's patches to refactor the xHCI command handling code, which makes
         it much more readable and consistent.
      
       - Misc cleanup patches, one by Sachin Kamat and three from Dan Williams.
      
      Here's what's not in this request:
      
       - Dan's two patches to allow the xHCI host to use the "Windows" or "new"
         enumeration scheme.  I did not have time to test those, and I want to
         run them with as many USB devices as I can get a hold of.  That will
         have to wait for 3.14.
      
       - Xenia's patches to remove xhci_readl in favor of readl.  I'll queue
         those for 3.14 after I test them.
      
       - The xHCI streams update, UAS fixes, and usbfs streams support.  I'm not
         comfortable with changes and fixes to that patchset coming in this late.
         I would rather wait for 3.14 and be really sure the streams support is
         stable before we add new userspace API and remove CONFIG_BROKEN from the
         uas driver.
      
       - Julius' patch to clear the port reset bit on hub resume that came in
         a couple days ago.  It looks harmless, but I would rather take the time
         to test and queue it for usb-linus and the stable trees once 3.13-rc1
         is out.
      
      Sarah Sharp
      9afcdb10
    • Greg Kroah-Hartman's avatar
      Merge 3.12-rc6 into usb-next. · 5584cfba
      Greg Kroah-Hartman authored
      We want those USB fixes in here as well.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5584cfba
    • Linus Torvalds's avatar
      Linux 3.12-rc6 · 31d141e3
      Linus Torvalds authored
      31d141e3
    • Thomas Pugliese's avatar
      usb: wusbcore: preserve endianness of cached descriptors · 1653d2f8
      Thomas Pugliese authored
      Do not overwrite the multi-byte fields of usb_wa_descriptor with their
      cpu format values after reading the descriptor.  Leave the values as
      __le16 and swap on use.  This is more consistent with other uses of USB
      descriptors.
      Signed-off-by: default avatarThomas Pugliese <thomas.pugliese@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1653d2f8
    • Thomas Pugliese's avatar
      usb: wusbcore: serialize access to the HWA data out endpoint · 679ee475
      Thomas Pugliese authored
      This patch serializes access to the HWA data transfer out (DTO)
      endpoint.  This prevents a situation where two transfer requests being
      sent concurrently to separate downstream endpoints could interleave
      their transfer request and transfer data packets causing data
      corruption.  The transfer processing code will now attempt to acquire
      the DTO resource before sending a transfer to the HWA.  If it cannot
      acquire the resource, the RPIPE that the transfer is assigned to will
      be placed on a waiting list.  When the DTO resource is released, the
      actor releasing the resource will serivce the RPIPEs that are waiting.
      Signed-off-by: default avatarThomas Pugliese <thomas.pugliese@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      679ee475
  2. 18 Oct, 2013 7 commits
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs · bdeeab62
      Linus Torvalds authored
      Pull btrfs fix from Chris Mason:
       "Sage hit a deadlock with ceph on btrfs, and Josef tracked it down to a
        regression in our initial rc1 pull.  When doing nocow writes we were
        sometimes starting a transaction with locks held"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
        Btrfs: release path before starting transaction in can_nocow_extent
      bdeeab62
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 797afdf7
      Linus Torvalds authored
      Pull ACPI and power management fixes from Rafael Wysocki:
      
       - intel_pstate fix for misbehavior after system resume if sysfs
         attributes are set in a specific way before the corresponding suspend
         from Dirk Brandewie.
      
       - A recent intel_pstate fix has no effect if unsigned long is 32-bit,
         so fix it up to cover that case as well.
      
       - The s3c64xx cpufreq driver was not updated when the index field of
         struct cpufreq_frequency_table was replaced with driver_data, so
         update it now.  From Charles Keepax.
      
       - The Kconfig help text for ACPI_BUTTON still refers to
         /proc/acpi/event that has been dropped recently, so modify it to
         remove that reference.  From Krzysztof Mazur.
      
       - A Lan Tianyu's change adds a missing mutex unlock to an error code
         path in acpi_resume_power_resources().
      
       - Some code related to ACPI power resources, whose very purpose is
         questionable to put it lightly, turns out to cause problems to happen
         during testing on real systems, so remove it completely (we may
         revisit that in the future if there's a compelling enough reason).
         From Rafael J Wysocki and Aaron Lu.
      
      * tag 'pm+acpi-3.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / PM: Drop two functions that are not used any more
        ATA / ACPI: remove power dependent device handling
        cpufreq: s3c64xx: Rename index to driver_data
        ACPI / power: Drop automaitc resume of power resource dependent devices
        intel_pstate: Fix type mismatch warning
        cpufreq / intel_pstate: Fix max_perf_pct on resume
        ACPI: remove /proc/acpi/event from ACPI_BUTTON help
        ACPI / power: Release resource_lock after acpi_power_get_state() return error
      797afdf7
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9219cec5
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
       "Two fixlets:
      
         - fix a (rare-config) build bug
         - fix a next-gen SGI/UV hw/firmware enumeration bug"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86: Update UV3 hub revision ID
        x86/microcode: Correct Kconfig dependencies
      9219cec5
    • Josef Bacik's avatar
      Btrfs: release path before starting transaction in can_nocow_extent · 1bda19eb
      Josef Bacik authored
      We can't be holding tree locks while we try to start a transaction, we will
      deadlock.  Thanks,
      Reported-by: default avatarSage Weil <sage@inktank.com>
      Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
      Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
      1bda19eb
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-fixes' · 981984cb
      Rafael J. Wysocki authored
      * acpi-fixes:
        ACPI / PM: Drop two functions that are not used any more
        ATA / ACPI: remove power dependent device handling
        ACPI / power: Drop automaitc resume of power resource dependent devices
        ACPI: remove /proc/acpi/event from ACPI_BUTTON help
        ACPI / power: Release resource_lock after acpi_power_get_state() return error
      981984cb
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-fixes' · bdbff716
      Rafael J. Wysocki authored
      * pm-fixes:
        cpufreq: s3c64xx: Rename index to driver_data
        intel_pstate: Fix type mismatch warning
        cpufreq / intel_pstate: Fix max_perf_pct on resume
      bdbff716
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 · 04919afb
      Linus Torvalds authored
      Pull CIFS fixes from Steve French:
       "Five small cifs fixes (includes fixes for: unmount hang, 2 security
        related, symlink, large file writes)"
      
      * 'for-linus' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: ntstatus_to_dos_map[] is not terminated
        cifs: Allow LANMAN auth method for servers supporting unencapsulated authentication methods
        cifs: Fix inability to write files >2GB to SMB2/3 shares
        cifs: Avoid umount hangs with smb2 when server is unresponsive
        do not treat non-symlink reparse points as valid symlinks
      04919afb
  3. 17 Oct, 2013 26 commits