[PATCH v2] UVC: use GFP_ATOMIC under spin lock.

2012-11-24 Thread Cyril Roelandt
Found using the following semantic patch: @@ @@ spin_lock_irqsave(...); ... when != spin_unlock_irqrestore(...); * GFP_KERNEL Signed-off-by: Cyril Roelandt --- drivers/usb/gadget/uvc_video.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget

[PATCH] UVC: use GFP_ATOMIC under spin lock.

2012-11-19 Thread Cyril Roelandt
Found using the following semantic patch: @@ @@ spin_lock_irqsave(...); ... when != spin_unlock_irqrestore(...); * GFP_KERNEL Signed-off-by: Cyril Roelandt --- drivers/usb/gadget/uvc_video.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/uvc_video.c

Re: [Regression] xhci: some hard drives cannot be seen using a JMicron JMS56x enclosure

2018-03-23 Thread Cyril Roelandt
Hello, On 03/07/18 17:16, Mathias Nyman wrote: > I can try to write a workaround that sets dequeue pointers for both the > stream we want, and > the current active stream for each URB canceling. Is there a branch from which I could pull the workaround and test it? Regards, Cyril

[BUG] uas: regression preventing some drives from being used

2018-02-06 Thread Cyril Roelandt
e 4.12 and 4.14 kernels are available at https://perso.aquilenet.fr/~steap/linux/ . Regards, Cyril Roelandt. -- 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: [BUG] uas: regression preventing some drives from being used

2018-02-08 Thread Cyril Roelandt
Hello, On 02/07/18 09:47, Oliver Neukum wrote: > obvious question, can you bisect it? It looks like a low level issue.  Yep. I had to skip a few commits towards the end of the bisection, because the compilation failed, but I ended up with: # only skipped commits left to test # possible first bad

[Regression] xhci: some hard drives cannot be seen using a JMicron JMS56x enclosure

2018-02-14 Thread Cyril Roelandt
Hi, I use two hard drives in an enclosure connected to my PC using UAS. The enclosure is a JMicron JMS56x (152d:0562); the drives are a Fujitsu MHZ2160BH G2 (2"5, 160GB) and a Western Digital EFRX-68N32N0 (3"5, 4TB). Using a USB2 port, I can see both drives as expected. I used to be able to use b