[PATCH v5 0/1] add support for the R-Car H2 and M2 xHCI controllers

2014-06-04 Thread Yoshihiro Shimoda
This patch adds the USB xHCI support for the R-Car H2 and M2 SoCs. These SoCs use an xHCI but still need specific initialization, mainly to setup the firmware downloading and the specific registers. This patch set is based on the usb-next branch of Greg usb.git tree. (commit id = 4a95b1fce97756d03

[PATCH v5 1/1] usb: host: xhci-plat: add support for the R-Car H2 and M2 xHCI controllers

2014-06-04 Thread Yoshihiro Shimoda
The R-Car H2 and M2 SoCs come with an xHCI controller that requires some specific initializations related to the firmware downloading and some specific registers. This patch adds the support for this special configuration as an xHCI quirk executed during probe and start. Signed-off-by: Yoshihiro S

[PATCH v2] usb: dwc3: Keeping 'resource' related code together

2014-06-04 Thread Vivek Gautam
Putting together the code related to getting the 'IORESOURCE_MEM' and assigning the same to dwc->xhci_resources, for increasing the readability. Signed-off-by: Vivek Gautam --- Changes from v1: - Fixed issue with 'res->start' as pointed out by Paul Zimmerman by decrementing it back to its or

Re: [PATCH v2 6/6] usb: host: ohci-exynos: Use devm_ioremap_resource instead of devm_ioremap

2014-06-04 Thread Vivek Gautam
Hi, On Sat, May 10, 2014 at 5:30 PM, Vivek Gautam wrote: > Using devm_ioremap_resource() API should actually be preferred over > devm_ioremap(), since the former request the mem region first and then > gives back the ioremap'ed memory pointer. > devm_ioremap_resource() calls request_mem_region()

Re: [PATCH v3] u_ether: move hardware transmit to RX NAPI

2014-06-04 Thread Andrzej Pietrasiewicz
W dniu 30.05.2014 15:34, Weinn Jheng pisze: In order to reduce the interrupt times in the embedded system, a receiving workqueue is introduced. This modification also enhanced the overall throughput as the benefits of reducing interrupt occurrence. Sorry, still problem: [ 29.934435] BUG: sch

Re: [PATCH v1] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-04 Thread Andrzej Pietrasiewicz
Hi Alan, W dniu 03.06.2014 16:48, Alan Stern pisze: On Tue, 3 Jun 2014 wei.y...@windriver.com wrote: From: Yang Wei While loading g_mass_storage module, the following warning is triggered. In fact, it is more easy to reproduce it with RT kernel. WARNING: at drivers/usb/gadget/composite.c: u

Reply

2014-06-04 Thread mrs . lilbettengoodheart
I, Liliane authenticate this email, you can read about me on: I write to you because I intend to give to you a portion of my Net-worth which I have been banking. I want to cede it out as gift hoping it would be of help to you and others too. Respond for confirmation. (Email:lilianebettencour...@

[PATCH 04/12] trivial: drivers/usb/phy/phy.c: remove a leading space

2014-06-04 Thread Antonio Ospite
Signed-off-by: Antonio Ospite Cc: Felipe Balbi Cc: linux-usb@vger.kernel.org --- drivers/usb/phy/phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index 36b6bce..6d0f608 100644 --- a/drivers/usb/phy/phy.c +++ b/drivers/usb/phy

Re: [PATCH v2 6/6] usb: host: ohci-exynos: Use devm_ioremap_resource instead of devm_ioremap

2014-06-04 Thread Thierry Reding
On Wed, Jun 04, 2014 at 03:41:20PM +0530, Vivek Gautam wrote: > Hi, > > > On Sat, May 10, 2014 at 5:30 PM, Vivek Gautam > wrote: > > Using devm_ioremap_resource() API should actually be preferred over > > devm_ioremap(), since the former request the mem region first and then > > gives back the

Re: [PATCH v1] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-04 Thread Alan Stern
On Wed, 4 Jun 2014, Yang,Wei wrote: > On 06/04/2014 09:45 AM, Peter Chen wrote: > > > >> commit d18f7116a5ddb8263fe62b05ad63e5ceb5875791 > >> Author: Robert Baldyga > >> Date: Thu Nov 21 13:49:18 2013 +0100 > >> > >> usb: gadget: s3c-hsotg: fix disconnect handling > >> > >> This

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Johan Hovold
On Tue, Jun 03, 2014 at 06:17:33AM -0400, Mike Remski wrote: > On 06/02/2014 01:46 PM, Johan Hovold wrote: > > On Mon, Jun 02, 2014 at 01:11:37PM -0400, Mike Remski wrote: > >> On 06/02/2014 12:49 PM, Johan Hovold wrote: > >>> On Mon, Jun 02, 2014 at 12:24:44PM -0400, Mike Remski wrote: > On 0

RE: [PATCHv2] usb: gadget: f_fs: Add flags to descriptors block

2014-06-04 Thread Krzysztof Opasiak
Hello Michal, > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Michal Nazarewicz > Sent: Tuesday, February 25, 2014 6:02 PM > To: Manu Gautam > Cc: ba...@ti.com; ja...@codeaurora.org; pheat...@codeaurora.org; > linux-usb@

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 10:19 AM, Johan Hovold wrote: On Tue, Jun 03, 2014 at 06:17:33AM -0400, Mike Remski wrote: On 06/02/2014 01:46 PM, Johan Hovold wrote: On Mon, Jun 02, 2014 at 01:11:37PM -0400, Mike Remski wrote: On 06/02/2014 12:49 PM, Johan Hovold wrote: On Mon, Jun 02, 2014 at 12:24:44PM -04

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Johan Hovold
On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: > On 06/04/2014 10:19 AM, Johan Hovold wrote: > > >From 4ddea3a573b8c15beefb67bc35c440850063d79d Mon Sep 17 00:00:00 2001 > > From: Johan Hovold > > Date: Wed, 4 Jun 2014 14:09:43 +0200 > > Subject: [PATCH 1/5] USB: ftdi_sio: fix null d

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 10:52 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: On 06/04/2014 10:19 AM, Johan Hovold wrote: >From 4ddea3a573b8c15beefb67bc35c440850063d79d Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 4 Jun 2014 14:09:43 +0200 Subject: [PATCH 1

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 10:52 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: On 06/04/2014 10:19 AM, Johan Hovold wrote: >From 4ddea3a573b8c15beefb67bc35c440850063d79d Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 4 Jun 2014 14:09:43 +0200 Subject: [PATCH 1

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Johan Hovold
On Wed, Jun 04, 2014 at 10:55:28AM -0400, Mike Remski wrote: > On 06/04/2014 10:52 AM, Johan Hovold wrote: > > On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: > >> On 06/04/2014 10:19 AM, Johan Hovold wrote: > >>> >From 4ddea3a573b8c15beefb67bc35c440850063d79d Mon Sep 17 00:00:00 2001

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 11:09 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:55:28AM -0400, Mike Remski wrote: On 06/04/2014 10:52 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: On 06/04/2014 10:19 AM, Johan Hovold wrote: >From 4ddea3a573b8c15beefb67bc35c440850

Re: [PATCH v1] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-04 Thread Alan Stern
On Wed, 4 Jun 2014, Andrzej Pietrasiewicz wrote: > When Sebastian introduced the function registration interface I didn't > specially like the naming: struct usb_function_instance is something > different than an instance of struct usb_function. What is the difference in purpose between usb_funct

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 11:09 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:55:28AM -0400, Mike Remski wrote: On 06/04/2014 10:52 AM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 10:29:37AM -0400, Mike Remski wrote: On 06/04/2014 10:19 AM, Johan Hovold wrote: >From 4ddea3a573b8c15beefb67bc35c440850

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Johan Hovold
On Wed, Jun 04, 2014 at 11:41:47AM -0400, Mike Remski wrote: > Ok, had a chance to try the cdc-acm; yes it's the ancient one that is > in the base install of CentOS 6.4 (2.6.32-71.29.1 centos patched). I'm > hitting something similar; I noticed there where a few commits for NULL > pointer der

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 12:00 PM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 11:41:47AM -0400, Mike Remski wrote: Ok, had a chance to try the cdc-acm; yes it's the ancient one that is in the base install of CentOS 6.4 (2.6.32-71.29.1 centos patched). I'm hitting something similar; I noticed there wher

Re: ftdi_sio BUG: NULL pointer dereference

2014-06-04 Thread Mike Remski
On 06/04/2014 12:00 PM, Johan Hovold wrote: On Wed, Jun 04, 2014 at 11:41:47AM -0400, Mike Remski wrote: Ok, had a chance to try the cdc-acm; yes it's the ancient one that is in the base install of CentOS 6.4 (2.6.32-71.29.1 centos patched). I'm hitting something similar; I noticed there wher

RE: [PATCH v1] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-04 Thread Paul Zimmerman
> From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern > Sent: Wednesday, June 04, 2014 6:57 AM > > On Wed, 4 Jun 2014, Yang,Wei wrote: > > > On 06/04/2014 09:45 AM, Peter Chen wrote: > > > > > >> commit d18f7116a5ddb8263fe62b05ad63e5ceb5875791

Re: [PATCHv2] usb: gadget: f_fs: Add flags to descriptors block

2014-06-04 Thread Michal Nazarewicz
>> -struct usb_functionfs_descs_head { >> -__le32 magic; >> -__le32 length; >> -__le32 fs_count; >> -__le32 hs_count; >> -} __attribute__((packed)); On Wed, Jun 04 2014, Krzysztof Opasiak wrote: > I have tried to compile FFS examples with v3.15-rc8 but I have faced an > issue that

ohci-hcd patch for testing

2014-06-04 Thread Alan Stern
Dennis and Matteo: I promised to send both of you a patch changing the way ohci-hcd handles hardware bugs. Well, it's finally ready for testing. There's only a limited amount I can do on my own machine, so now it's up to you guys. The patch was made against an early -rc version of 3.15, but it

[PATCH] staging: usbip: stub_main.c: Cleaning up missing null-terminate after strncpy call

2014-06-04 Thread Rickard Strandqvist
Added a guaranteed null-terminate after call to strncpy. This was partly found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/usbip/stub_main.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/usbip/stub_main.c

RE: [PATCH v1] USB:gadget: Fix a warning while loading g_mass_storage

2014-06-04 Thread Peter Chen
> On Wed, 4 Jun 2014, Yang,Wei wrote: > > > On 06/04/2014 09:45 AM, Peter Chen wrote: > > > > > >> commit d18f7116a5ddb8263fe62b05ad63e5ceb5875791 > > >> Author: Robert Baldyga > > >> Date: Thu Nov 21 13:49:18 2013 +0100 > > >> > > >> usb: gadget: s3c-hsotg: fix disconnect handling > >