Re: 4.1.2: AUKEY CB-H16 13+2port USB3 hub detection

2015-07-22 Thread Sarah Sharp
Adding Mathias Nyman (new USB 3.0 maintainer) and the USB mailing list. On Tue, Jul 21, 2015 at 11:21:18PM +0200, Martin MOKREJŠ wrote: Hi Sarah and Alan, I bought a new toy: 13port USB 3.0 HUB based on VIAlabs 812 chipset with two power-only charging ports: 1x1.5A and 1x2.4A (AUKEY CB-H16,

Re: Driver problem with USB chipset VIA VL812-B2

2015-03-06 Thread Sarah Sharp
, Mathias Nyman. Sarah Sharp [1.] One line summary of the problem: Excessive CPU load when USB 3.0 hub with VIA VL812-B2 chipset is plugged into port served by internal (root) USB 3.0 hub [2.] Full description of the problem/report: I have a HooToo HT-UH005 4-Port USB 3.0 hub (VIA VL812

Re: Fw: USB3: unable to enumerate, device not accepting address

2014-11-05 Thread Sarah Sharp
I'm no longer the USB 3.0 driver maintainer. Please work with Mathias Nyman to fix this issue. Sarah Sharp On Fri, Oct 31, 2014 at 06:01:24PM +0300, parafin wrote: Hi, it was suggested to me that since you are the author of offending commit I should forward this email to you. Also see

Re: Linux xHCI compartmentalization

2014-09-05 Thread Sarah Sharp
company Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ax88179_178a hang over xhci

2014-09-05 Thread Sarah Sharp
? Or all USB devices under xHCI stop working? Or the xHCI driver causes a kernel oops? What's the failure mode? Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Similar Elan Touchscreen reset behaviour

2014-09-04 Thread Sarah Sharp
being loaded, but won't stop it from being enumerated. I think there's a way for userspace to claim a particular port so that the kernel doesn't even do enumeration, but I can't remember the interface. Maybe Mathias or Alan knows? Sarah Sharp -- To unsubscribe from this list: send the line

Re: ax88179_178a hang over xhci

2014-09-04 Thread Sarah Sharp
Hi Andrea, I'm no longer the xHCI driver maintainer. Please work with Mathias, and Cc the linux-usb mailing list. Sarah Sharp On Wed, Aug 20, 2014 at 04:12:49PM +0200, Andrea Arcangeli wrote: Hi Sarah, just a short followup on this. I still had 1gbps hangs with the 0b95:1790 ASIX

Re: Kernel 3.16.0 USB crash

2014-08-14 Thread Sarah Sharp
Adding Mathias Nyman. He is now the USB 3.0 maintainer. Sarah Sharp On Thu, Aug 14, 2014 at 11:46:33AM +0200, Hans de Goede wrote: Hi, On 08/14/2014 10:39 AM, Claudio Bizzarri wrote: Ciao, thank you very much for replay, you are right: it's UAS module. Now I'm using Ubuntu 14.04

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
means. What commit message are you referencing? What do you mean by remove in from mainline? Try again? Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
version are you working on? Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Problem with D-Link USB 3.0 to Gigabit Ethernet Adapter DUB-1312

2014-07-22 Thread Sarah Sharp
people with xHCI issues to Mathias Nyman, so that he's aware of any problems with the xHCI driver? Thanks, Sarah Sharp On Tue, Jul 22, 2014 at 04:08:01PM +0200, Marek Uher wrote: Hi David, that's not good news. I have three same computers with ASMedia USB Host XHCI Controller. I have also

Re: Problem with Etron EJ168 USB3.0 Host Controller connected to USB 2.0 HUB and mouse/keyboard

2014-07-08 Thread Sarah Sharp
I'm no longer the USB 3.0 maintainer. Please contact Mathias Nyman and the Linux USB mailing list for help. They are on Cc. Thanks, Sarah Sharp On Tue, Jun 24, 2014 at 11:14:50AM +0200, Carsten Koepp wrote: Hi Sarah, from what I've found on the internet your are the maintainer of the xHCI

Re: [PATCH v2] usb: xhci: Correct last context entry calculation for Configure Endpoint

2014-04-30 Thread Sarah Sharp
. In short, I think it's fine to merge Julius' patch to usb-linus and your command queue patches to usb-next. Sarah Sharp [1] https://lkml.org/lkml/2014/4/19/117 On Tue, Apr 29, 2014 at 10:38:17AM -0700, Julius Werner wrote: The current XHCI driver recalculates the Context Entries field in the Slot

Re: [PATCH v2] usb: xhci: Correct last context entry calculation for Configure Endpoint

2014-04-30 Thread Sarah Sharp
Script is attached now. Sarah On Wed, Apr 30, 2014 at 04:04:24PM -0700, Sarah Sharp wrote: Hi Mathias, I tested both this patch and your global command queue patches on top of your for-usb-linus branch. After reverting commit 400362f1d8dc ALSA: usb-audio: Resume mixer values properly, I

Re: [PATCH v2 0/4] xhci: fixes for 3.15-rc usb-linus

2014-04-25 Thread Sarah Sharp
commit to add my Signed-off-by line, I type backporthis, and vim expands it to the longer version. (I've deliberately misspelled it here, so it doesn't get expanded.) Sometimes it takes a couple of round of `git blame` to figure out when the bug was introduced. Sarah Sharp -- To unsubscribe from

Re: Sometimes USB 3.0 disk can't run in SuperSpeed in AMD XHCI controller [1022:7814]

2014-04-23 Thread Sarah Sharp
On Wed, Apr 23, 2014 at 08:16:49AM +0800, Gavin Guo wrote: Hi Sarah, On Wed, Apr 23, 2014 at 7:57 AM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: [Adding Mathias, who is the xHCI driver maintainer as of 3.15.] On Wed, Apr 23, 2014 at 07:23:43AM +0800, Gavin Guo wrote: Hi

Re: [PATCH] xhci: Report max device limit when Enable Slot command fails.

2014-04-08 Thread Sarah Sharp
debugging to. A device may also not get enumerated if it fails to respond to a Set Address control transfer, but that code path already has some nicer printks already. Sarah Sharp p.s. You might want to try to remove your footer when communicating with open source mailing lists. Some kernel devs

[PATCH] xhci: Report max device limit when Enable Slot command fails.

2014-04-07 Thread Sarah Sharp
frustration, and it actually is relevant to kernel development. :) Perhaps the attached patch would have at least saved you some time and frustration in debugging the driver and host issue? Sarah Sharp 8---8 xHCI host controllers may

[PATCH] xhci: Report max device limit when Enable Slot command fails.

2014-04-07 Thread Sarah Sharp
frustration, and it actually is relevant to kernel development. :) Perhaps the attached patch would have at least saved you some time and frustration in debugging the driver and host issue? Sarah Sharp 8---8 xHCI host controllers may

