[PATCH net] r8152: drop the tx packet with invalid length

2014-11-26 Thread Hayes Wang
Drop the tx packet which is more than the size of agg_buf_sz. When creating a bridge with the device, we may get the tx packet with TSO and the length is more than the gso_max_size which is set by the driver through netif_set_gso_max_size(). Such packets couldn't be transmitted and should be

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Amit Virdi
Dear Sebastian, On 11/25/2014 10:52 PM, Sebastian Andrzej Siewior wrote: The max packet size within the FS descriptor has to be highest possible value and _not_ the one that is (or will be) used on FS. The current code sets wMaxPacketSize of FS interrupt endpoint descriptor as 64, which is

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Amit Virdi
Dear Sebastian, On 11/25/2014 10:56 PM, Sebastian Andrzej Siewior wrote: This fixes the test case mentioned for musb which is a regression. Other things that I noticed: - if ISOC is not available, we won't have INT as well. I didn't understand this. The original patch added a new alternate

Re: [PATCH V2 2/2] arm64: exynos: Add bus1 pinctrl node on exynos7

2014-11-26 Thread Alim Akhtar
Hi Vivek, On Mon, Nov 24, 2014 at 6:36 PM, Vivek Gautam gautam.vi...@samsung.com wrote: BUS1 pinctrl provides gpios for usb and power regulator available on exynos7-espresso board. So add relevant device node for pinctrl-bus1. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com

Re: [PATCH V2 1/2] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-26 Thread Alim Akhtar
Hi Vivek, On Mon, Nov 24, 2014 at 6:32 PM, Vivek Gautam gautam.vi...@samsung.com wrote: USB and Power regulator on Exynos7 require gpios available in BUS1 pin controller block. So adding the BUS1 pinctrl support. Signed-off-by: Naveen Krishna Ch naveenkrishna...@gmail.com Signed-off-by:

[PATCH 2/2] usb: musb: blackfin: fix build break

2014-11-26 Thread Felipe Balbi
commit cc92f681 (usb: musb: Populate new IO functions for blackfin) added a typo which prevented MUSB's blackfin glue layer from being built. Due to lack of tests and compilers for that architecture, the typo ended up being merged and causing a build regression. Fix that here Cc: Tony Lindgren

[PATCH 0/2] usb: musb: build fixes

2014-11-26 Thread Felipe Balbi
Hi, Here are two build fixes for recent breaks which can be triggered when building MUSB for Blackfin. I don't have any blackfin platform nor a cross compiler for that architecture, so these breaks were merged without me noticing. Greg, if you want to merge these two as patches, please go

[PATCH 1/2] usb: musb: debugfs: cope with blackfin's oddities

2014-11-26 Thread Felipe Balbi
Blackfin's MUSB implementation lacks a bunch of registers which they end up not defining a macro for. In order to avoid build breaks, let's ifdef out some of the registers from our regdump debugfs utility so that we don't try to use those on Blackfin builds. Reported-by: Fengguang Wu

[patch] USB: adutux: NULL dereferences on disconnect

2014-11-26 Thread Dan Carpenter
Both dev-udev and interface-dev are NULL. These printks are not very interesting so I just deleted them. Fixes: 03270634e242 ('USB: Add ADU support for Ontrak ADU devices') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c

Re: [PATCH 9/9] usb: {ohci,ehci}-platform: Use new OF big-endian helper function

2014-11-26 Thread Alan Stern
On Tue, 25 Nov 2014, Kevin Cernekee wrote: This handles the existing big-endian case, and in addition, it also does the right thing when native-endian is specified. Signed-off-by: Kevin Cernekee cerne...@gmail.com --- Documentation/devicetree/bindings/usb/usb-ehci.txt | 2 ++

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, tianjulin wrote: Hi Stern, Many Thanks!!! You're welcome. I use command as follows,the usb bus can enter runtime suspend when I connect usb storage,and if have operate on usb storage,the usb bus can be resume,if have not any operate on usb storage,the usb bus can

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, Amit Virdi wrote: Dear Sebastian, On 11/25/2014 10:52 PM, Sebastian Andrzej Siewior wrote: The max packet size within the FS descriptor has to be highest possible value and _not_ the one that is (or will be) used on FS. The current code sets wMaxPacketSize of FS

