[RESEND] [PATCH] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-03-09 Thread Denis Turischev
The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS have work around for this, but not all. One example is Compulab's mini-desktop, the Intense-PC2. The bug can be av

[PATCH] xhci: extend quirk for Renesas cards

2014-03-09 Thread Igor Gnatenko
After suspend another Renesas PCI-X USB 3.0 card doesn't work. 03:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02) (prog-if 30 [XHCI]) Reported-and-tested-by: Anatoly K. Reference: http://redmine.russianfedora.pro/issues/1315 Signed-off-

Re: MAX3421E: device giving NAKs forever?

2014-03-09 Thread Alan Stern
On Fri, 7 Mar 2014, David Mosberger wrote: > Felipe, > > Thanks for the tip about usbmon --- that looks interesting. Of > course, as luck would have it, turning on usbmon changes behavior: > dd'ing to a mass-storage device (/dev/sda1) used to fail after > ~500KiB. With usbmon, it fails only aft

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Valentina Manea
I was notified that one of the patches in the series (staging: usbip: claim ports used by shared devices) breaks the build. I take full responsability for this as I haven't compiled the kernel with allyesconfig and I am sorry. This can be fixed by moving struct dev_state, usb_hub_claim_port() and

drivers/input/input.c and a broken USB HID Contour ShuttlePRO v2

2014-03-09 Thread Harald Albrecht
I would like to improve support for the multimedia controllers from Contour company, as there currently get relative events swalled by input.c. The background: Contour seems to have messed up the USB HID descriptions of their multimedia controller devices in that these report to use relative a

Re: [GIT PULL 00/28] PHY for 3.15

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 01:05:36PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Saturday 08 March 2014 10:12 PM, Greg KH wrote: > > On Sat, Mar 08, 2014 at 02:59:01PM +0530, Kishon Vijay Abraham I wrote: > >> Hi Greg, > >> > >> Here's the PULL REQUEST for 3.15 merge window. > >> More use

Re: [PATCH 00/18] Resend of usbip-utils migration patches and various other fixes

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 05:53:51PM +0200, Valentina Manea wrote: > I was notified that one of the patches in the series (staging: usbip: > claim ports used by shared devices) breaks the build. > I take full responsability for this as I haven't compiled the kernel > with allyesconfig and I am sorry.

Re: drivers/input/input.c and a broken USB HID Contour ShuttlePRO v2

2014-03-09 Thread Greg KH
On Sun, Mar 09, 2014 at 04:55:32PM +0100, Harald Albrecht wrote: > I would like to improve support for the multimedia controllers from > Contour company, as there currently get relative events swalled by input.c. > > The background: Contour seems to have messed up the USB HID descriptions > of t

Re: drivers/input/input.c and a broken USB HID Contour ShuttlePRO v2

2014-03-09 Thread Harald Albrecht
It seems that I will need help from both mailing lists. I've researched more and would like to propose this idea ... and I need feedback from the input and usb kernel maintainers in order to get my idea right. So for the input part I would like to propose to introduce a new input property INPU

[GIT PULL] PHY for 3.15

2014-03-09 Thread Kishon Vijay Abraham I
Hi Greg, Pls find the updated PULL request. It contains new PHY drivers (SATA, USB) adapted to generic PHY framework for a couple of platforms and a bunch of cleanups and fixes. The Documentation problem with the old PULL request has been fixed in this. Pls let me know If I have to make any

Re: [GIT PULL] PHY for 3.15

2014-03-09 Thread gre...@linuxfoundation.org
On Sun, Mar 09, 2014 at 11:15:46PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Pls find the updated PULL request. > > It contains new PHY drivers (SATA, USB) adapted to generic PHY framework > for a couple of platforms and a bunch of cleanups and fixes. The > Documentation problem with

Re: [GIT PULL] PHY for 3.15

2014-03-09 Thread Kishon Vijay Abraham I
On Sunday 09 March 2014 11:49 PM, gre...@linuxfoundation.org wrote: > On Sun, Mar 09, 2014 at 11:15:46PM +0530, Kishon Vijay Abraham I wrote: >> Hi Greg, >> >> Pls find the updated PULL request. >> >> It contains new PHY drivers (SATA, USB) adapted to generic PHY framework >> for a couple of platf

Re: [PATCH net-next v2 10/13] r8152: support IPv6

2014-03-09 Thread Ben Hutchings
On Wed, 2014-03-05 at 14:49 +0800, Hayes Wang wrote: > Support hw IPv6 checksum for TCP and UDP packets. > > Note that the hw has the limitation of the range of the transport > offset. Besides, the TCP Pseudo Header of the IPv6 TSO of the hw > bases on the Microsoft document which excludes the pac

Re: Bug#738113: linux-image-3.12-1-amd64: regression in xhci_hcd: USB3 doesn't work anymore

