Re: [PATCH] net: qmi_wwan: Add ID for Telewell TW-LTE 4G v2

2014-07-02 Thread Bjørn Mork
Bernd Wachter bernd.wach...@jolla.com writes: There's a new version of the Telewell 4G modem working with, but not recognized by this driver. Signed-off-by: Bernd Wachter bernd.wach...@jolla.com --- --- linux-3.15.3/drivers/net/usb/qmi_wwan.c.orig 2014-07-01 21:31:07.0 +0300

Re: [Patch v7 3/3] usb: dwc3: qcom: Add device tree binding

2014-07-02 Thread Ivan T. Ivanov
Hi, On Tue, 2014-07-01 at 14:47 -0500, Rob Herring wrote: On Tue, Jul 1, 2014 at 1:01 PM, Andy Gross agr...@codeaurora.org wrote: On Tue, Jul 01, 2014 at 12:04:35AM -0500, Rob Herring wrote: snip snip + + ranges; + + status =

Re: [PATCH 2/2 v2] HID: leds: Use attribute-groups in MSI GT683R driver

2014-07-02 Thread Jiri Kosina
On Tue, 1 Jul 2014, Bryan Wu wrote: Great, I just cherry-picked and applied to my tree http://git.kernel.org/cgit/linux/kernel/git/cooloney/linux-leds.git/commit/?h=for-nextid=f471d9480275796dea2ac7ec249b050e70a2888d Ok, perfect, thanks. I am marking my 'for-3.17/hid-gt683r' so that it

Re: [PATCH] USB: remove CONFIG_USB_PERSIST from Documentation

2014-07-02 Thread Paul Bolle
On Tue, 2014-06-24 at 13:19 -0400, Alan Stern wrote: On Tue, 24 Jun 2014, Paul Bolle wrote: On Tue, 2014-06-24 at 10:25 -0400, Alan Stern wrote: Also, that Later kernels thing has already arrived. I believe it was implemented in 2.6.35. How does the kernel currently call the

[PATCH] usb: option: Add ID for Telewell TW-LTE 4G v2

2014-07-02 Thread Bernd Wachter
Add ID of the Telewell 4G v2 hardware to option driver to get legacy serial interface working Signed-off-by: Bernd Wachter bernd.wach...@jolla.com --- --- linux-3.15.3/drivers/usb/serial/option.c.orig 2014-07-02 12:23:28.0 +0300 +++ linux-3.15.3/drivers/usb/serial/option.c

[PATCH] HID: use multi input quirk for 22b9:2968

2014-07-02 Thread Wen-chien Jesse Sung
This device generates ABS_Z and ABS_RX events instead of ABS_X and ABS_Y. Signed-off-by: Wen-chien Jesse Sung jesse.s...@canonical.com --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hid/hid-ids.h

[PATCH v2] Documentation: sysfs-bus-usb: update power/persist description

2014-07-02 Thread Paul Bolle
There's no power/persist file for hubs. And CONFIG_USB_PERSIST was removed in v2.6.26. Update the description of power/persist accordingly. Also remove the line on its default value. It is not entirely correct, as CONFIG_USB_DEFAULT_PERSIST and the USB_QUIRK_RESET flag influence the default. It is

Re: DMA over USB

2014-07-02 Thread Peter Stuge
Raghavendra wrote: I have a query regarding DMA(Direct Memory Access) for the usb devices. USB devices never do DMA. As far as Linux is concerned, how the DMA action being taking place for USB devices. It doesn't take place. As per my understanding, the USB host controller is taking care

[PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Andrzej Pietrasiewicz
Add support for OS descriptors. The new format of descriptors is used, because the flags field is required for extensions. os_count gives the number of OSDesc[] elements. The format of descriptors is given in include/uapi/linux/usb/functionfs.h. For extended properties descriptor the

Re: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Peter Stuge
Andrzej Pietrasiewicz wrote: +++ b/include/uapi/linux/usb/functionfs.h @@ -33,6 +32,42 @@ struct usb_endpoint_descriptor_no_audio { .. +/* MS OS Extended Compatibility Descriptor header */ +struct usb_ext_compat_desc_header { + struct usb_os_desc_header header; + __u8bCount; +

Re: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Andrzej Pietrasiewicz
W dniu 02.07.2014 13:04, Peter Stuge pisze: Andrzej Pietrasiewicz wrote: +++ b/include/uapi/linux/usb/functionfs.h @@ -33,6 +32,42 @@ struct usb_endpoint_descriptor_no_audio { .. +/* MS OS Extended Compatibility Descriptor header */ +struct usb_ext_compat_desc_header { + struct

Re: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-07-02 Thread Roger Quadros
Sekhar, On 06/18/2014 02:19 PM, Rajendra Nayak wrote: On Wednesday 18 June 2014 04:40 PM, Roger Quadros wrote: + Nishant and Rajendra for review. On 05/05/2014 12:54 PM, Roger Quadros wrote: Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com

Re: [PATCHv2 0/6] phy: simplified phy lookup

2014-07-02 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 June 2014 06:51 PM, Vivek Gautam wrote: Hi Heikki, On Thu, Jun 5, 2014 at 6:22 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, So the idea with these is that they should help to make it possible to request phys without caring about how they are mapped

Re: DMA over USB

2014-07-02 Thread Raghavendra
Thank you for responding Peter, Raghavendra wrote: I have a query regarding DMA(Direct Memory Access) for the usb devices. USB devices never do DMA. As far as Linux is concerned, how the DMA action being taking place for USB devices. It doesn't take place. As per my understanding, the USB

[PATCH 5/6] phy: omap-usb2: Balance pm_runtime_enable() on probe failure

2014-07-02 Thread Roger Quadros
If probe fails then we need to call pm_runtime_disable() to balance out the previous pm_runtime_enable() call. Else it will cause unbalanced pm_runtime_enable() call in the succeding probe call. This anomaly was observed when the call to devm_phy_create() failed with -EPROBE_DEFER.

[PATCH 6/6] ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

2014-07-02 Thread Roger Quadros
The ldousb_reg regulator provides power to the USB1 and USB2 High Speed PHYs. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index

[PATCH 2/6] phy: core: Fix error path in phy_create()

2014-07-02 Thread Roger Quadros
Prevent resources from being freed twice in case device_add() call fails within phy_create(). Also use ida_simple_remove() instead of ida_remove() as we had used ida_simple_get() to allocate the ida. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 7 --- 1 file

[PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). This patch is required for proper functionality of USB, SATA and PCIe on DRA7-evm. CC: Rajendra Nayak

[PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Roger Quadros
Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 2 ++ 2 files changed, 34

[PATCH 4/6] phy: core: Add phy-supply to DT binding documentation

2014-07-02 Thread Roger Quadros
phy-supply is a phandle to the regulator that provides power to the PHY. This regulator is managed during the PHY power on/off sequence by the phy core driver. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/phy-bindings.txt | 4 1 file changed, 4

[PATCH 0/6] omap: phy: dra7-evm PHY fixes for 3.16

2014-07-02 Thread Roger Quadros
Hi, On DRA7-evm, the VDDA_1V8_PHY supply must be always-on for proper functioning of the PHYs on the SoC. The 3.3V USB supply (ldousb_reg) can be turned OFF when the High Speed USB PHYs are not in use. We add regulator support in the PHY framework core to manage the PHY's regulator during PHY

Re: [PATCH] HID: use multi input quirk for 22b9:2968

2014-07-02 Thread Sergei Shtylyov
Hello. On 07/02/2014 02:04 PM, Wen-chien Jesse Sung wrote: This device generates ABS_Z and ABS_RX events instead of ABS_X and ABS_Y. Signed-off-by: Wen-chien Jesse Sung jesse.s...@canonical.com --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files

RE: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread David Laight
From: Andrzej Pietrasiewicz Sent: 02 July 2014 12:20 To: linux-usb@vger.kernel.org; Michal Nazarewicz; Felipe Balbi; Greg Kroah-Hartman; Marek Szyprowski Subject: Re: [PATCH] usb: gadget: f_fs: OS descriptors support W dniu 02.07.2014 13:04, Peter Stuge pisze: Andrzej Pietrasiewicz

Re: [PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Sergei Shtylyov
Hello. On 07/02/2014 04:03 PM, Roger Quadros wrote: Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 32

RE: DMA over USB

2014-07-02 Thread David Laight
From: Raghavendra Thank you for responding Peter, Raghavendra wrote: I have a query regarding DMA(Direct Memory Access) for the usb devices. USB devices never do DMA. As far as Linux is concerned, how the DMA action being taking place for USB devices. It doesn't take place. As

Re: [Patch v7 3/3] usb: dwc3: qcom: Add device tree binding

2014-07-02 Thread Arnd Bergmann
On Wednesday 02 July 2014 11:43:25 Ivan T. Ivanov wrote: snip + + ranges; + + status = disabled; + + dwc3@1100 { + compatible = snps,dwc3; This sub-node is

Re: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Michal Nazarewicz
On Wed, Jul 02 2014, Andrzej Pietrasiewicz andrze...@samsung.com wrote: Add support for OS descriptors. The new format of descriptors is used, because the flags field is required for extensions. os_count gives the number of OSDesc[] elements. The format of descriptors is given in

Re: [PATCH] HID: use multi input quirk for 22b9:2968

2014-07-02 Thread Jesse Sung
2014-07-02 20:19 GMT+08:00 Sergei Shtylyov sergei.shtyl...@cogentembedded.com: Hello. On 07/02/2014 02:04 PM, Wen-chien Jesse Sung wrote: This device generates ABS_Z and ABS_RX events instead of ABS_X and ABS_Y. Signed-off-by: Wen-chien Jesse Sung jesse.s...@canonical.com ---

Re: [PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Nishanth Menon
On 07/02/2014 07:03 AM, Roger Quadros wrote: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). I dont think folks know the reasoning why hardware team decided

[PATCH v2] HID: use multi input quirk for 22b9:2968

2014-07-02 Thread Wen-chien Jesse Sung
This device generates ABS_Z and ABS_RX events instead of ABS_X and ABS_Y. Signed-off-by: Wen-chien Jesse Sung jesse.s...@canonical.com --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hid/hid-ids.h

Re: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Michal Nazarewicz
On Wed, Jul 02 2014, David Laight david.lai...@aculab.com wrote: From: Andrzej Pietrasiewicz Sent: 02 July 2014 12:20 To: linux-usb@vger.kernel.org; Michal Nazarewicz; Felipe Balbi; Greg Kroah-Hartman; Marek Szyprowski Subject: Re: [PATCH] usb: gadget: f_fs: OS descriptors support W dniu

Chipidea gadget unplug/disconnect event

2014-07-02 Thread Michael Grzeschik
Hi Peter, Is it possible to get the chipidea to generate an event on udc unplugging? I see the code path in ci_udc_vbus_session of udc.c to trigger such an event, but unfortunately it was never possible to run into that code. The function ci_otg_work in otg.c is prepared to do that in case the

Re: am335x: linux 3.16-rc3: USB DMA issue

2014-07-02 Thread Yegor Yefremov
On Tue, Jul 1, 2014 at 5:37 PM, Ezequiel García ezequ...@vanguardiasur.com.ar wrote: On 1 July 2014 12:07, Yegor Yefremov yegorsli...@googlemail.com wrote: [..] What can be done with these error messages: of_get_named_gpiod_flags: can't parse gpios property of node

Re: am335x: linux 3.16-rc3: USB DMA issue

2014-07-02 Thread Yegor Yefremov
On Tue, Jul 1, 2014 at 5:43 PM, Bin Liu binml...@gmail.com wrote: On Tue, Jul 1, 2014 at 10:37 AM, Ezequiel García ezequ...@vanguardiasur.com.ar wrote: On 1 July 2014 12:07, Yegor Yefremov yegorsli...@googlemail.com wrote: [..] What can be done with these error messages:

RE: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread David Laight
From: Michal Nazarewicz ... Alternatively it shouldn't be 'packed', and a full audit of the other structures done to determine which ones can ever be misaligned and then determine whether that should actually be allowed. All of the structures describe a wire protocol, whether we thing the

RE: DMA over USB

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, David Laight wrote: From: Raghavendra Thank you for responding Peter, Raghavendra wrote: I have a query regarding DMA(Direct Memory Access) for the usb devices. USB devices never do DMA. As far as Linux is concerned, how the DMA action being taking place for

Re: [PATCH 0/3] Tegra USB probe order issue fix

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Tuomas Tynkkynen wrote: Hi all, This series fixes a probe order issue with the Tegra EHCI driver. Basically, the register area of the 1st USB controller contains some registers that are global to all of the controllers, but that are also cleared when reset is asserted

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-07-02 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH] USB: remove CONFIG_USB_PERSIST from Documentation

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Paul Bolle wrote: On Tue, 2014-06-24 at 13:19 -0400, Alan Stern wrote: On Tue, 24 Jun 2014, Paul Bolle wrote: On Tue, 2014-06-24 at 10:25 -0400, Alan Stern wrote: Also, that Later kernels thing has already arrived. I believe it was implemented in 2.6.35.

Re: [PATCH v2] Documentation: sysfs-bus-usb: update power/persist description

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Paul Bolle wrote: There's no power/persist file for hubs. And CONFIG_USB_PERSIST was removed in v2.6.26. Update the description of power/persist accordingly. Also remove the line on its default value. It is not entirely correct, as CONFIG_USB_DEFAULT_PERSIST and the

Re: [PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
On 07/02/2014 04:05 PM, Nishanth Menon wrote: On 07/02/2014 07:03 AM, Roger Quadros wrote: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). I dont think

Re: [PATCH 0/3] Tegra USB probe order issue fix

2014-07-02 Thread Stephen Warren
On 07/02/2014 08:02 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Tuomas Tynkkynen wrote: Hi all, This series fixes a probe order issue with the Tegra EHCI driver. Basically, the register area of the 1st USB controller contains some registers that are global to all of the controllers, but that

Re: [Patch v7 3/3] usb: dwc3: qcom: Add device tree binding

2014-07-02 Thread Felipe Balbi
Hi, On Wed, Jul 02, 2014 at 02:48:17PM +0200, Arnd Bergmann wrote: On Wednesday 02 July 2014 11:43:25 Ivan T. Ivanov wrote: snip + + ranges; + + status = disabled; + + dwc3@1100 { +

[PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Stefan Klug
Hi everybody, in short: The attached patch adds zerocopy support to the usbfs driver. I tested it on x86 and on a globalscale mirabox ARM board. Until now it works quite nice and I'd love to get some comments and feedback on the patch. Longer version: The usbfs driver does not support direct

Re: [PATCH 0/3] Tegra USB probe order issue fix

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Stephen Warren wrote: On 07/02/2014 08:02 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Tuomas Tynkkynen wrote: Hi all, This series fixes a probe order issue with the Tegra EHCI driver. Basically, the register area of the 1st USB controller contains some registers

Re: [PATCH 0/3] Tegra USB probe order issue fix

2014-07-02 Thread Stephen Warren
On 07/02/2014 10:09 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Stephen Warren wrote: On 07/02/2014 08:02 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Tuomas Tynkkynen wrote: Hi all, This series fixes a probe order issue with the Tegra EHCI driver. Basically, the register area of the 1st USB

Re: [PATCH 0/5] usb: gadget: cleanup gadget driver .unbind usage at udc driver

2014-07-02 Thread Felipe Balbi
On Tue, Jul 01, 2014 at 04:50:02AM +, Peter Chen wrote: -Original Message- From: Peter Chen [mailto:peter.c...@freescale.com] Sent: Saturday, June 21, 2014 9:41 PM To: ba...@ti.com Cc: linux-usb@vger.kernel.org Subject: Re: [PATCH 0/5] usb: gadget: cleanup gadget driver

Re: [PATCH v2][for 3.16 0/3] Gadget directory cleanup

2014-07-02 Thread Felipe Balbi
On Tue, Jul 01, 2014 at 01:14:28PM +0200, Andrzej Pietrasiewicz wrote: W dniu 30.06.2014 20:21, Felipe Balbi pisze: Hi, On Tue, Jun 17, 2014 at 02:19:14PM +0200, Andrzej Pietrasiewicz wrote: This is a follow-up to this thread: http://www.spinics.net/lists/linux-usb/msg107611.html snip

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-07-02 Thread Felipe Balbi
Hi, On Sun, May 25, 2014 at 11:10:30PM +0530, sundeep subbaraya wrote: Hi Felipe, Please take a look at below about how this IP works: IN: req.buf --- DMA (transfers from ddr to IP buffer, raise DMA done interrupt and set Buffer ready to transfer data to Host)Host PC buffer

Re: [PATCH 0/3] usb: common: otg-fsm: add HNP polling support for otg fsm

2014-07-02 Thread Felipe Balbi
On Mon, May 19, 2014 at 01:55:42PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com Hi Felipe, This patchset adds otg HNP polling common part for otg fsm. awesome :-) How have you tested it ? Li Jun (3): usb: common: otg-fsm: start HNP polling timer in host state usb:

[PATCH 2/2 v5] HID: leds: move led_mode attribute to led-class devices in MSI GT683R driver

2014-07-02 Thread Janne Kanniainen
Move led_mode attribute from HID device to led-class devices. This will also fix race condition by using attribute-groups. Signed-off-by: Janne Kanniainen janne.kanniai...@gmail.com --- Changes in v3: - Style fixes - Rename sysfs-class-hid-driver-gt683r to

Re: [PATCH 0/3] Tegra USB probe order issue fix

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Stephen Warren wrote: On 07/02/2014 10:09 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Stephen Warren wrote: On 07/02/2014 08:02 AM, Alan Stern wrote: On Wed, 2 Jul 2014, Tuomas Tynkkynen wrote: Hi all, This series fixes a probe order issue with the Tegra EHCI

Re: [PATCH] usb: gadget: f_fs: OS descriptors support

2014-07-02 Thread Michal Nazarewicz
On Wed, Jul 02 2014, David Laight david.lai...@aculab.com wrote: From: Michal Nazarewicz ... Alternatively it shouldn't be 'packed', and a full audit of the other structures done to determine which ones can ever be misaligned and then determine whether that should actually be allowed.

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Greg KH
On Wed, Jul 02, 2014 at 05:53:56PM +0200, Stefan Klug wrote: Hi everybody, in short: The attached patch adds zerocopy support to the usbfs driver. I tested it on x86 and on a globalscale mirabox ARM board. Until now it works quite nice and I'd love to get some comments and feedback on the

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Stefan Klug wrote: Hi everybody, in short: The attached patch adds zerocopy support to the usbfs driver. I tested it on x86 and on a globalscale mirabox ARM board. Until now it works quite nice and I'd love to get some comments and feedback on the patch. Longer

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Peter Stuge
Thank you very much for working on this, Stefan. Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with userspace, maybe per-URB but it seems better to

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Oliver Neukum
On Wed, 2014-07-02 at 17:53 +0200, Stefan Klug wrote: Implementation details: The patch only touches drivers/usb/core/devio.c. In procy_do_submiturb(), it is checked if zerocopy is allowed. This is currently a rough check which compares the number of required pages to

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Peter Stuge wrote: Thank you very much for working on this, Stefan. Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Oliver Neukum wrote: On Wed, 2014-07-02 at 17:53 +0200, Stefan Klug wrote: Implementation details: The patch only touches drivers/usb/core/devio.c. In procy_do_submiturb(), it is checked if zerocopy is allowed. This is currently a rough check which compares the

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Peter Stuge
Alan Stern wrote: Also, many host controllers cannot handle arbitrary alignment. It would be best to require that the buffer start at a page boundary. This requires a bit of negotiation with userspace, maybe per-URB but I don't follow. What negotiation is needed? All that needs

Re: [PATCH][RFC] USB: zerocopy support for usbfs

2014-07-02 Thread Alan Stern
On Wed, 2 Jul 2014, Peter Stuge wrote: The kernel doesn't support scatter-gather for control transfers, only bulk. That could possibly change, right, and then it would be nice to have zerocopy for free there as well? No. ohci-hcd doesn't support control transfers larger than 4 KB

RE: Chipidea gadget unplug/disconnect event

2014-07-02 Thread Peter Chen
Is it possible to get the chipidea to generate an event on udc unplugging? Yes, it has already implemented at ci_usc_vbus_session. I see the code path in ci_udc_vbus_session of udc.c to trigger such an event, but unfortunately it was never possible to run into that code. The function

Re: [PATCH v2 07/12] usb: chipidea: add a generic driver

2014-07-02 Thread punnaiah choudary kalluri
Since its a generic driver, support for configuring the dma_mask using dma_coerce_mask_and_coherent would be good. Regards, Punnaiah On Tue, Jun 24, 2014 at 4:05 PM, Antoine Ténart antoine.ten...@free-electrons.com wrote: Add a generic ChipIdea driver, with optional PHY and clock, to support

[PATCH net-next] r8152: increase the tx timeout

2014-07-02 Thread Hayes Wang
When the system is too busy to complete the urb, the tx timout function would be called. This causes the other tx urbs would be killed, too. Increase the tx timeout to avoid it. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCHv2 0/6] phy: simplified phy lookup

2014-07-02 Thread Vivek Gautam
Hi, On Wed, Jul 2, 2014 at 5:01 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Thursday 05 June 2014 06:51 PM, Vivek Gautam wrote: Hi Heikki, On Thu, Jun 5, 2014 at 6:22 PM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, So the idea with these is that they should

Re: [PATCH 0/3] usb: common: otg-fsm: add HNP polling support for otg fsm

2014-07-02 Thread Li Jun
On Wed, Jul 02, 2014 at 11:49:07AM -0500, Felipe Balbi wrote: On Mon, May 19, 2014 at 01:55:42PM +0800, Li Jun wrote: From: Li Jun b47...@freescale.com Hi Felipe, This patchset adds otg HNP polling common part for otg fsm. awesome :-) How have you tested it ? Tested by 2