Re: [PATCH v3 0/2] staging: dwc2: add microframe scheduler

2014-08-06 Thread Nick Hudson
On 08/05/14 20:15, Paul Zimmerman wrote: From: Nick Hudson [mailto:sk...@netbsd.org] Sent: Tuesday, August 05, 2014 1:57 AM On 07/22/14 22:22, Nick Hudson wrote: On 07/22/14 18:46, Paul Zimmerman wrote: The nak_frame handling would have added some benefit, but wouldn't handle all cases. I'm

Re: 3.14.12 and USB option_instat_callback with 3G DONGLE

2014-08-06 Thread ressy66
On 2014-08-05 23:56, Johan Hovold wrote: On Tue, Aug 05, 2014 at 02:30:31PM +1000, ress...@ausics.net wrote: On 2014-08-05 00:10, Johan Hovold wrote: I'll queue this up for v3.17-rc. Awesome, any chance of it finding its way into 3.14.x since it's a LT release? Yes, it's marked for

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Max Vozeler
Hi everyone, On Tue, Mar 18, 2014 at 01:33:24PM -0700, Greg KH wrote: On Tue, Mar 18, 2014 at 10:11:20PM +0200, Valentina Manea wrote: After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and

Re: [PATCH] devio: fix issue with log flooding

2014-08-06 Thread Sérgio Basto
Hi, we need a kernel with patch on [1] to usb works on guests machine of VirtualBox without spam dmesg. I tested patch [1] devio: fix issue with log flooding of message and it works, I wonder if this patch will be applied to kernel or not ? and if can go to stables or not ? The problem of

Re: [PATCH] devio: fix issue with log flooding

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 02:42:31PM +0100, Sérgio Basto wrote: Hi, we need a kernel with patch on [1] to usb works on guests machine of VirtualBox without spam dmesg. Then build such a kernel, what is preventing that? I tested patch [1] devio: fix issue with log flooding of message and it

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 02:22:10PM +0200, Max Vozeler wrote: Hi everyone, On Tue, Mar 18, 2014 at 01:33:24PM -0700, Greg KH wrote: On Tue, Mar 18, 2014 at 10:11:20PM +0200, Valentina Manea wrote: After migrating userspace code to libudev, converting usbip-host to a device driver and

Re: [PATCH] devio: fix issue with log flooding

2014-08-06 Thread Sérgio Basto
On Qua, 2014-08-06 at 07:43 -0700, Greg KH wrote: On Wed, Aug 06, 2014 at 02:42:31PM +0100, Sérgio Basto wrote: Hi, we need a kernel with patch on [1] to usb works on guests machine of VirtualBox without spam dmesg. Then build such a kernel, what is preventing that? I did ,

Re: [PATCH] devio: fix issue with log flooding

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 04:12:20PM +0100, Sérgio Basto wrote: On Qua, 2014-08-06 at 07:43 -0700, Greg KH wrote: On Wed, Aug 06, 2014 at 02:42:31PM +0100, Sérgio Basto wrote: Hi, we need a kernel with patch on [1] to usb works on guests machine of VirtualBox without spam dmesg.

[PATCH v2] USB: Register VIA Telecom CDS7 chipset with Option USB serial driver

2014-08-06 Thread Brennan Ashton
This VIA Telecom baseband processor is used is used by by u-blox in both the FW2770 and FW2760 products and may be used in others as well. This patch has been tested on both of these modem versions. Signed-off-by: Brennan Ashton bash...@brennanashton.com --- drivers/usb/serial/option.c | 5

Re: [PATCH] devio: fix issue with log flooding

2014-08-06 Thread Sérgio Basto
On Qua, 2014-08-06 at 08:25 -0700, Greg KH wrote: On Wed, Aug 06, 2014 at 04:12:20PM +0100, Sérgio Basto wrote: On Qua, 2014-08-06 at 07:43 -0700, Greg KH wrote: On Wed, Aug 06, 2014 at 02:42:31PM +0100, Sérgio Basto wrote: Hi, we need a kernel with patch on [1] to usb works