Re: xhci_hcd: Error while assigning device slot ID

2014-04-03 Thread Sarah Sharp
handle at most %d device slots. There's an xHCI capabilities register that gets printed which contains the maximum number of device slots the xHCI host provides. Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org

Re: XHCI ERROR: Transfer error on endpoint

2014-03-28 Thread Sarah Sharp
to implement a fix for this, but it will probably not land until 3.16 or later. I suggest you remove any unconditional ClearHalt requests from your userspace program in the mean time. Sarah Sharp I have tested in following kernel : 3.13.7 3.11.0-18 Both gave the same results. The test has

Re: USB3.0 is not getting detected sometimes

2014-03-24 Thread Sarah Sharp
the output of `sudo lsusb -v` with the USB 3.0 device plugged in? Sarah Sharp Regards, Abhay Kumar On Sun, Mar 23, 2014 at 9:48 AM, Sarah Sharp sarah.a.sh...@linux.intel.comwrote: Cc-ing Mathias Nyman, who is taking over as xHCI maintainer. On Sat, Mar 22, 2014 at 01:46:00AM

Re: usb 3.0 problems with NEC Controller

2014-03-24 Thread Sarah Sharp
Cc'ing Mathias Nyman, who is taking over as xHCI driver maintainer. On Sun, Mar 23, 2014 at 07:16:03PM +0100, baum...@hotmail.com wrote: Hello, I have problems with my USB 3.0 devices; external HDDs (HGST Touro Mobile Pro (Simpletech-Chip), Fantec case with WDC, Asmedia Chip) and a Sandisk

