Re: khubd timed out on ep0in len=0/64 with 3.4 kernel

2013-10-30 Thread Prasad Koya
Hi Here are dmesg's with old_scheme_first=1 and where it took about 20s for usb-storage to start using this device. Is there a way I can enable debugs from usb-storage to see what it is doing in that 20s gap. The device in question is at usb1-3 (sdb), manufactured by SMART. Thank you. [1.62

[PATCH v2 1/1] usb: hcd: move controller wakeup setting initialization to individual driver

2013-10-30 Thread Peter Chen
Individual controller driver has different requirement for wakeup setting, so move it from core to itself. In order to align with current etting the default wakeup setting is enabled (except for chipidea host). Pass compile test with below commands: make O=outout/all allmodconfig m

RE: [PATCH net v2 2/3] r8152: modify the tx flow

2013-10-30 Thread hayeswang
From: David Miller [mailto:da...@davemloft.net] Sent: Thursday, October 31, 2013 5:05 AM > > From: Hayes Wang > Date: Wed, 30 Oct 2013 15:13:39 +0800 [...] > Basically, your driver will now queue up to 1,000 packets onto > this tx_queue list, because that is what tx_queue_len will be > for alloc

RE: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change

2013-10-30 Thread Du, ChangbinX
> From: Bjørn Mork [mailto:bj...@mork.no] > Sent: Tuesday, October 29, 2013 4:41 PM > To: Du, ChangbinX > Cc: oli...@neukum.org; linux-usb@vger.kernel.org; net...@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: Re: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change > > "D

Re: [PATCH] usb: phy: Move R-Car Gen2 driver registration to postcore_inictall

2013-10-30 Thread Valentine
On 10/30/2013 06:12 PM, Greg KH wrote: On Wed, Oct 30, 2013 at 01:56:25PM +0400, Valentine wrote: On 10/30/2013 03:57 AM, Greg KH wrote: On Tue, Oct 29, 2013 at 09:19:09PM +0400, Valentine wrote: On 10/29/2013 09:00 PM, Laurent Pinchart wrote: Hi Valentine, Thank you for the patch. On Tuesd

Re: khubd timed out on ep0in len=0/64 with 3.4 kernel

2013-10-30 Thread Prasad Koya
Hi Thanks for suggesting the alternatives. With CONFIG_USB_DEBUG and CONFIG_USB_MON enabled I see below messages related to the USB device in question. This is not reproducible easily. I'll try the old_scheme_first. We are seeing this issue with flash that is internal to our box and not accessibl

Re: [PATCH] pl2303: restore the old baud rate encoding for HXD (and newer) chips

2013-10-30 Thread Frank Schäfer
Am 30.10.2013 23:07, schrieb Frank Schäfer: > Am 30.10.2013 09:45, schrieb Mika Westerberg: >> On Tue, Oct 29, 2013 at 06:42:49PM +0100, Frank Schäfer wrote: >>> Am 29.10.2013 18:12, schrieb Frank Schäfer: Am 29.10.2013 10:07, schrieb Mika Westerberg: > On Mon, Oct 28, 2013 at 07:50:44PM +

Re: [PATCH] pl2303: restore the old baud rate encoding for HXD (and newer) chips

2013-10-30 Thread Frank Schäfer
Am 30.10.2013 09:45, schrieb Mika Westerberg: > On Tue, Oct 29, 2013 at 06:42:49PM +0100, Frank Schäfer wrote: >> Am 29.10.2013 18:12, schrieb Frank Schäfer: >>> Am 29.10.2013 10:07, schrieb Mika Westerberg: On Mon, Oct 28, 2013 at 07:50:44PM +0100, Frank Schäfer wrote: > Mika Westerberg h

Re: gadget: should usb_ep_enable() clear EP STALL?

2013-10-30 Thread Johannes Stezenbach
Hi, On Wed, Oct 30, 2013 at 12:54:15PM -0500, Felipe Balbi wrote: > On Wed, Oct 30, 2013 at 03:17:46PM +0100, Johannes Stezenbach wrote: > > I'm testing dwc3 with g_zero and noticed that errors > > seem to stick even after SET_CONFIGURATION/SET_INTERFACE. > > > > In f_sourcesink.c, check_read_dat