Re: [PATCH 9/9] usb: {ohci,ehci}-platform: Use new OF big-endian helper function

2014-11-26 Thread Kevin Cernekee
On Wed, Nov 26, 2014 at 7:14 AM, Alan Stern st...@rowland.harvard.edu wrote: diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt index 43c1a4e..9505c31 100644 --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt +++

Re: [PATCH 2/2] usb: musb: blackfin: fix build break

2014-11-26 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141126 06:03]: commit cc92f681 (usb: musb: Populate new IO functions for blackfin) added a typo which prevented MUSB's blackfin glue layer from being built. Due to lack of tests and compilers for that architecture, the typo ended up being merged and causing a

Re: [PATCH 9/9] usb: {ohci,ehci}-platform: Use new OF big-endian helper function

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, Kevin Cernekee wrote: On Wed, Nov 26, 2014 at 7:14 AM, Alan Stern st...@rowland.harvard.edu wrote: diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devicetree/bindings/usb/usb-ehci.txt index 43c1a4e..9505c31 100644 ---

Re: [PATCH net] r8152: drop the tx packet with invalid length

2014-11-26 Thread Eric Dumazet
On Wed, 2014-11-26 at 17:56 +0800, Hayes Wang wrote: Drop the tx packet which is more than the size of agg_buf_sz. When creating a bridge with the device, we may get the tx packet with TSO and the length is more than the gso_max_size which is set by the driver through netif_set_gso_max_size().

Re: [PATCH net] r8152: drop the tx packet with invalid length

2014-11-26 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Wed, 26 Nov 2014 08:52:28 -0800 On Wed, 2014-11-26 at 17:56 +0800, Hayes Wang wrote: Drop the tx packet which is more than the size of agg_buf_sz. When creating a bridge with the device, we may get the tx packet with TSO and the length is more

[GIT PULL] USB-serial updates for v3.19

2014-11-26 Thread Johan Hovold
Hi Greg, Here's my pull-request for v3.19-rc1. All have been in linux-next for a while. Thanks, Johan The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are available in the git repository at:

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Sebastian Andrzej Siewior
On 11/26/2014 02:21 PM, Amit Virdi wrote: - if ISOC is not available, we won't have INT as well. I didn't understand this. The original patch added a new alternate setting (2) that has two interrupt endpoints. ISOC EP is available through alternate setting 1. The ISOC code does this:

Re: ath9k - bogus usb xfer on at91

2014-11-26 Thread Oleksij Rempel
Am 26.11.2014 um 01:28 schrieb David Lechner: On 7 July 2014 17:08, Oleksij Rempel linux@ wrote: / Am 07.07.2014 15:40, schrieb Anders Darander:/ / On 4 July 2014 18:54, Oleksij Rempel linux@ wrote:/ / Am 04.07.2014 18:30, schrieb Alan Stern:/ / On Fri, 4 Jul

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Sebastian Andrzej Siewior
On 11/26/2014 04:24 PM, Alan Stern wrote: On 11/25/2014 10:52 PM, Sebastian Andrzej Siewior wrote: The max packet size within the FS descriptor has to be highest possible value and _not_ the one that is (or will be) used on FS. The current code sets wMaxPacketSize of FS interrupt endpoint

Re: [PATCH net] r8152: drop the tx packet with invalid length

2014-11-26 Thread Eric Dumazet
On Wed, 2014-11-26 at 12:06 -0500, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Wed, 26 Nov 2014 08:52:28 -0800 On Wed, 2014-11-26 at 17:56 +0800, Hayes Wang wrote: Drop the tx packet which is more than the size of agg_buf_sz. When creating a bridge with the

Fix Penguin Penalty 17th October2014 ( mail-archive.com )