[PATCH v3 6/6] MAINTAINERS: Add ehci-st.c and ohci-st.c to ARCH/STI architecture

2014-08-06 Thread Peter Griffin
Signed-off-by: Peter Griffin peter.grif...@linaro.org --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 359a64e..847572d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1325,7 +1325,8 @@ F:drivers/pinctrl/pinctrl-st.c F:

[PATCH v3 5/6] usb: host: ohci-st: Add ohci-st devicetree bindings documentation

2014-08-06 Thread Peter Griffin
This patch documents the device tree bindings required for the ohci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/usb/ohci-st.txt | 40 +++ 1 file changed, 40

[PATCH v3 4/6] usb: host: ehci-st: Add ehci-st devicetree bindings documentation

2014-08-06 Thread Peter Griffin
This patch documents the device tree bindings required for the ehci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/usb/ehci-st.txt | 41 +++ 1 file changed, 41

[PATCH v3 3/6] usb: host: ohci-st: Add OHCI driver support for ST STB devices

2014-08-06 Thread Peter Griffin
This patch adds the glue code required to ensure the on-chip OHCI controller works on STi consumer electronics SoC's from STMicroelectronics. It mainly manages the setting and enabling of the relevant clocks and manages the reset / power signals to the IP block. Signed-off-by: Peter Griffin

[PATCH v3 2/6] usb: host: ehci-st: Add EHCI support for ST STB devices

2014-08-06 Thread Peter Griffin
This patch adds the glue code required to ensure the on-chip EHCI controller works on STi consumer electronics SoC's from STMicroelectronics. It mainly manages the setting and enabling of the relevant clocks and manages the reset / power signals to the IP block. Signed-off-by: Peter Griffin

[PATCH v3 0/6] Add EHCI and OHCI drivers for STi SoC's

2014-08-06 Thread Peter Griffin
This series adds support for the OHCI and EHCI on-chip controllers found in STi consumer electronics SoC's from STMicroelectronics. The series has been re-worked from v2 to split out the ehci and ohci parts into their own drivers / devices like most other ARM platforms based on feedback from Arnd

[PATCH v3 1/6] usb: host: usb-st-common: Add common code required by ohci-st and ehci-st

2014-08-06 Thread Peter Griffin
This patch abstracts out some common code required by both the ehci-st and ohci-st drivers. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- drivers/usb/host/usb-st-common.c | 99 drivers/usb/host/usb-st-common.h | 34 ++ 2 files

[PATCH V2] usb: xhci_suspend is not stopping the root hub timer for the shared HCD

2014-08-06 Thread Al Cooper
V2 - Restart polling (which will restart the timer) for the shared HCD in xhci_resume(). xhci_suspend() will stop the primary HCD's root hub timer, but leaves the shared HCD's timer running. This change adds stopping of the shared HCD timer. Signed-off-by: Al Cooper alcoop...@gmail.com ---

Re: [Bug 80711] [PATCH]SG_FLAG_LUN_INHIBIT is no longer implemented and there's not way to prevent the kernel from using the 2nd cdb byte for the LUN

2014-08-06 Thread Christoph Hellwig
On Wed, Aug 06, 2014 at 03:29:47PM +0200, Douglas Gilbert wrote: If not and since I'm told black lists and the like won't work, my advice for the record is to use FreeBSD or Windows for tools that need this capability. I doubt either of them forces users to hack up flags for these cases. At

Re: [Bug 80711] [PATCH]SG_FLAG_LUN_INHIBIT is no longer implemented and there's not way to prevent the kernel from using the 2nd cdb byte for the LUN

2014-08-06 Thread Alan Stern
On Wed, 6 Aug 2014, Christoph Hellwig wrote: On Wed, Aug 06, 2014 at 03:29:47PM +0200, Douglas Gilbert wrote: If not and since I'm told black lists and the like won't work, my advice for the record is to use FreeBSD or Windows for tools that need this capability. I doubt either of them