Re: USB3.0 is not getting detected sometimes

2014-03-23 Thread Sarah Sharp
Cc-ing Mathias Nyman, who is taking over as xHCI maintainer. On Sat, Mar 22, 2014 at 01:46:00AM +, Abhay Kumar wrote: Hi, In my linux kernel USB 3.0 pendrive is not getting detected some time.For the same usb port usb2.0 works perfectly. Here is the error message i am getting [

[PATCH 1/1] xhci: Transition maintainership to Mathias Nyman.

2014-03-21 Thread Sarah Sharp
to communicate the speed increase to the device drivers, add new device descriptor parsing to lsusb, but definitely nothing as big as USB 3.0 was. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Signed-off-by: Mathias Nyman mathias.ny...@intel.com --- MAINTAINERS | 2 +- 1 file changed, 1

[GIT PULL] xhci: Maintainership change for 3.15.

2014-03-21 Thread Sarah Sharp
=eb44da0b3aa0105cb38d81c5747a8feae64834be Sarah Sharp (1): xhci: Transition maintainership to Mathias Nyman. MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-usb

Re: Query: Link Power management support for xhci platform driver

2014-03-21 Thread Sarah Sharp
code. There are a few devices out there that support USB 3.0 LPM (Western Digital My Passport, for example). Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: USB host controller disabled after starting capture of webcam

2014-03-21 Thread Sarah Sharp
Cc-ing Mathias Nyman, who is taking over as xHCI maintainer. On Fri, Mar 21, 2014 at 11:22:07AM +0800, Rick Chen wrote: Hi Sarah, I use linux 3.13.6 to test Logitech C310 web cam but encounter the following message and usb controller is disabled and all usb device freeze. [51237.045088]

Re: xhci_hcd FAILS after one scan

2014-03-20 Thread Sarah Sharp
this help you to find a fix. This is a known issue. We have it tracked in our bug tracker, and Mathias is working on a fix on top of the global command queue patches to address this issue. Mathias will contact you when he gets a fix in place. Sarah Sharp -- To unsubscribe from this list: send

Re: status of the xHCI clear halt bug?

2014-03-20 Thread Sarah Sharp
to address some issues in the global command queue patches before starting on this task. Mathias is taking over as xHCI maintainer after 3.15, so he can better provide a timeline for when it will get fixed. Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body

Re: [PATCH v7 03/16] usb: cleanup setting udev-removable from port_dev-connect_type

2014-03-20 Thread Sarah Sharp
a kernel with these patches for my non-Intel host machine (NEC 0.96 host) and make sure they don't break anything. Sarah Sharp On Thu, Mar 20, 2014 at 09:21:56AM -0700, Dan Williams wrote: On Thu, 2014-03-20 at 11:58 -0400, Alan Stern wrote: On Wed, 19 Mar 2014, Dan Williams wrote: Once

Re: [PATCH v7 03/16] usb: cleanup setting udev-removable from port_dev-connect_type

2014-03-20 Thread Sarah Sharp
On Thu, Mar 20, 2014 at 02:52:25PM -0700, Greg KH wrote: On Thu, Mar 20, 2014 at 02:33:33PM -0700, Sarah Sharp wrote: Ok, so it looks like Alan finally acked all the port power off patches. Greg, how are you feeling about taking these for 3.15? I hear that Linus may have to release

Re: [PATCH] xhci: extend quirk for Renesas cards

2014-03-12 Thread Sarah Sharp
of the original bug reports and limit it to only impacted revisions. Although it might be that some delays have been added that fix that. I think you're remembering a different quirk? Sarah Sharp -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord

Re: [PATCH v2] xhci: extend quirk for Renesas cards

2014-03-12 Thread Sarah Sharp
. Same with Acked-by lines. Sarah Sharp On Wed, Mar 12, 2014 at 11:16:24AM +0400, Igor Gnatenko wrote: After suspend another Renesas PCI-X USB 3.0 card doesn't work. [root@fedora-20 ~]# lspci -vmnnd 1912: Device: 03:00.0 Class:USB controller [0c03] Vendor: Renesas

Re: Bug#738113: linux-image-3.12-1-amd64: regression in xhci_hcd: USB3 doesn't work anymore

2014-03-07 Thread Sarah Sharp
On Tue, Feb 11, 2014 at 06:11:09PM +0100, Andreas Cadhalpun wrote: Hi, thanks for looking into the issue. On 11.02.2014 17:40, Sarah Sharp wrote: On Sat, Feb 08, 2014 at 03:56:31AM +, Ben Hutchings wrote: For the benefit of other developers, that change is a revert of commit

Re: xHCI regression in stable 3.13.5 with USB3 card reader (Bisected)

2014-03-06 Thread Sarah Sharp
into the stable kernel in this respect. Bisecting between 3.13.4 and 3.13.5 gives me this: c8f44f98901994832ccecb87c3dd7900274b699a is the first bad commit commit c8f44f98901994832ccecb87c3dd7900274b699a Author: Sarah Sharp sarah.a.sh...@linux.intel.com Date: Fri Jan 31 11:26:25 2014

Re: USB 3 HDD / Pen Drive not working on 3.13.5

2014-03-06 Thread Sarah Sharp
shortly to revert those two commits. Sarah Sharp On Thu, Mar 06, 2014 at 08:57:55PM +0530, Nilesh Govindrajan wrote: I'm unable to access USB 3 Pen drive / HDD on 3.13.5. The same works on 3.13.4 without any problems. The problem happens irrespective of whether the device is plugged in a USB

Re: [RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-03-06 Thread Sarah Sharp
Mar 6 12:03:22 xanatos kernel: [ 1450.882005] [81070750] ? kthread_create_on_node+0x230/0x230 Can you fix this in a second revision? (Note, this does not take priority over reverting those two patches that are causing regressions. Let me know if you need any help with that.) Sarah Sharp

Re: [RFCv3 4/4] xhci: rework command timeout and cancellation,

2014-03-06 Thread Sarah Sharp
be merged. (And again, reverting those patches that were causing xHCI regressions takes priority to fixing this.) Sarah Sharp Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci-hub.c | 11 +- drivers/usb/host/xhci-mem.c | 15 +- drivers/usb/host/xhci

Re: [PATCH v2 RESEND 4/4] xhci: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-03-06 Thread Sarah Sharp
, this should really be two patches. Sarah Sharp Signed-off-by: Alexander Gordeev agord...@redhat.com Cc: Sarah Sharp sarah.a.sh...@linux.intel.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-usb@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/usb/host/xhci.c |7

Re: [PATCH 0/2] target refcounting infrastructure fixes for usb

2014-03-06 Thread Sarah Sharp
Hi James, Sorry for the extremely late ack. These patches work fine when applied against 3.14-rc5, and I can't trigger the oops anymore. Hans' UAS patches are going to be queued for 3.15. Any chance of these patches making it into 3.15 as well? Sarah Sharp On Tue, Jan 21, 2014 at 06:58:39AM

[PATCH 26/76] uas: Avoid unnecessary unlock / lock calls around unlink_data_urbs

2014-03-06 Thread Sarah Sharp
the unnecessary lock dropping and taking. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers

[PATCH 43/76] usb-storage: Don't bind to uas devices if the uas driver is enabled

2014-03-06 Thread Sarah Sharp
hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/unusual_devs.h | 5 + drivers/usb/storage/usb.c | 10 ++ 2 files changed, 15 insertions(+) diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage

[PATCH 14/76] usb-core: Free bulk streams on interface release

2014-03-06 Thread Sarah Sharp
-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/core/driver.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 85e0450a2bc7..08283d40616c

[PATCH 35/76] uas: Add a uas_find_uas_alt_setting helper function

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com This is a preparation patch for teaching usb-storage to not bind to uas devices. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 21 - 1 file

[PATCH 41/76] usb: Reset USB-3 devices on USB-3 link bounce

2014-03-06 Thread Sarah Sharp
it back in a known state. I've verified that doing the device reset also fixes the transfer event with all zeros address issue. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/core/hub.c | 22 -- 1 file

[PATCH 38/76] xhci: The trb_address_map radix tree expects 1KB segment memory aligment

2014-03-06 Thread Sarah Sharp
the radix trees so I believe this is the better fix. Note this patch is mostly theoretical since in practice I've not seen the dma_pool actually return not 1KB aligned memory. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb

[PATCH 44/76] usb-storage: Modify and export adjust_quirks so that it can be used by uas

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/usb.c | 16 ++-- drivers/usb/storage/usb.h | 3 +++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH 02/76] xhci: make warnings greppable

2014-03-06 Thread Sarah Sharp
Neukum oneu...@suse.de Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 0ed64eb68e48..3ec1d8fe06fa

[PATCH 27/76] uas: uas_alloc_cmd_urb: drop unused stream_id parameter

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com The cmd endpoint never has streams, so the stream_id parameter is unused. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH 22/76] uas: add dead request list