2014-11-26 Thread topmost55668
Dear Sir Did your website get hit by Google Penguin update on October 17th 2014? What basically is Google Penguin Update? It is actually a code name for Google algorithm which aims at decreasing your websites search engine rankings that violate Google’s guidelines by using black hat SEO

Re: USB storage device cause usb bus can't enter runtime suspend

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, liu chunlin wrote: Hi Stern, My platform not use udev,do you have good idea to modify usb driver to enable usb storage runtime suspend? It is not possible to do what you want by modifying the USB driver. What does your platform use instead of udev? Alan Stern --

Re: ath9k - bogus usb xfer on at91

2014-11-26 Thread David Lechner
On 11/26/14 12:29 PM, Oleksij Rempel wrote: Am 26.11.2014 um 01:28 schrieb David Lechner: On 7 July 2014 17:08, Oleksij Rempel linux@ wrote: / Am 07.07.2014 15:40, schrieb Anders Darander:/ / On 4 July 2014 18:54, Oleksij Rempel linux@ wrote:/ / Am 04.07.2014

Re: [GIT PULL] USB-serial updates for v3.19

2014-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 26, 2014 at 06:25:07PM +0100, Johan Hovold wrote: Hi Greg, Here's my pull-request for v3.19-rc1. All have been in linux-next for a while. Thanks, Johan The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38

Re: [PATCH V6 00/12] Tegra xHCI support

2014-11-26 Thread Andrew Bresticker
On Tue, Nov 25, 2014 at 5:32 AM, Jassi Brar jaswinder.si...@linaro.org wrote: On 25 November 2014 at 05:47, Andrew Bresticker abres...@chromium.org wrote: This series adds support for xHCI on NVIDIA Tegra SoCs. This includes: - patches 1, 2, and 3: minor cleanups for mailbox framework and

Re: [PATCH V6 07/12] pinctrl: tegra-xusb: Add USB PHY support

2014-11-26 Thread Andrew Bresticker
On Tue, Nov 25, 2014 at 5:49 AM, Kishon Vijay Abraham I kis...@ti.com wrote: Hi, On Tuesday 25 November 2014 05:47 AM, Andrew Bresticker wrote: In addition to the PCIe and SATA PHYs, the XUSB pad controller also supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single PCIe or

Suspected (out of tree) HCI issue

2014-11-26 Thread Vincent Pelletier
Hi. (please keep me cc'ed in replies, I'm not subscribed) I'm trying OpenWRT on a DSL modem[1] which has an out-of-tree HCI driver. I'm getting one particular process to hang in D 100% of time when talking to a 3G USB modem. I'm on current default OpenWRT kernel, 3.14.18 . Here is the hung

Re: [PATCH net] r8152: drop the tx packet with invalid length

2014-11-26 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Wed, 26 Nov 2014 10:44:19 -0800 On Wed, 2014-11-26 at 12:06 -0500, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Wed, 26 Nov 2014 08:52:28 -0800 On Wed, 2014-11-26 at 17:56 +0800, Hayes Wang wrote: Drop the tx packet

[PATCH v2] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-11-26 Thread Sebastian Andrzej Siewior
the following error pops up during testusb -a -t 10 | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, f134e000/be842000 (bad dma) hcd_buffer_create() creates a few buffers, the smallest has 32 bytes of size. ARCH_KMALLOC_MINALIGN is set to 64 bytes. This combo results in hcd_buffer_alloc()

Re: Suspected (out of tree) HCI issue

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, Vincent Pelletier wrote: Hi. (please keep me cc'ed in replies, I'm not subscribed) I'm trying OpenWRT on a DSL modem[1] which has an out-of-tree HCI driver. I'm getting one particular process to hang in D 100% of time when talking to a 3G USB modem. I'm on current

Re: Suspected (out of tree) HCI issue