Re: [Bug 80711] [PATCH]SG_FLAG_LUN_INHIBIT is no longer implemented and there's not way to prevent the kernel from using the 2nd cdb byte for the LUN

2014-08-06 Thread Alan Stern
Please don't remove names from the CC: list; use Reply-To-All. I had to go back and add all the names back in. On Wed, 6 Aug 2014, Tiziano Bacocco wrote: Test with alcor based USB flash drives, linux 3.16 will remove the 3 msb of the CDB byte when using SG raw Sure, but isn't that what you

Re: [PATCH v3 1/6] usb: host: usb-st-common: Add common code required by ohci-st and ehci-st

2014-08-06 Thread Arnd Bergmann
On Wednesday 06 August 2014, Peter Griffin wrote: +int st_usb_platform_power_on(struct st_platform_priv *priv) +{ + int clk, ret; + + if (priv-pwr) { + ret = reset_control_deassert(priv-pwr); + if (ret) + return ret; + } + + if

Re: [PATCH v3 2/6] usb: host: ehci-st: Add EHCI support for ST STB devices

2014-08-06 Thread Arnd Bergmann
On Wednesday 06 August 2014, Peter Griffin wrote: +static int st_ehci_platform_reset(struct usb_hcd *hcd) +{ + struct platform_device *pdev = to_platform_device(hcd-self.controller); + struct usb_ehci_pdata *pdata = dev_get_platdata(pdev-dev); + struct ehci_hcd *ehci =

Re: [PATCH v3 0/6] Add EHCI and OHCI drivers for STi SoC's

2014-08-06 Thread Arnd Bergmann
On Wednesday 06 August 2014, Peter Griffin wrote: This series adds support for the OHCI and EHCI on-chip controllers found in STi consumer electronics SoC's from STMicroelectronics. The series has been re-worked from v2 to split out the ehci and ohci parts into their own drivers / devices

usb: gadget: f_uac1.c Incorrect descriptor

2014-08-06 Thread Ken Helberg
Hi, Hope this is the right place to mention/post this; I'm new to this. As a point of reference, I'm running uClinux on a bf609-ezkit that is based on 3.10, but from what I can tell this hasn't been changed/fixed since 3.10 yet and applies in general. As per section 4.3.2 of Universal Serial Bus

Re: usb: gadget: f_uac1.c Incorrect descriptor

2014-08-06 Thread Felipe Balbi
Hi, On Wed, Aug 06, 2014 at 09:14:55PM +, Ken Helberg wrote: Hope this is the right place to mention/post this; I'm new to this. As a point of reference, I'm running uClinux on a bf609-ezkit that is based on 3.10, but from what I can tell this hasn't been changed/fixed since 3.10 yet and

Re: [PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Doug Anderson
Paul, On Tue, Aug 5, 2014 at 1:08 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: Maybe dwc2 is refer to the Kconfig in dwc3 for there is a choice from one of Host only mode, Gadget only mode and Dual Role mode, which means the role is decided by the Kconfig. In my opinion, there maybe

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Doug Anderson
Kever, On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang kever.y...@rock-chips.com wrote: According to the dr_mode, the otg controller can work as device role and host role. Some boards always want to use host mode and some other boards want to use gadget mode. We use the dts setting to set dwc2's

[PATCH 1/1] net: fix USB network driver config option.

2014-08-06 Thread Francois Romieu
From: Francois Romieu rom...@fr.zoreil.com It must be tristate to avoid broken dependencies with kernel built-in usb network drivers when usb support is module only. When net config option is set, least surprize default should match usb. Wireless RNDIS USB driver used to select USB_USBNET.

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Dinh Nguyen
On Wed, Aug 6, 2014 at 5:24 PM, Doug Anderson diand...@chromium.org wrote: Kever, On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang kever.y...@rock-chips.com wrote: According to the dr_mode, the otg controller can work as device role and host role. Some boards always want to use host mode and some

RE: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Paul Zimmerman
From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug Anderson Sent: Wednesday, August 06, 2014 3:25 PM On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang kever.y...@rock-chips.com wrote: According to the dr_mode, the otg controller can work as device role and host role. Some

Re: [PATCH 1/1] net: fix USB network driver config option.

2014-08-06 Thread David Miller
From: Francois Romieu rom...@fr.zoreil.com Date: Thu, 7 Aug 2014 00:36:40 +0200 From: Francois Romieu rom...@fr.zoreil.com It must be tristate to avoid broken dependencies with kernel built-in usb network drivers when usb support is module only. When net config option is set, least

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Dinh Nguyen
On 8/6/14, 5:57 PM, Paul Zimmerman wrote: From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug Anderson Sent: Wednesday, August 06, 2014 3:25 PM On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang kever.y...@rock-chips.com wrote: According to the dr_mode, the otg controller can

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Doug Anderson
Kever, On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang kever.y...@rock-chips.com wrote: According to the dr_mode, the otg controller can work as device role and host role. Some boards always want to use host mode and some other boards want to use gadget mode. We use the dts setting to set dwc2's

[PATCH] USB: atmel_usba_udc: fix it to deal with final DMA channel

2014-08-06 Thread Bo Shen
As, the interrupt for DMA is counted from 1, so need to checked the USBA_NR_DMAS, in old way, it only check (USBA_NR_DMAS - 1), so fix it. Reported-by: Max Liao lia...@embest-tech.com Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/atmel_usba_udc.c | 2 +- 1 file changed,

[PATCH 3/3] usbip: remove struct usb_device_id table

2014-08-06 Thread Valentina Manea
This was used back when usbip-host was an interface device driver; after the conversion to device driver, the table remained unused. Remove it in order to stop receiving a warning about it. Signed-off-by: Valentina Manea valentina.mane...@gmail.com --- drivers/usb/usbip/stub_dev.c | 27

[PATCH 1/3] usbip: move usbip userspace code out of staging

2014-08-06 Thread Valentina Manea
At this point, USB/IP userspace code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea valentina.mane...@gmail.com --- {drivers/staging/usbip/userspace = tools/usb/usbip}/.gitignore | 0 {drivers/staging/usbip/userspace = tools/usb/usbip}/AUTHORS

[PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Valentina Manea
After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to tools/usb/usbip * kernel code to drivers/usb/usbip

[PATCH 2/3] usbip: move usbip kernel code out of staging

2014-08-06 Thread Valentina Manea
At this point, USB/IP kernel code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea valentina.mane...@gmail.com --- drivers/staging/Kconfig| 2 -- drivers/staging/Makefile | 1 -

[PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Valentina Manea
This is a resend of the patch series from March. After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to

[PATCH] rtl8150: Check if RSR is already defined

2014-08-06 Thread Nick Krause
I am getting the following warn drivers/net/usb/rtl8150.c:30:0: warning: RSR redefined arch/xtensa/include/asm/processor.h:189:0: note: this is the location of the previous definition I wanted to remove RSR as it is not being used but it is not clear if being used for documenting purpose.

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Greg KH
On Thu, Aug 07, 2014 at 08:10:25AM +0300, Valentina Manea wrote: This is a resend of the patch series from March. After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of

Re: [PATCH] rtl8150: Check if RSR is already defined

2014-08-06 Thread David Miller
From: Nick Krause xerofoi...@gmail.com Date: Thu, 7 Aug 2014 07:24:54 +0200 I am getting the following warn drivers/net/usb/rtl8150.c:30:0: warning: RSR redefined arch/xtensa/include/asm/processor.h:189:0: note: this is the location of the previous definition I wanted to remove RSR as