RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > This patch is to enable USB host controller for Intel Quark X1000. Add >> pci quirks to adjust the packet buffer in/out threshold value, and > >ensure EHCI packet buffer i/o threshold value is reconfigured to half > > > What is the packet buffer in/out threshold value and why does it need to

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > > > OK, I will change ' usb_is_intel_qrk ' to ' usb_is_intel_quark'. > > Or even usb_is_intel_quark_x1000() ? > OK, I will change the function name as your suggestion to make it more specific. > David > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> > This patch is to enable USB host controller for Intel Quark X1000. Add > > pci quirks to adjust the packet buffer in/out threshold value, and > > ensure EHCI packet buffer i/o threshold value is reconfigured to half. > > Please add more detailed description. For example, why is it necessary to

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread David Laight
From: Chen, Alvin > > On Tue, Jun 24, 2014 at 08:51:43AM -0700, Chen, Alvin wrote: > > > diff --git a/drivers/usb/host/pci-quirks.c > > > b/drivers/usb/host/pci-quirks.c index 00661d3..1ea8803 100644 > > > --- a/drivers/usb/host/pci-quirks.c > > > +++ b/drivers/usb/host/pci-quirks.c > > > @@ -823,6

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, June 24, 2014 9:25 PM > To: Chen, Alvin > Cc: Alan Stern; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Ong, > Boon Leong > Subject: Re: [PATCH] US

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
Re: [PATCH] USB: ehci-pci: USB host controller support for Intel > Quark > X1000 > > On Tue, Jun 24, 2014 at 08:51:43AM -0700, Chen, Alvin wrote: > > From: Bryan O'Donoghue > > > > This patch is to enable USB host controller for Intel Quark X1000. Add > >

RE: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-25 Thread Chen, Alvin
See my comments below: > > + /* Reset the threshold limit */ > > + if(unlikely(usb_is_intel_qrk(pdev))) > > Please run your patch thru scripts/checkpatch.pl -- space needed after > *if*. OK, I will improve it in the PATCH v2. > > > + usb_set_qrk_bulk_thresh(pdev); > > + > >

Re: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Jingoo Han
On Wednesday, June 25, 2014 12:52 AM, Alvin Chen wrote: > > From: Bryan O'Donoghue > > This patch is to enable USB host controller for Intel Quark X1000. Add pci > quirks > to adjust the packet buffer in/out threshold value, and ensure EHCI packet > buffer > i/o threshold value is reconfigured

Re: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Alan Stern
On Tue, 24 Jun 2014, Chen, Alvin wrote: > From: Bryan O'Donoghue > > This patch is to enable USB host controller for Intel Quark X1000. Add pci > quirks > to adjust the packet buffer in/out threshold value, and ensure EHCI packet > buffer > i/o threshold value is reconfigured to half. What is

Re: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Greg Kroah-Hartman
On Tue, Jun 24, 2014 at 08:51:43AM -0700, Chen, Alvin wrote: > diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c > index 00661d3..1ea8803 100644 > --- a/drivers/usb/host/pci-quirks.c > +++ b/drivers/usb/host/pci-quirks.c > @@ -823,6 +823,48 @@ static int handshake(void __io

Re: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Greg Kroah-Hartman
On Tue, Jun 24, 2014 at 08:51:43AM -0700, Chen, Alvin wrote: > From: Bryan O'Donoghue > > This patch is to enable USB host controller for Intel Quark X1000. Add pci > quirks > to adjust the packet buffer in/out threshold value, and ensure EHCI packet > buffer > i/o threshold value is reconfigur

Re: [PATCH] USB: ehci-pci: USB host controller support for Intel Quark X1000

2014-06-24 Thread Sergei Shtylyov
Hello. On 06/24/2014 07:51 PM, Chen, Alvin wrote: From: Bryan O'Donoghue This patch is to enable USB host controller for Intel Quark X1000. Add pci quirks to adjust the packet buffer in/out threshold value, and ensure EHCI packet buffer i/o threshold value is reconfigured to half. Sign