2014-11-26 Thread Vincent Pelletier
On Wed, 26 Nov 2014 21:18:55 +0100, Vincent Pelletier plr.vinc...@gmail.com wrote: with the only visible improvement of not getting errors when unplugging the modem on stuck process. ...actually, not even, I was expecting errors on the wrong terminal: they are still present. Just for the

Re: [PATCH v2] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, Sebastian Andrzej Siewior wrote: the following error pops up during testusb -a -t 10 | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, f134e000/be842000 (bad dma) hcd_buffer_create() creates a few buffers, the smallest has 32 bytes of size.

Re: [PATCH] usb: gadget: zero: fix INT endpoint assignment

2014-11-26 Thread Alan Stern
On Wed, 26 Nov 2014, Sebastian Andrzej Siewior wrote: On 11/26/2014 04:24 PM, Alan Stern wrote: On 11/25/2014 10:52 PM, Sebastian Andrzej Siewior wrote: The max packet size within the FS descriptor has to be highest possible value and _not_ the one that is (or will be) used on FS. The

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-26 Thread Robert Jarzmik
OK Dmitry, I pulled through, the interrupts are working back. Actually one of the blockers I have is in pxa25x_udc, and it is also in your phy-lubbock.c. The bottom of the error is that disable_irq() is called from within a irq handler, and it deadlocks. A disable_irq_nosync() should be used ...

Re: [PATCH V2 3/5] usb: gadget: pxa25x_udc: prepare/unprepare clocks in pxa-ssp

2014-11-26 Thread Dmitry Eremin-Solenikov
2014-11-27 1:12 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: OK Dmitry, I pulled through, the interrupts are working back. What was the problem? Hardware issues? Firmware in CPLD being of old revision? Actually one of the blockers I have is in pxa25x_udc, and it is also in your

Lubbock interrupts fix (was lubbock udc phy)

2014-11-26 Thread Robert Jarzmik
Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-27 1:12 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: OK Dmitry, I pulled through, the interrupts are working back. What was the problem? Hardware issues? Firmware in CPLD being of old revision? There were basically 2 problems :

Re: Lubbock interrupts fix (was lubbock udc phy)

2014-11-26 Thread Dmitry Eremin-Solenikov
2014-11-27 1:38 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: Dmitry Eremin-Solenikov dbarysh...@gmail.com writes: 2014-11-27 1:12 GMT+03:00 Robert Jarzmik robert.jarz...@free.fr: OK Dmitry, I pulled through, the interrupts are working back. What was the problem? Hardware issues? Firmware

Re: [PATCH 06/19] usb: dwc3: host: Pass the XHCI_DRD_SUPPORT and XHCI_NEEDS_LHC_RESET quirk

2014-11-26 Thread Lu, Baolu
On 2014年11月25日 21:11, George Cherian wrote: Pass the quir flag XHCI_DRD_SUPPORT from DWC3 host to xhci platform driver. quir to quirk Regards, Baolu This enables xhci driver to handle deallocation's differently while in DRD mode. Pass the quirk flag XHCI_NEEDS_LHC_RESET from DWC3 host to

Re: [PATCH v2] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 26, 2014 at 04:27:27PM -0500, Alan Stern wrote: On Wed, 26 Nov 2014, Sebastian Andrzej Siewior wrote: the following error pops up during testusb -a -t 10 | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, f134e000/be842000 (bad dma) hcd_buffer_create() creates a

Re: [PATCH v2] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2014-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 26, 2014 at 09:39:36PM +0100, Sebastian Andrzej Siewior wrote: the following error pops up during testusb -a -t 10 | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128, f134e000/be842000 (bad dma) hcd_buffer_create() creates a few buffers, the smallest has 32 bytes of

Re: Suspected (out of tree) HCI issue

2014-11-26 Thread Vincent Pelletier
On Wed, 26 Nov 2014 16:25:08 -0500 (EST), Alan Stern st...@rowland.harvard.edu wrote: Since this driver seems to be based on work by Synopsys, maybe someone from that company can help. (By the way, the license information in the ifxhcd.h header file doesn't say anything about the GPL. That