2014-03-06 Thread Sarah Sharp
requests lingering around in case of status pipe transfer errors. Signed-off-by: Gerd Hoffmann kra...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 50

[PATCH 07/76] xhci: Set SCT field for Set TR dequeue on streams

2014-03-06 Thread Sarah Sharp
after this the system completely freezes. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 5 - drivers/usb/host/xhci.h | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 59/76] uas: Properly complete inflight commands on bus-reset or disconnect

2014-03-06 Thread Sarah Sharp
on bus-reset or disconnect. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 41 + 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/drivers/usb/storage

[PATCH 10/76] xhci: Remove segments from radix tree on failed insert.

2014-03-06 Thread Sarah Sharp
in xhci_ring_expansion when the ring is a stream ring. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-mem.c | 107 +--- 1 file

[PATCH 55/76] uas: Add suspend/resume support

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/drivers/usb/storage

[PATCH 48/76] uas: Move uas_find_endpoints to uas-detect.h

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com No changes, just the move. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas-detect.h | 27 +++ drivers/usb/storage/uas.c| 27

[PATCH 42/76] uas: Add the posibilty to blacklist uas devices from using the uas driver

2014-03-06 Thread Sarah Sharp
-storage instead). Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas-detect.h | 11 + drivers/usb/storage/uas.c | 17 ++--- drivers/usb/storage/unusual_uas.h | 52