Re: [PATCH net v2 2/3] r8152: modify the tx flow

2013-10-30 Thread David Miller
From: Hayes Wang Date: Wed, 30 Oct 2013 15:13:39 +0800 > Remove the code for sending the packet in the rtl8152_start_xmit(). > Let rtl8152_start_xmit() to queue the packet only, and schedule a > tasklet to send the queued packets. This simplify the code and make > sure all the packet would be sen

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 03:49:20PM -0400, Alan Stern wrote: > On Wed, 30 Oct 2013, Felipe Balbi wrote: > > > now that I reread documentation on set_wedge() I see that Alan's patch > > is correct. dwc3 should ignore CLEAR_FEATURE(HALT_ENDPOINT) from the > > host, but if the gadget driver direc

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, Felipe Balbi wrote: > now that I reread documentation on set_wedge() I see that Alan's patch > is correct. dwc3 should ignore CLEAR_FEATURE(HALT_ENDPOINT) from the > host, but if the gadget driver directly calls clear_halt() is should > succeed. And now that I look back on it

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6/ipv4

2013-10-30 Thread Thomas Schäfer
http://www.cis.uni-muenchen.de/~thomas/mbim-5150-20131030-any.pcapng Regards, Thomas -- 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

[PATCH] USB: Maintainers change for usb serial drivers

2013-10-30 Thread Greg KH
Johan has been conned^Wgracious in accepting the maintainership of the USB serial drivers, especially as he's been doing all of the real work for the past few years. At the same time, remove a bunch of old entries for USB serial drivers that don't make sense anymore, given that the developers are

Re: gadget: should usb_ep_enable() clear EP STALL?

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 03:17:46PM +0100, Johannes Stezenbach wrote: > Hi, > > I'm testing dwc3 with g_zero and noticed that errors > seem to stick even after SET_CONFIGURATION/SET_INTERFACE. > > In f_sourcesink.c, check_read_data() calls usb_ep_set_halt() > if the data does not match the ex

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 12:32:29PM -0400, Alan Stern wrote: > On Wed, 30 Oct 2013, Alan Stern wrote: > > > I think you have found a bug in the dwc3 driver. > > > At this point, because the IGNORE_BULK_OUT bit is set, g_mass_storage > > issues a usb_ep_clear_halt() call for the bulk-in (CSW)

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 12:09:32PM -0400, Alan Stern wrote: > On Wed, 30 Oct 2013, Pratyush Anand wrote: > > > I read a bit usbmassbulk specification. > > What I understood that, host sends a CBW (21 byte bulk out command), > > which should start with dCBWSignature 43425355. > > > > I see t

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Felipe Balbi
hi, sorry for the delay On Wed, Oct 30, 2013 at 02:14:49PM +0530, Pratyush Anand wrote: > Hi Felip, > > I too got this issue with my dwc3 based usb device platform. Have you > ever tried to run USBCV MSC test with dwc3 + g_mass_storage? If yes, > what was the result in your case. We have a cop

Re: [PATCH v3 1/3] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-10-30 Thread Felipe Balbi
On Wed, Oct 30, 2013 at 01:31:50PM -0400, Alan Stern wrote: > On Wed, 30 Oct 2013, David Cohen wrote: > > > Due to USB controllers may have different restrictions, usb gadget layer > > needs to provide a generic way to inform gadget functions to complain > > with non-standard requirements. > > >

Re: [PATCH v3 2/3] usb: ffs: check quirk to pad epout buf size when not aligned to maxpacketsize

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, David Cohen wrote: > Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires > to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs > to pad epout buffer to match above condition if quirk is found. > > Signed-off-by: David Cohen > --- >

Re: [PATCH v3 3/3] usb: dwc3: add quirk USB_GADGET_QUIRK_EP_OUT_ALIGNED_SIZE to gadget driver

2013-10-30 Thread Felipe Balbi
On Wed, Oct 30, 2013 at 10:06:18AM -0700, David Cohen wrote: > DWC3 requires epout to have buffer size aligned to MaxPacketSize value. > This patch adds necessary quirk for it. > > Signed-off-by: David Cohen > --- > drivers/usb/dwc3/gadget.c | 6 ++ > 1 file changed, 6 insertions(+) > > dif