2014-03-09 Thread Ben Hutchings
On Fri, 2014-03-07 at 10:32 -0800, Sarah Sharp wrote: > On Tue, Feb 11, 2014 at 06:11:09PM +0100, Andreas Cadhalpun wrote: > > Hi, > > > > thanks for looking into the issue. > > > > On 11.02.2014 17:40, Sarah Sharp wrote: > > >On Sat, Feb 08, 2014 at 03:56:31AM +, Ben Hutchings wrote: > > >>Fo

Re: [PATCH net-next v2 10/13] r8152: support IPv6

2014-03-09 Thread David Miller
From: Ben Hutchings Date: Sun, 09 Mar 2014 19:47:55 + > On Wed, 2014-03-05 at 14:49 +0800, Hayes Wang wrote: >> Support hw IPv6 checksum for TCP and UDP packets. >> >> Note that the hw has the limitation of the range of the transport >> offset. Besides, the TCP Pseudo Header of the IPv6 TSO

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-09 Thread Fabio Estevam
Hi Denis, On Fri, Mar 7, 2014 at 2:04 PM, Denis Carikli wrote: > +static int usbmisc_imx25_init(struct imx_usbmisc_data *data) > +{ > + void __iomem *reg = NULL; This variable is not used and causes a warning. Please remove it. After applying this patch things go further when I boot with

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-09 Thread Peter Chen
On Sat, Mar 08, 2014 at 09:32:15AM +0400, Alexander Shiyan wrote: > Пятница, 7 марта 2014, 18:04 +01:00 от Denis Carikli : > > Signed-off-by: Denis Carikli > > --- > > drivers/usb/chipidea/usbmisc_imx.c | 59 > > > > 1 file changed, 59 insertions(+) > > >

Re: [PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-09 Thread Peter Chen
On Fri, Mar 07, 2014 at 06:04:16PM +0100, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > arch/arm/boot/dts/imx51.dtsi |8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi > index e508e6f..917b6ed 100644 > ---

Re: [PATCH 6/9] ARM: dts: i.MX35: Add USB support.

2014-03-09 Thread Peter Chen
On Fri, Mar 07, 2014 at 06:04:20PM +0100, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > arch/arm/boot/dts/imx35.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi > index e59ccb4..1c15b56 100644 >

Re: [PATCH 9/9] ARM: imx_v4_v5_defconfig: Enable drivers for i.MX25/i.MX35 USB Host support.

2014-03-09 Thread Peter Chen
On Fri, Mar 07, 2014 at 06:04:23PM +0100, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > arch/arm/configs/imx_v4_v5_defconfig |8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/configs/imx_v4_v5_defconfig > b/arch/arm/configs/imx_v4_v5_defconfig > index f1

Re: [PATCH 8/9] ARM: imx_v6_v7_defconfig: Enable drivers for i.MX51 USB Host support.

2014-03-09 Thread Peter Chen
On Fri, Mar 07, 2014 at 06:04:22PM +0100, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > arch/arm/configs/imx_v6_v7_defconfig |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/configs/imx_v6_v7_defconfig > b/arch/arm/configs/imx_v6_v7_defconfig > index 09e9743.

RE: [PATCH net-next 0/7] r8152: tx/rx improvement

2014-03-09 Thread hayeswang
David Miller [mailto:da...@davemloft.net] > Sent: Saturday, March 08, 2014 5:28 AM > To: hayesw...@realtek.com > Cc: net...@vger.kernel.org; nic_s...@realtek.com; > linux-ker...@vger.kernel.org; linux-usb@vger.kernel.org > Subject: Re: [PATCH net-next 0/7] r8152: tx/rx improvement [...] > Note t

[PATCH] xhci: fix wrong port number reported when setting USB2.0 hardware LPM.

2014-03-09 Thread Lin Wang
This patch fix wrong port number reported when trying to enable/disable USB2.0 hardware LPM. Signed-off-by: Lin Wang --- drivers/usb/host/xhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 6fe577d..972f00d 100644

[PATCH] xhci: fix wrong port number reported when setting USB2.0 hardware LPM.

2014-03-09 Thread Lin Wang
This patch fix wrong port number reported when trying to enable/disable USB2.0 hardware LPM. Signed-off-by: Lin Wang --- drivers/usb/host/xhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 6fe577d..972f00d 100644

Re: [PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-09 Thread Alexander Shiyan
Понедельник, 10 марта 2014, 8:52 +08:00 от Peter Chen : > On Fri, Mar 07, 2014 at 06:04:16PM +0100, Denis Carikli wrote: > > Signed-off-by: Denis Carikli > > --- > > arch/arm/boot/dts/imx51.dtsi |8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm/boot/dts/imx51.dt

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-09 Thread Alexander Shiyan
Воскресенье, 9 марта 2014, 22:21 -03:00 от Fabio Estevam : > Hi Denis, > > On Fri, Mar 7, 2014 at 2:04 PM, Denis Carikli wrote: > > > +static int usbmisc_imx25_init(struct imx_usbmisc_data *data) > > +{ > > + void __iomem *reg = NULL; > > This variable is not used and causes a warning. P

Re: [PATCH 6/9] ARM: dts: i.MX35: Add USB support.

2014-03-09 Thread Shawn Guo
On Fri, Mar 07, 2014 at 06:04:20PM +0100, Denis Carikli wrote: > Signed-off-by: Denis Carikli > --- > arch/arm/boot/dts/imx35.dtsi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi > index e59ccb4..1c15b56 100644 >

[PATCH] xhci: fix wrong port number reported when setting USB2.0 hardware LPM.

2014-03-09 Thread Lin Wang
This patch fix wrong port number reported when trying to enable/disable USB2.0 hardware LPM. Signed-off-by: Lin Wang --- drivers/usb/host/xhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 6fe577d..972f00d 100644

wifi driver or USB might leads suspend/resume failure on thinkpad X1 carbon

2014-03-09 Thread Shuduo Sang
Hi, Sorry for cross posting. I'm suffering an issue my Thinkpad X1 Carbon can't resume after suspend recently. I tried many ways including latest vanilla kernel, latest stable 3.13 and 3.11 kernel but it still happens. I found it will not happen when I turn off WIFI device or USB 3.0 in BIOS. So I

RE: [PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-09 Thread Peter Chen
> > > > > > diff --git a/arch/arm/boot/dts/imx51.dtsi > > > b/arch/arm/boot/dts/imx51.dtsi index e508e6f..917b6ed 100644 > > > --- a/arch/arm/boot/dts/imx51.dtsi > > > +++ b/arch/arm/boot/dts/imx51.dtsi > > > @@ -100,6 +100,13 @@ > > > clocks = <&clks IMX5_CLK_USB_PHY_GATE>; > >

Re: [PATCH 1/9] usb: chipidea: usbmisc: Add USB Host support for i.MX25/i.MX35 CPUs

2014-03-09 Thread Eric Bénard
Hi Fabio, Le Sun, 9 Mar 2014 22:21:59 -0300, Fabio Estevam a écrit : > On Fri, Mar 7, 2014 at 2:04 PM, Denis Carikli wrote: > > > +static int usbmisc_imx25_init(struct imx_usbmisc_data *data) > > +{ > > + void __iomem *reg = NULL; > > This variable is not used and causes a warning. Pleas

Re: [PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-09 Thread Alexander Shiyan
Понедельник, 10 марта 2014, 5:50 UTC от Peter Chen : > > > > > > > > > diff --git a/arch/arm/boot/dts/imx51.dtsi > > > > b/arch/arm/boot/dts/imx51.dtsi index e508e6f..917b6ed 100644 > > > > --- a/arch/arm/boot/dts/imx51.dtsi > > > > +++ b/arch/arm/boot/dts/imx51.dtsi > > > > @@ -100,6 +100,13 @@

RE: [PATCH 2/9] ARM: dts: i.MX51: Add a second usbphy.

2014-03-09 Thread Peter Chen
> > > > > > > > > > > > diff --git a/arch/arm/boot/dts/imx51.dtsi > > > > > b/arch/arm/boot/dts/imx51.dtsi index e508e6f..917b6ed 100644 > > > > > --- a/arch/arm/boot/dts/imx51.dtsi > > > > > +++ b/arch/arm/boot/dts/imx51.dtsi > > > > > @@ -100,6 +100,13 @@ > > > > > clocks

Re: wifi driver or USB might leads suspend/resume failure on thinkpad X1 carbon

2014-03-09 Thread Emmanuel Grumbach
Hi, On Mon, Mar 10, 2014 at 7:05 AM, Shuduo Sang wrote: > Hi, > > Sorry for cross posting. I'm suffering an issue my Thinkpad X1 Carbon > can't resume after suspend recently. I tried many ways including > latest vanilla kernel, latest stable 3.13 and 3.11 kernel but it still > happens. I found it

[PATCH net-next] r8152: add skb_cow_head

2014-03-09 Thread Hayes Wang
Call skb_cow_head() before editing the tx packet header. The header would be reallocated if it is shared. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c ind

[PATCH] xhci: fix wrong port number reported when setting USB2.0 hardware LPM.

2014-03-09 Thread Lin Wang
This patch fix wrong port number reported when trying to enable/disable USB2.0 hardware LPM. Signed-off-by: Lin Wang --- drivers/usb/host/xhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 6fe577d..972f00d 100644

Re: wifi driver or USB might leads suspend/resume failure on thinkpad X1 carbon

2014-03-09 Thread Shuduo Sang
On Mon, Mar 10, 2014 at 2:11 PM, Emmanuel Grumbach wrote: > Hi, > > On Mon, Mar 10, 2014 at 7:05 AM, Shuduo Sang wrote: >> Hi, >> >> Sorry for cross posting. I'm suffering an issue my Thinkpad X1 Carbon >> can't resume after suspend recently. I tried many ways including >> latest vanilla kernel,