[PATCH 49/76] uas: Drop fixed endpoint config handling

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com The fixed endpoint config code was only necessary to deal with an early uas prototype which has never been released, so lets drop it and enforce proper uas endpoint descriptors. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp

[PATCH 54/76] uas: Use GFP_NOIO rather then GFP_ATOMIC where possible

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com We can sleep in our own workqueue (which is the whole reason for having it), and scsi error handlers are also always called from a context which may sleep. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh

[PATCH 52/76] uas: task_mgmt: Kill the sense-urb if we fail to submit the cmd urb

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/usb/storage/uas.c

[PATCH 67/76] uas: Add some data in/out ready iu sanity checks

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c

[PATCH 60/76] uas: add uas_mark_cmd_dead helper function

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/usb

[PATCH 31/76] uas: s/response_ui/response_iu/

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 2 +- include/linux/usb/uas.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb

[PATCH 61/76] uas: cmdinfo: use only one list head

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com cmds are either on the inflight list or on the dead list, never both, so we only need one list head. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 20

[PATCH 39/76] xhci: Handle MaxPSASize == 0

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index

[PATCH 66/76] uas: Improve error reporting

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 60 --- 1 file changed, 46 insertions(+), 14 deletions(-) diff --git

[PATCH 76/76] xhci: add the meaningful IRQ description if it is empty