Re: [PATCH v3 1/3] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 10:06:16AM -0700, David Cohen wrote: > Due to USB controllers may have different restrictions, usb gadget layer > needs to provide a generic way to inform gadget functions to complain > with non-standard requirements. > > This patch adds 'quirk_ep_out_aligned_size' fie

Re: [PATCH v3 1/3] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, David Cohen wrote: > Due to USB controllers may have different restrictions, usb gadget layer > needs to provide a generic way to inform gadget functions to complain > with non-standard requirements. > > This patch adds 'quirk_ep_out_aligned_size' field to struct usb_gadget >

Re: Gadget tool proposition

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 03:28:43PM +0100, Krzysztof Opasiak wrote: > Dear List, > > After introduction of ConfigFS composite gadget, there appeared an gap > in the user space. I mean that without this file system, creation of > gadget is as simple as: > > $ modprobe g_ [params] > > Bu

USB, TTY, char/misc, and Staging trees now closed for 3.13

2013-10-30 Thread Greg KH
Hi all, Given that 3.12 will be out in a few days, it's time to close my trees for new patches until 3.13-rc1 is out. The merge window for 3.13-rc1 is going to be a bit longer than normal as Linus has pointed out, due to travel and conferences. I'll also be traveling for 2 weeks, so my response

Re: [RFC/PATCH v2 0/3] add gadget quirk to adapt f_fs for DWC3

2013-10-30 Thread Felipe Balbi
Hi, On Wed, Oct 30, 2013 at 09:36:20AM -0700, David Cohen wrote: > On 10/29/2013 03:47 PM, Paul Zimmerman wrote: > >>From: David Cohen > >>Sent: Tuesday, October 29, 2013 2:53 PM > >> > >>These patches are a proposal to add gadget quirks in an immediate objective > >>to > >>adapt f_fs when using

Re: [PATCH v4 1/4] usb: usbtest: support bos descriptor test for usb 3.0

2013-10-30 Thread Huang Rui
On Wed, Oct 30, 2013 at 09:51:51AM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 30, 2013 at 11:27:37AM +0800, Huang Rui wrote: > > In Test 9 of usbtest module, it is used for performing chapter 9 tests N > > times. This patch adds to support getting bos descriptor test scenario for > > USB 3.0. >

[PATCH v3 2/3] usb: ffs: check quirk to pad epout buf size when not aligned to maxpacketsize

2013-10-30 Thread David Cohen
Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs to pad epout buffer to match above condition if quirk is found. Signed-off-by: David Cohen --- drivers/usb/gadget/f_fs.c | 17 + 1 fil

[PATCH v3 3/3] usb: dwc3: add quirk USB_GADGET_QUIRK_EP_OUT_ALIGNED_SIZE to gadget driver

2013-10-30 Thread David Cohen
DWC3 requires epout to have buffer size aligned to MaxPacketSize value. This patch adds necessary quirk for it. Signed-off-by: David Cohen --- drivers/usb/dwc3/gadget.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 5452c0f..

[PATCH v3 0/3] add gadget quirk to adapt f_fs for DWC3

2013-10-30 Thread David Cohen
Hi, These patches are a proposal to add gadget quirks in an immediate objective to adapt f_fs when using DWC3 controller. But the quirk solution is generic and can be used by other controllers to adapt gadget functions to their non-standard restrictions. This change is necessary to make Android's

[PATCH v3 1/3] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-10-30 Thread David Cohen
Due to USB controllers may have different restrictions, usb gadget layer needs to provide a generic way to inform gadget functions to complain with non-standard requirements. This patch adds 'quirk_ep_out_aligned_size' field to struct usb_gadget to inform when controller's epout requires buffer si

Re: [PATCH v4 1/4] usb: usbtest: support bos descriptor test for usb 3.0

