[PATCH] usb: gadget: u_ether: synchronize with transmit when stopping queue

2014-05-29 Thread Vicentiu Neagoe
From: Jeff Westfahl When disconnecting, it's possible that another thread has already made it into eth_start_xmit before we call netif_stop_queue. This can lead to a crash as eth_start_xmit tries to use resources that gether_disconnect is freeing. Use netif_tx_lock/unlock around netif_stop_queue

[PATCH] USB: qcserial: add Netgear AirCard 341U PID

2014-05-29 Thread Johan Hovold
From: Aleksander Morgado Add Netgear AirCard 341U PID. Signed-off-by: Aleksander Morgado Link: http://marc.info/?l=linux-usb&m=140130486111309&w=2 Cc: # backport in link above Signed-off-by: Johan Hovold --- Aleksander, thanks for the patch and backport! I added a minimal commit message,

[PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Huang Rui
Currently, in usb_sg_wait routine there isn't a timeout on waiting for completion signal. When using TEST 5 -> 8 at usbtest module to verify a new device controller with gadget zero, it would be hang on this phase and this routine waits forever. So it should add a timeout about 10s to export a TIME

Re: [PATCH net-next 0/8] cdc_ncm: fixes and conversion to sysfs API

2014-05-29 Thread Bjørn Mork
Bjørn Mork writes: > After considering the comments received after the ethtool coalesce > support was commited, I have ended up concluding that we should > remove it again, while we can, before it hits a release. The idea > was not well enough thought through, and all comments received > pointed

Re: [PATCH] net: qmi_wwan: add Netgear AirCard 341U

2014-05-29 Thread Bjørn Mork
Aleksander Morgado writes: > Signed-off-by: Aleksander Morgado > --- > drivers/net/usb/qmi_wwan.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c > index 83208d4..c0b611f 100644 > --- a/drivers/net/usb/qmi_wwan.c > +++ b/drivers/n

[PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread Alex Smith
From: David Daney The device tree will *always* have correct ehci/ohci clock configuration, so use it. This allows us to remove a big chunk of platform configuration code from octeon-platform.c. Tested-by: Alex Smith Signed-off-by: David Daney Signed-off-by: Alex Smith Cc: linux-usb@vger.ker

Re: [PATCH] USB: qcserial: add Netgear AirCard 341U PID

2014-05-29 Thread Aleksander Morgado
On Thu, May 29, 2014 at 10:20 AM, Johan Hovold wrote: > From: Aleksander Morgado > > Add Netgear AirCard 341U PID. > > Signed-off-by: Aleksander Morgado > Link: http://marc.info/?l=linux-usb&m=140130486111309&w=2 > Cc: # backport in link above > Signed-off-by: Johan Hovold > --- > > Aleksan

Re: [PATCH] USB: qcserial: add Netgear AirCard 341U PID

2014-05-29 Thread Johan Hovold
On Thu, May 29, 2014 at 12:48:56PM +0200, Aleksander Morgado wrote: > On Thu, May 29, 2014 at 10:20 AM, Johan Hovold wrote: > > From: Aleksander Morgado > > > > Add Netgear AirCard 341U PID. > > > > Signed-off-by: Aleksander Morgado > > Link: http://marc.info/?l=linux-usb&m=140130486111309&w=2 >

[PATCH usb,stable] usb: qcserial: add additional Sierra Wireless QMI devices

2014-05-29 Thread Aleksander Morgado
A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial Sierra Wireless drivers. Signed-off-by: Aleksander Morgado --- Hey, This patch is for stable branches only, and should be applied after the following one: [PATCH usb,stable] usb: qcserial: add Netgear AirCard 341U http:

[PATCH usb-next] usb: qcserial: add additional Sierra Wireless QMI devices

2014-05-29 Thread Aleksander Morgado
A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial Sierra Wireless drivers. Signed-off-by: Aleksander Morgado Link: http://marc.info/?l=linux-usb&m=140136310027293&w=2 Cc: # backport in link above --- drivers/usb/serial/qcserial.c | 6 ++ 1 file changed, 6 insertions

Re: [PATCH usb-next] usb: qcserial: add additional Sierra Wireless QMI devices

2014-05-29 Thread Johan Hovold
On Thu, May 29, 2014 at 01:33:27PM +0200, Aleksander Morgado wrote: > A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial > Sierra Wireless drivers. > > Signed-off-by: Aleksander Morgado > Link: http://marc.info/?l=linux-usb&m=140136310027293&w=2 > Cc: # backport in link abo

[PATCH] net: qmi_wwan: add additional Sierra Wireless QMI devices

2014-05-29 Thread Aleksander Morgado
A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial Sierra Wireless drivers. Signed-off-by: Aleksander Morgado --- Hey, The patch should be applied after the following one: [PATCH] net: qmi_wwan: add Netgear AirCard 341U http://marc.info/?l=linux-netdev&m=140130407711048

[PATCH 1/1] usb: host: max3421-hcd: Use module_spi_driver

2014-05-29 Thread Sachin Kamat
module_spi_driver simplifies the code by eliminating boilerplate code. Signed-off-by: Sachin Kamat --- drivers/usb/host/max3421-hcd.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c index 28abda

[PATCH] net: qmi_wwan: interface #11 in Sierra Wireless MC73xx is not QMI

2014-05-29 Thread Aleksander Morgado
This interface is unusable, as the cdc-wdm character device doesn't reply to any QMI command. Also, the out-of-tree Sierra Wireless GobiNet driver fully skips it. Signed-off-by: Aleksander Morgado --- drivers/net/usb/qmi_wwan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/usb/q

Re: [PATCH] net: qmi_wwan: add additional Sierra Wireless QMI devices

2014-05-29 Thread Bjørn Mork
Aleksander Morgado writes: > A set of new VID/PIDs retrieved from the out-of-tree GobiNet/GobiSerial > Sierra Wireless drivers. > > Signed-off-by: Aleksander Morgado > --- > > Hey, > > The patch should be applied after the following one: > [PATCH] net: qmi_wwan: add Netgear AirCard 341U > ht

Re: [PATCH] net: qmi_wwan: interface #11 in Sierra Wireless MC73xx is not QMI

2014-05-29 Thread Bjørn Mork
Aleksander Morgado writes: > This interface is unusable, as the cdc-wdm character device doesn't reply to > any QMI command. Also, the out-of-tree Sierra Wireless GobiNet driver fully > skips it. > > Signed-off-by: Aleksander Morgado > --- > drivers/net/usb/qmi_wwan.c | 1 - > 1 file changed, 1

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Nikita Yushchenko
>>> I think problem is caused by access to OHCI regs from PCI quirks - before >>> driver was initialized. ULI1553 southbridge chip could be in strange state >>> at this point. >> >> If that is the cause, we ought to be able to see it from the values >> printed out by the debugging statements. And

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread One Thousand Gnomes
> I don't know how linux usb subsystem should behave against such > "half-existing" hardware. Perhaps hanging is not the best idea... > but maybe it should be fixed elsewhere, e.g. by masking non-wired > devices in platform PCI setup. Perhaps controlled by some device-tree > key. Does it have a un

Re: BUG: EHCI Bios handoff fails and system gets stuck

2014-05-29 Thread Alan Stern
On Wed, 28 May 2014, Leandro Liptak wrote: > > If you comment out the pci_write and plug in a USB device, like a flash > > drive, does it work okay? > > > > Have you checked for any BIOS updates available from the manufacturer? > > This really sounds like a bug in the BIOS. > > Yes, any plugged U

Re: [PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Huang Rui wrote: > Currently, in usb_sg_wait routine there isn't a timeout on waiting for > completion signal. When using TEST 5 -> 8 at usbtest module to verify > a new device controller with gadget zero, it would be hang on this > phase and this routine waits forever. Why d

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Alex Smith wrote: > From: David Daney > > The device tree will *always* have correct ehci/ohci clock > configuration, so use it. This allows us to remove a big chunk of > platform configuration code from octeon-platform.c. Instead of doing this, how about moving the octeon

Re: [PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Huang Rui
On Thu, May 29, 2014 at 10:50:03AM -0400, Alan Stern wrote: > On Thu, 29 May 2014, Huang Rui wrote: > > > Currently, in usb_sg_wait routine there isn't a timeout on waiting for > > completion signal. When using TEST 5 -> 8 at usbtest module to verify > > a new device controller with gadget zero, i

Re: [PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Huang Rui wrote: > On Thu, May 29, 2014 at 10:50:03AM -0400, Alan Stern wrote: > > On Thu, 29 May 2014, Huang Rui wrote: > > > > > Currently, in usb_sg_wait routine there isn't a timeout on waiting for > > > completion signal. When using TEST 5 -> 8 at usbtest module to verif

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Nikita Yushchenko
29.05.2014 18:42, One Thousand Gnomes пишет: >> I don't know how linux usb subsystem should behave against such >> "half-existing" hardware. Perhaps hanging is not the best idea... >> but maybe it should be fixed elsewhere, e.g. by masking non-wired >> devices in platform PCI setup. Perhaps control

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Nikita Yushchenko
29.05.2014 19:33, Nikita Yushchenko пишет: > 29.05.2014 18:42, One Thousand Gnomes пишет: >>> I don't know how linux usb subsystem should behave against such >>> "half-existing" hardware. Perhaps hanging is not the best idea... >>> but maybe it should be fixed elsewhere, e.g. by masking non-wired >

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Nikita Yushchenko wrote: > 29.05.2014 18:42, One Thousand Gnomes пишет: > >> I don't know how linux usb subsystem should behave against such > >> "half-existing" hardware. Perhaps hanging is not the best idea... > >> but maybe it should be fixed elsewhere, e.g. by masking non-

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Nikita Yushchenko
29.05.2014 19:44, Alan Stern пишет: > On Thu, 29 May 2014, Nikita Yushchenko wrote: > >> 29.05.2014 18:42, One Thousand Gnomes пишет: I don't know how linux usb subsystem should behave against such "half-existing" hardware. Perhaps hanging is not the best idea... but maybe it should

Re: [PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Huang Rui
On Thu, May 29, 2014 at 11:31:54AM -0400, Alan Stern wrote: > On Thu, 29 May 2014, Huang Rui wrote: > > > On Thu, May 29, 2014 at 10:50:03AM -0400, Alan Stern wrote: > > > On Thu, 29 May 2014, Huang Rui wrote: > > > > > > > Currently, in usb_sg_wait routine there isn't a timeout on waiting for >

Re: [PATCH 1/1] usb: host: max3421-hcd: Use module_spi_driver

2014-05-29 Thread David Mosberger
On Thu, May 29, 2014 at 5:51 AM, Sachin Kamat wrote: > module_spi_driver simplifies the code by eliminating > boilerplate code. Nice! Acked-by: David Mosberger > > Signed-off-by: Sachin Kamat > --- > drivers/usb/host/max3421-hcd.c | 15 +-- > 1 file changed, 1 insertion(+), 14

[PATCH] usb: host: max3421-hcd: Allow platform-data to specify Vbus polarity

2014-05-29 Thread David Mosberger
From: David Mosberger-Tang Signed-off-by: Davidm Mosberger --- drivers/usb/host/max3421-hcd.c| 6 -- include/linux/platform_data/max3421-hcd.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/max3421-hcd.c b/drivers/usb/host/max3421-hcd.c in

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread Florian Fainelli
2014-05-29 8:03 GMT-07:00 Alan Stern : > On Thu, 29 May 2014, Alex Smith wrote: > >> From: David Daney >> >> The device tree will *always* have correct ehci/ohci clock >> configuration, so use it. This allows us to remove a big chunk of >> platform configuration code from octeon-platform.c. > > I

[PATCH v1 3/3] usb: gadget: NCM: Stop RX TCP Bursts getting dropped.

2014-05-29 Thread Jim Baxter
This fixes a problem with dropped packets over 16k CDC-NCM when the connection is being heavily used. The issue was that the skb truesize for the unpacked NCM packets was too high after they were cloned from the 16k skb, this lead to the potential memory calculated by the Kernel running out of mem

[PATCH v1 2/3] usb: gadget: NCM: Add transmit multi-frame.

2014-05-29 Thread Jim Baxter
This adds multi-frame support to the NCM NTB's for the gadget driver. This allows multiple network packets to be put inside a single USB NTB with a maximum size of 16kB. It has a time out of 300ms to ensure that smaller number of packets still maintain a normal latency. Also the .fp_index and .ne

[PATCH v1 1/3] usb: gadget: NCM: RX function support multiple NDPs

2014-05-29 Thread Jim Baxter
The NDP was ignoring the wNextNdpIndex in the NDP which means that NTBs containing multiple NDPs would have missed frames. Signed-off-by: Jim Baxter --- drivers/usb/gadget/f_ncm.c | 146 +++- 1 file changed, 78 insertions(+), 68 deletions(-) diff --git a

[PATCH v1 0/3] usb: gadget: NCM: Fixes and Multi-frame for TX.

2014-05-29 Thread Jim Baxter
This series adds the ability to support packaging multiple network packets into a single 16k CDC-NCM NTB. Patches 1 and 3 are fixes for the receive unwrap function which previously was unable to handle an NTB with multiple NDP's and a fix that switches from using skb_clone to creating a new packet

Re: [PATCH] usb: pci-quirks: do not access OHCI_FMINTERVAL register on ULI hw

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Nikita Yushchenko wrote: > >> I've checked these... all values read as 0x - which does not > >> look correct > > > > You could have the platform setup code read one of those hardware > > registers, such as FMINTERVAL. If it obtains 0x, don't > > register the

Re: [PATCH v3 1/2] usb: host: xhci-plat: add optional PHY support

2014-05-29 Thread Sergei Shtylyov
Hello. On 05/29/2014 05:32 AM, Yoshihiro Shimoda wrote: From: Gregory CLEMENT This commit extends the xhci-plat so that it can optionally be passed a reference to a PHY through the Device Tree. It will be useful for the Armada 375 SoCs. If no PHY is provided then the behavior of the driver

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread Greg KH
On Thu, May 29, 2014 at 09:55:08AM -0700, Florian Fainelli wrote: > 2014-05-29 8:03 GMT-07:00 Alan Stern : > > On Thu, 29 May 2014, Alex Smith wrote: > > > >> From: David Daney > >> > >> The device tree will *always* have correct ehci/ohci clock > >> configuration, so use it. This allows us to re

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread David Daney
On 05/29/2014 10:37 AM, Greg KH wrote: On Thu, May 29, 2014 at 09:55:08AM -0700, Florian Fainelli wrote: 2014-05-29 8:03 GMT-07:00 Alan Stern : On Thu, 29 May 2014, Alex Smith wrote: From: David Daney The device tree will *always* have correct ehci/ohci clock configuration, so use it. This

RE: 1d6b:0001 [MSI A55M-P33] No webcam functionality with Zoran Microelectronics, Ltd Digital Camera EX-20 DSC

2014-05-29 Thread Richie Gress
> Date: Wed, 28 May 2014 10:56:51 +0200 > From: hverk...@xs4all.nl > To: searchfgold67...@live.com; linux-usb@vger.kernel.org; > linux-me...@vger.kernel.org > Subject: Re: 1d6b:0001 [MSI A55M-P33] No webcam functionality with Zoran > Microelectronics, Ltd Digital Camera EX-20 DSC > > On 05/27/14

Re: [PATCH v1 1/3] usb: gadget: NCM: RX function support multiple NDPs

2014-05-29 Thread Bjørn Mork
Jim Baxter writes: > The NDP was ignoring the wNextNdpIndex in the NDP which > means that NTBs containing multiple NDPs would have missed > frames. Well, just for the record: I believe this field was meant to be reserved and always 0 in the CDC NCM spec. Table 3-3, describing 16bit NDPs, says s

Humanitaria Help.

2014-05-29 Thread Mrs. Margaret
I am Mrs. Margaret Crawford, i write you this email to seek for your Humanitarian help, i have decided to donate part of my inheritance to you for humanitarian work and your personal use. As a result of my heart status. I need you to contact my Attoney. Mark lawson. with this email for a better

Re: [PATCH v10 18/19] usb: force warm reset to break link re-connect livelock

2014-05-29 Thread Dan Williams
On Wed, May 21, 2014 at 1:12 PM, Alan Stern wrote: > On Tue, 20 May 2014, Dan Williams wrote: > >> Resuming a powered down port sometimes results in the port state being >> stuck in the training sequence. >> >> hub 3-0:1.0: debounce: port 1: total 2000ms stable 0ms status 0x2e0 >> port1: can't g

Re: [PATCH v1 3/3] usb: gadget: NCM: Stop RX TCP Bursts getting dropped.

2014-05-29 Thread Eric Dumazet
On Thu, 2014-05-29 at 18:12 +0100, Jim Baxter wrote: > This fixes a problem with dropped packets over 16k CDC-NCM > when the connection is being heavily used. > > The issue was that the skb truesize for the unpacked NCM > packets was too high after they were cloned from the 16k > skb, this lead to

Re: [PATCH net-next 0/8] cdc_ncm: fixes and conversion to sysfs API

2014-05-29 Thread David Miller
From: Bjørn Mork Date: Thu, 29 May 2014 11:59:07 +0200 > I see that this series is now marked "Not Applicable" in patchwork. But > the reason is not obvious to me. May I ask why? I meant to mark it as "Changes Requested", because patch 8 had some feedback that you said you'd address. -- To unsu

Re: [PATCH v10 19/19] usb: documentation for usb port power off mechanisms

2014-05-29 Thread Dan Williams
On Wed, May 21, 2014 at 1:29 PM, Alan Stern wrote: > On Tue, 20 May 2014, Dan Williams wrote: > >> From: Lan Tianyu >> >> describe the mechanisms for controlling port power policy and >> discovering the port power state. > > >> +Example of the relevant files for port power control. >> + >> +

[PATCH 0/3] port power control rework stragglers

2014-05-29 Thread Dan Williams
1/ A compile fix from Stephen 2/ Patch 18 "usb: force warm reset to break link re-connect livelock" from v10 [1] updated to address Alan's comments. * Cleaned up hub_port_warm_reset_required() * Verified that warm-reset occurs in the persist_enabled = 0 case * Fixed up clearing warm_re

[PATCH 2/3] usb: force warm reset to break link re-connect livelock

2014-05-29 Thread Dan Williams
Resuming a powered down port sometimes results in the port state being stuck in the training sequence. hub 3-0:1.0: debounce: port 1: total 2000ms stable 0ms status 0x2e0 port1: can't get reconnection after setting port power on, status -110 hub 3-0:1.0: port 1 status .02e0 after resume, -

[PATCH 1/3] usb: fix hub_handle_remote_wakeup() only exists for CONFIG_PM=y

2014-05-29 Thread Dan Williams
From: Stephen Rothwell Stephen notes: After merging the usb tree, today's linux-next build (sparc64 defconfig) failed like this: drivers/usb/core/hub.c: In function 'port_event': drivers/usb/core/hub.c:4853:2: error: implicit declaration of function 'hub_handle_remote_wakeup' [-Werror=

[PATCH 3/3] usb: documentation for usb port power off mechanisms

2014-05-29 Thread Dan Williams
From: Lan Tianyu describe the mechanisms for controlling port power policy and discovering the port power state. [oliver]: fixes, clarification of wakeup vs port-power-control [sarah]: wordsmithing [djbw]: updates for peer port changes [alan]: review and fixes Cc: Oliver Neukum Signed-off-by: L

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, David Daney wrote: > Several points of clarification: > > 1) I wrote the patch in question, not Florian. > > 2) I agree that OCTEON ehci/ohci support could probably be refactored > along the lines of Alan's suggestion. > > 3) This patch is a relatively minor change to an *

Re: [PATCH 2/3] usb: force warm reset to break link re-connect livelock

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Dan Williams wrote: > Resuming a powered down port sometimes results in the port state being > stuck in the training sequence. > > hub 3-0:1.0: debounce: port 1: total 2000ms stable 0ms status 0x2e0 > port1: can't get reconnection after setting port power on, status -110 >

Re: [PATCH 3/3] usb: documentation for usb port power off mechanisms

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Dan Williams wrote: > From: Lan Tianyu > > describe the mechanisms for controlling port power policy and > discovering the port power state. > > [oliver]: fixes, clarification of wakeup vs port-power-control > [sarah]: wordsmithing > [djbw]: updates for peer port changes >

Re: [PATCH 1/3] usb: fix hub_handle_remote_wakeup() only exists for CONFIG_PM=y

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Dan Williams wrote: > From: Stephen Rothwell > > Stephen notes: > After merging the usb tree, today's linux-next build (sparc64 defconfig) > failed like this: > > drivers/usb/core/hub.c: In function 'port_event': > drivers/usb/core/hub.c:4853:2: error: implicit decl

Re: [PATCH] usb: core: update wait routine to set a timeout

2014-05-29 Thread Alan Stern
On Thu, 29 May 2014, Huang Rui wrote: > > Seriously, the right way to handle timeouts with usb_sg_wait() is to > > have a timer routine call usb_sg_cancel() when the timeout expires. > > You could add such a timer to tests 5-8 in usbtest. > > > > So you mean I should do it in special class dri

Re: [PATCH 3/3] usb host/MIPS: Remove hard-coded OCTEON platform information.

2014-05-29 Thread David Daney
On 05/29/2014 01:55 PM, Alan Stern wrote: On Thu, 29 May 2014, David Daney wrote: Several points of clarification: 1) I wrote the patch in question, not Florian. 2) I agree that OCTEON ehci/ohci support could probably be refactored along the lines of Alan's suggestion. 3) This patch is a rel

Re: [PATCH net-next 0/8] cdc_ncm: fixes and conversion to sysfs API

2014-05-29 Thread Bjørn Mork
On 29 May 2014 21:20:52 CEST, David Miller wrote: >From: Bjørn Mork >Date: Thu, 29 May 2014 11:59:07 +0200 > >> I see that this series is now marked "Not Applicable" in patchwork. >But >> the reason is not obvious to me. May I ask why? > >I meant to mark it as "Changes Requested", Yes, that I

Re: xHCI regression for VIA USB 3.0 controller in handle_cmd_completion

2014-05-29 Thread Xenia Ragiadakou
On 28/05/2014 07:26 πμ, Saran Neti wrote: Hi, My VIA USB 3.0 controller has stopped working in recent kernels. During boot, dmesg shows a WARNING stack trace at drivers/usb/host/xhci-ring.c:1615 containing handle_cmd_completion+0xdc7/0x1000. USB ports become unusable - mouse, keyboard and fdi

Get back to me

2014-05-29 Thread Kong Hui
I am a bank director from Hong Kong, I want you to be my partner in a business project of mutual benefit. Get back to me if interested. Thank you, Kong Hui. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo

Re: xHCI regression for VIA USB 3.0 controller in handle_cmd_completion

2014-05-29 Thread Saran Neti
Hi Xenia, Thanks for looking into this. On Thu, May 29, 2014 at 6:31 PM, Xenia Ragiadakou wrote: > I misunderstood the following description regarding the slot id field of > Command Completion Event TRB: > > "The Slot ID field shall be updated by the xHC to reflect the slot > associated with the

Re: [PATCH] usb: pci-quirks: Prevent Sony VAIO t-series from switching usb ports

2014-05-29 Thread Jorge
Just in case, here I am and I'm still using this kernel, and it still works :) Jorge On 28/05/14 16:52, Greg KH wrote: On Wed, May 28, 2014 at 03:42:55PM -0400, Alan Stern wrote: On Wed, 28 May 2014, Greg KH wrote: On Thu, May 15, 2014 at 11:51:04AM -0400, Alan Stern wrote: On Thu, 15 May

[PATCH 2/2] Port dummy_hcd to hrtimers

2014-05-29 Thread pktoss
From: Pantelis Koukousoulas dummy_hcd uses jiffies and seems to assume that HZ=1000 and no tickless behavior. This makes for some horrible performance in ordinary desktop kernels (tickless / HZ=250) as found in distros. This patch ports dummy_hcd to use hrtimers instead, which allows for reasona

dummy_hcd performance / correctness

2014-05-29 Thread pktoss
I couldn't use dummy_hcd with g_tcm_gadget (UAS storage) with recent 3.15-rc kernels, firstly it wouldn't even work because stream support was broken and when I could get it to work with g_mass_storage, performance was horrible due to the driver using jiffies instead of hrtimers. With these two pa

[PATCH 1/2] Add can_do_streams to dummy_hcd

2014-05-29 Thread pktoss
From: Pantelis Koukousoulas Recent commit (14aec589327a6fc4035f5327d90ac5548f501c4c) added the "can_do_streams" field to the hcd structure but only set it to 1 in the XHCI driver. dummy_hcd can also do streams so set can_do_streams = 1 for that as well. This fixes the regression that uas host d