2014-03-06 Thread Sarah Sharp
acpi 18:104 IR-IO-APIC-fasteoi ehci_hcd:usb1, ehci_hcd:usb2 19:473 IR-IO-APIC-fasteoi xhci_hcd:usb3 Tested on v3.14-rc4. Signed-off-by: Adrian Huang ahuan...@lenovo.com Reviewed-by: Nagananda Chumbalkar nchumbal...@lenovo.com Signed-off-by: Sarah

[PATCH 62/76] uas: Fix command / task mgmt submission racing with disconnect

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/usb/storage/uas.c b/drivers

[PATCH 71/76] uas: Remove comment about registering a uas scsi controller for each usb bus

2014-03-06 Thread Sarah Sharp
, which is something to avoid if possible Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index

[PATCH 37/76] xhci: xhci_mem_cleanup: make sure cmd_ring_reserved_trbs really is 0

2014-03-06 Thread Sarah Sharp
xhci_resume calls xhci_mem_cleanup if the controller resume fails. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-mem.c b

[PATCH 40/76] usb: Clear host_endpoint-streams when implicitly freeing streams

2014-03-06 Thread Sarah Sharp
streams check in usb_alloc_streams(). Note normally streams still being allocated at reset / set-intf would be a driver bug, but this can happen without it being a driver bug on reset-resume. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com

[PATCH 70/76] uas: Add Hans de Goede as uas maintainer

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com At the kernel-summit Sarah Sharp asked me if I was willing to become the uas maintainer. I said yes, and here is a patch to make this official. Also remove Matthew Wilcox and Sarah Sharp as maintainers at their request. I've also added myself

[PATCH 46/76] uas: Add uas_find_endpoints() helper function

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com This is a preparation patch for adding better descriptor validation. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 34 +++--- 1 file

[PATCH 30/76] uas: Fix reset handling for externally triggered reset

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Handle usb-device resets not triggered from uas_eh_bus_reset_handler(), when this happens, disable cmd queuing during the reset, and wait for existing requests to finish in pre_reset. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah

[PATCH 72/76] xhci: Refactor command watchdog and fix split string.

2014-03-06 Thread Sarah Sharp
at it. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 70 1 file changed, 39 insertions(+), 31 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index b3d27e6467ea..58cbc06ecdf9

[PATCH 64/76] uas: Clear cmdinfo on command queue-ing

2014-03-06 Thread Sarah Sharp
a second time when the error handling cmd completes, corrupting the kernel heap. Clearing cmdinfo on command queue-ing fixes this, and seems like a good idea in general. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage

[PATCH 04/76] xhci: Free streams when they are still allocated on a set_interface call

2014-03-06 Thread Sarah Sharp
...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 6fe577d46fa2..c3fa32a905ec 100644 --- a/drivers/usb/host/xhci.c

[PATCH 56/76] uas: Reset device on reboot

2014-03-06 Thread Sarah Sharp
de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index 7a16ed8e8aac..019f2030ea0c 100644

[PATCH 75/76] xhci: Prevent runtime pm from autosuspending during initialization

2014-03-06 Thread Sarah Sharp
increased during probe. Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com Acked-by: Dan Williams dan.j.willi...@intel.com Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Cc: sta...@vger.kernel.org --- drivers/usb/host/xhci-pci.c | 11

[PATCH 53/76] uas: Don't allow more then one task to run at the same time

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Since we use a fixed tag / stream for tasks we cannot allow more then one to run at the same time. This could happen before this time if a task timed out. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh

[PATCH 21/76] uas: make work list per-device

2014-03-06 Thread Sarah Sharp
. Signed-off-by: Gerd Hoffmann kra...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 106 +++--- 1 file changed, 44 insertions(+), 62 deletions(-) diff --git

[PATCH 28/76] uas: Fix uas not working when plugged into an ehci port