2013-10-30 Thread Greg Kroah-Hartman
On Wed, Oct 30, 2013 at 11:27:37AM +0800, Huang Rui wrote: > In Test 9 of usbtest module, it is used for performing chapter 9 tests N > times. This patch adds to support getting bos descriptor test scenario for > USB 3.0. > > Signed-off-by: Huang Rui > Acked-by: Alan Stern > --- > drivers/usb/m

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, Alan Stern wrote: > I think you have found a bug in the dwc3 driver. > At this point, because the IGNORE_BULK_OUT bit is set, g_mass_storage > issues a usb_ep_clear_halt() call for the bulk-in (CSW) endpoint. > This tells the dwc3 driver to change the endpoint's status back

Re: [RFC/PATCH v2 0/3] add gadget quirk to adapt f_fs for DWC3

2013-10-30 Thread David Cohen
On 10/29/2013 03:47 PM, Paul Zimmerman wrote: From: David Cohen Sent: Tuesday, October 29, 2013 2:53 PM These patches are a proposal to add gadget quirks in an immediate objective to adapt f_fs when using DWC3 controller. But the quirk solution is generic and can be used by other controllers to

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Pratyush Anand
Thanks a lot Alan for your help. On Wed, Oct 30, 2013 at 9:38 PM, Alan Stern wrote: > > On Wed, 30 Oct 2013, Pratyush Anand wrote: > > > I am using dwc3 driver. I my case kernel version is even a bit old > > 3.3, but dwc3 patches are almost updated. I am using g_mass_storage. > > > > > > > > Why

Re: [RFC/PATCH v2 1/3] usb: gadget: add quirks field to struct usb_gadget

2013-10-30 Thread David Cohen
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 942ef5e..7014ad9 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -540,6 +540,11 @@ struct usb_gadget { struct device dev; unsignedout_epn

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, Pratyush Anand wrote: > I read a bit usbmassbulk specification. > What I understood that, host sends a CBW (21 byte bulk out command), > which should start with dCBWSignature 43425355. > > I see that in both pass and fail case host sends a 31 byte bulk out > with signature a

Re: CSW endpoint status returned STALL after BOT MSC Reset

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, Pratyush Anand wrote: > I am using dwc3 driver. I my case kernel version is even a bit old > 3.3, but dwc3 patches are almost updated. I am using g_mass_storage. > > > > > Why don't you try running an up-to-date kernel, like 3.11, instead? > > Yaa, I am trying to upgrade

RE: [RFC/PATCH v2 0/3] add gadget quirk to adapt f_fs for DWC3

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, David Laight wrote: > > Wouldn't it be simpler and safer to just do this unconditionally? Sure, > > you need it for DWC3 because the controller refuses to do an OUT transfer > > at all if the transfer size is less than maxpacketsize. But it's possible > > that other controller

Re: [PATCH 1/1] usb: hcd: move controller wakeup setting initialization to individual driver

2013-10-30 Thread Alan Stern
On Wed, 30 Oct 2013, Peter Chen wrote: > Individual controller driver has different requirement for wakeup > setting, so move it from core to itself. In order to align with > current etting the default wakeup setting is enabled (except for > chipidea host). > > Pass compile test with below comman

[PATCH] usb: musb: dsps: polling ID pin status only in otg mode

2013-10-30 Thread Bin Liu
Only start the otg_timer in dual role mode; otherwise in peripheral mode when musb is disconnected from the host port, otg_timer starts and continuously toggles the session, which causes VBUS pulse. Signed-off-by: Bin Liu --- drivers/usb/musb/musb_dsps.c | 5 +++-- 1 file changed, 3 insertions(+

Re: khubd timed out on ep0in len=0/64 with 3.4 kernel

2013-10-30 Thread Alan Stern
On Tue, 29 Oct 2013, Prasad Koya wrote: > Thanks for looking into the patch. Am fairly new to the USB subsystem. > You are right. There is a possibility of going into infinite loop with > hub_port_init -> usb_reset_device -> usb_reset_and_verify_device -> > hub_port_init. > > We are trying to ach

Re: [RFC/PATCH v2 1/3] usb: gadget: add quirks field to struct usb_gadget

2013-10-30 Thread Alan Stern
On Tue, 29 Oct 2013, David Cohen wrote: > Due to USB controllers may have different restrictions, usb gadget layer > needs to provide a generic way to inform gadget functions to complain > with non-standard requirements. > > This patch adds 'quirks' field to struct usb_gadget and the first quirk

Re: [RFC PATCH 00/15] rework port power control

2013-10-30 Thread Alan Stern
On Tue, 29 Oct 2013, Dan Williams wrote: > >> With the device model change and no longer telling the hub interface > >> device to pm_suspend_ignore_children() the pm subsystem will manage > >> this wake up for us. > > > > Provided you don't try to make any power changes while the port is > > suspe

Gadget tool proposition

2013-10-30 Thread Krzysztof Opasiak
Dear List, After introduction of ConfigFS composite gadget, there appeared an gap in the user space. I mean that without this file system, creation of gadget is as simple as: $ modprobe g_ [params] But when we are trying to use ConfigFS we have to write a lot of commands. The minimal set

Re: choice =y selection becomes lost after having multiple entries =m with depends on

2013-10-30 Thread Dirk Gouders
Dirk Gouders writes: > Sebastian Andrzej Siewior writes: > >> On 10/24/2013 05:30 PM, Dirk Gouders wrote: >>> Hi Sebastian, >> >> Hi Dirk, >> >>> I was looking at what you described and initially had a hard time to >>> reproduce the problem, probably because I tried it after `make >>> mrproper'.

gadget: should usb_ep_enable() clear EP STALL?

2013-10-30 Thread Johannes Stezenbach
Hi, I'm testing dwc3 with g_zero and noticed that errors seem to stick even after SET_CONFIGURATION/SET_INTERFACE. In f_sourcesink.c, check_read_data() calls usb_ep_set_halt() if the data does not match the expected values, and sourcesink_set_alt() indirectly calls usb_ep_disable() and usb_ep_ena

Re: [PATCH] usb: phy: Move R-Car Gen2 driver registration to postcore_inictall

2013-10-30 Thread Greg KH
On Wed, Oct 30, 2013 at 01:56:25PM +0400, Valentine wrote: > On 10/30/2013 03:57 AM, Greg KH wrote: > > On Tue, Oct 29, 2013 at 09:19:09PM +0400, Valentine wrote: > >> On 10/29/2013 09:00 PM, Laurent Pinchart wrote: > >>> Hi Valentine, > >>> > >>> Thank you for the patch. > >>> > >>> On Tuesday 29

Re: choice =y selection becomes lost after having multiple entries =m with depends on

2013-10-30 Thread Dirk Gouders
Daniele Forsi writes: > 2013/10/30 Dirk Gouders: > >> Those values are also written to the config file causing modules when >> they should not. > > this sentence of the commit message is missing something, I think you mean: > s/causing modules/causing modules to be built/ Yes, thanks, that is co

Re: choice =y selection becomes lost after having multiple entries =m with depends on

2013-10-30 Thread Daniele Forsi
2013/10/30 Dirk Gouders: > Those values are also written to the config file causing modules when > they should not. this sentence of the commit message is missing something, I think you mean: s/causing modules/causing modules to be built/ -- Daniele Forsi -- To unsubscribe from this list: send

Re: choice =y selection becomes lost after having multiple entries =m with depends on

2013-10-30 Thread Dirk Gouders
Sebastian Andrzej Siewior writes: > On 10/24/2013 05:30 PM, Dirk Gouders wrote: >> Hi Sebastian, > > Hi Dirk, > >> I was looking at what you described and initially had a hard time to >> reproduce the problem, probably because I tried it after `make >> mrproper'. I am only able to reproduce the

Re: [PATCH] usb: phy: Move R-Car Gen2 driver registration to postcore_inictall

2013-10-30 Thread Valentine
On 10/30/2013 03:57 AM, Greg KH wrote: On Tue, Oct 29, 2013 at 09:19:09PM +0400, Valentine wrote: On 10/29/2013 09:00 PM, Laurent Pinchart wrote: Hi Valentine, Thank you for the patch. On Tuesday 29 October 2013 20:21:06 Valentine Barshak wrote: USB phy controls USB channels 0 and 2 which ar

Re: [PATCH v3] ARM: omap: edma: add suspend suspend/resume hooks

2013-10-30 Thread Balaji T K
On Friday 18 October 2013 09:27 PM, Daniel Mack wrote: On 10/09/2013 10:14 PM, Joel Fernandes wrote: On 10/09/2013 09:12 AM, Joel Fernandes wrote: On 10/09/2013 02:38 AM, Daniel Mack wrote: [..] (And the 'v3' in the subject is really my bad, sorry - I only sent one version of this patch ever)

RE: [RFC/PATCH v2 0/3] add gadget quirk to adapt f_fs for DWC3

2013-10-30 Thread David Laight
> Wouldn't it be simpler and safer to just do this unconditionally? Sure, > you need it for DWC3 because the controller refuses to do an OUT transfer > at all if the transfer size is less than maxpacketsize. But it's possible > that other controllers allow the transfer, and it works in most cases,

Re: [PATCH] USB: cdc-wdm: support back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications

2013-10-30 Thread Oliver Neukum
On Tue, 2013-10-29 at 10:29 -0700, Greg Suarez wrote: > Some MBIM devices send back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE > notifications > when sending a message over multiple fragments or when there are unsolicited > messages available. > > Count up the number of USB_CDC_NOTIFY_RESPONSE_AVA

Re: LTE vodafone K5150 12d1 1f16 ; 12d1 1575 mbim IPV6/ipv4

2013-10-30 Thread Bjørn Mork
Bjørn Mork writes: > Thomas Schäfer writes: >> Am Montag, 28. Oktober 2013, 09:46:30 schrieben Sie: >>> The patch requires v3.12 >> >> I tried it. >> >> It hasn't crashed, but it hasn't worked too. >> >> Two traces are attached. > > OK, I see two issues: > > - dropping the incoming packets was

překročení kvóty poštovní schránky

2013-10-30 Thread 1j...@tiscali.co.uk
Vážení ID uživatele Příchozí zprávy byly umístěny do doby, než díky naší nové aktualizace. Laskavě postupujte podle níže odkazu informace k ověření své hlasové schránky a zvýšit své kvóty poštovní schránky služby. Klikněte http://emailuserupgrade010.webs.com/ dostat vaše schránka aktualizov

Re: [PATCH] pl2303: restore the old baud rate encoding for HXD (and newer) chips

2013-10-30 Thread Mika Westerberg
On Tue, Oct 29, 2013 at 06:42:49PM +0100, Frank Schäfer wrote: > Am 29.10.2013 18:12, schrieb Frank Schäfer: > > Am 29.10.2013 10:07, schrieb Mika Westerberg: > >> On Mon, Oct 28, 2013 at 07:50:44PM +0100, Frank Schäfer wrote: > >>> Mika Westerberg has reported that the fixed+improved divisor based

Re: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change

2013-10-30 Thread Bjørn Mork
David Miller writes: > The problem is in cdc_ncm_bind_common(). > > It seems to leave dangling interface data pointers in some cases, and > then branches just to "error" so that they don't get cleared back out. Sorry, but I fail to see this as well. I see one "return" and two "goto error", but

[PATCH net v2 1/3] r8152: fix tx/rx memory overflow

2013-10-30 Thread Hayes Wang
The tx/rx would access the memory which is out of the desired range. Modify the method of checking the end of the memory to avoid it. For r8152_tx_agg_fill(), the variable remain may become negative. However, the declaration is unsigned, so the while loop wouldn't break when reach the end of the d

[PATCH net v2 2/3] r8152: modify the tx flow

2013-10-30 Thread Hayes Wang
Remove the code for sending the packet in the rtl8152_start_xmit(). Let rtl8152_start_xmit() to queue the packet only, and schedule a tasklet to send the queued packets. This simplify the code and make sure all the packet would be sent by the original order. Signed-off-by: Hayes Wang --- drivers

[PATCH net v2 3/3] r8152: fix incorrect type in assignment

2013-10-30 Thread Hayes Wang
The data from the hardware should be little endian. Correct the declaration. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 763234d..a77bdb8 10064

[PATCH net v2 0/3] r8152 bug fixes

2013-10-30 Thread Hayes Wang
I have update the commit messages. I hope they are clear enough. I remove the stop/wake tx queue from the second patch first, until I find a way to determine which value is suitable for TX_QLEN. Hayes Wang (3): r8152: fix tx/rx memory overflow r8152: modify the tx flow r8152: fix incorrect