2014-03-06 Thread Sarah Sharp
this, but with the ehci code this causes usb_submit_urb failure. With this fixed the uas code works nicely with an uas device plugged into an ehci port. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 8 1

[PATCH 74/76] storage: accept some UAS devices if streams are unavailable

2014-03-06 Thread Sarah Sharp
2.0 root hub, not USB 3.0 root hub would get marked as being able to support streams.] Signed-off-by: Oliver Neukum oli...@neukum.org Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com Acked-by: Hans de Goede hdego...@redhat.com --- drivers/usb/host/xhci-pci.c | 3 +++ drivers/usb/host

[PATCH 36/76] uas: Move uas detect code to uas-detect.h

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com This is a preparation patch for teaching usb-storage to not bind to uas devices. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas-detect.h | 40

[PATCH 29/76] uas: Fix reset locking

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Fix the uas_eh_bus_reset_handler not properly taking the usbdev lock before calling usb_device_reset, the usb-core expects this lock to be taken when usb_device_reset is called. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp

[PATCH 73/76] xhci: Kill streams URBs when the host dies.

2014-03-06 Thread Sarah Sharp
with a non-zero stream_id would never get killed. Fix this. Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host

[PATCH 51/76] uas: Not being able to alloc streams when connected through usb-3 is an error

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/usb/storage/uas.c

[PATCH 19/76] usbfs: Add support for allocating / freeing streams

2014-03-06 Thread Sarah Sharp
be used. When the app is done using streams it should call USBDEVFS_FREE_STREAMS Note applications are advised to use libusb rather then using the usbdevfs api directly. The latest version of libusb has support for streams. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp

[PATCH 65/76] uas: Use the right error codes for different kinds of errors

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/usb/storage/uas.c b

[PATCH 63/76] uas: Fix memory management

2014-03-06 Thread Sarah Sharp
for us. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 33 ++--- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage

[PATCH 50/76] uas: Verify endpoint descriptors from uas_use_uas_driver()

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas-detect.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/usb/storage/uas-detect.h

[PATCH 68/76] uas: Make sure sg elements are properly aligned

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Copy the sg alignment trick from the usb-storage driver, without this I'm seeing intermittent errors when using uas devices with an ehci controller. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com

[PATCH 32/76] uas: Fix response iu struct definition

2014-03-06 Thread Sarah Sharp
struct definition because the additional response info field is normally filled with zeros, and 0 is the response code value for success. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- include/linux/usb/uas.h | 2 +- 1 file changed, 1

[PATCH 45/76] uas: Honor no-uas quirk set in usb-storage's quirks module parameter

2014-03-06 Thread Sarah Sharp
Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/Kconfig | 2 +- drivers/usb/storage/uas-detect.h | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index 1dd0604d1911..666dcb692e12

[PATCH 34/76] uas: Use all available stream ids

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com If we get ie 16 streams we can use stream-id 1-16, not 1-15. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH 47/76] uas: Fix bounds check in uas_find_endpoints

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com The loop uses up to 3 bytes of the endpoint extra data. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/uas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 69/76] uas: remove BROKEN

2014-03-06 Thread Sarah Sharp
From: Gerd Hoffmann kra...@redhat.com xhci streams support is fixed, unblock usb attached scsi. Signed-off-by: Gerd Hoffmann kra...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/storage/Kconfig | 2 +- 1 file

[PATCH 06/76] xhci: For streams the css flag most be read from the stream-ctx on ep stop

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/host/xhci-ring.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b

[PATCH 18/76] usbfs: Add ep_to_host_endpoint helper function

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh...@linux.intel.com --- drivers/usb/core/devio.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/usb/core/devio.c b

[PATCH 58/76] uas: uas_alloc_data_urb: Remove unnecessary use_streams check

2014-03-06 Thread Sarah Sharp
From: Hans de Goede hdego...@redhat.com uas_alloc_data_urb always gets called with a stream_id value of 0 when not using streams. Removing the check makes it consistent with uas_alloc_sense_urb. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Sarah Sharp sarah.a.sh

  1   2   3   4   5   6   7   8   9   10   >