Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-31 Thread Felipe Balbi
Hi, Bin Liu writes: >> >> Felipe Balbi writes: >> >> > Bin Liu writes: >> >> >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: >> >> >>> >> >> >>> Hi, >> >> >>> >> >> >>> Bin Liu writes: >> >> >>> > [ text/plain ] >> >> >>> > Hi, >> >> >>> > >> >> >>> > On Fri, Mar 11, 2016 a

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-31 Thread Bin Liu
Hi, On Thu, Mar 31, 2016 at 09:16:19AM +0300, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > > [ text/plain ] > > Hi, > > > > On Wed, Mar 30, 2016 at 09:14:18AM +0300, Felipe Balbi wrote: > >> > >> Hi again, > >> > >> Felipe Balbi writes: > >> > Bin Liu writes: > >> >> On Fri, Mar 18, 20

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-30 Thread Felipe Balbi
Hi, Bin Liu writes: > [ text/plain ] > Hi, > > On Wed, Mar 30, 2016 at 09:14:18AM +0300, Felipe Balbi wrote: >> >> Hi again, >> >> Felipe Balbi writes: >> > Bin Liu writes: >> >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: >> >>> >> >>> Hi, >> >>> >> >>> Bin Liu writes:

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-30 Thread Bin Liu
Hi, On Wed, Mar 30, 2016 at 09:14:18AM +0300, Felipe Balbi wrote: > > Hi again, > > Felipe Balbi writes: > > Bin Liu writes: > >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: > >>> > >>> Hi, > >>> > >>> Bin Liu writes: > >>> > [ text/plain ] > >>> > Hi, > >>> > > >>> > On F

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-29 Thread Felipe Balbi
Hi again, Felipe Balbi writes: > Bin Liu writes: >> On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Bin Liu writes: >>> > [ text/plain ] >>> > Hi, >>> > >>> > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi >>> > wrote: >>> >> previously we were using a maxim

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-29 Thread Felipe Balbi
Hi, Bin Liu writes: > On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: >> >> Hi, >> >> Bin Liu writes: >> > [ text/plain ] >> > Hi, >> > >> > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi >> > wrote: >> >> previously we were using a maximum of 32 TRBs per >> >> endpoint. With ea

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-29 Thread Bin Liu
Hi, On Fri, Mar 18, 2016 at 08:59:48AM +0200, Felipe Balbi wrote: > > Hi, > > Bin Liu writes: > > [ text/plain ] > > Hi, > > > > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi > > wrote: > >> previously we were using a maximum of 32 TRBs per > >> endpoint. With each TRB being 16 bytes long, we

RE: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-19 Thread David Laight
From: Felipe Balbi > Bin Liu writes: > > [ text/plain ] > > Hi, > > > > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi > > wrote: > >> previously we were using a maximum of 32 TRBs per > >> endpoint. With each TRB being 16 bytes long, we were > >> using 512 bytes of memory for each endpoint. > >>

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-19 Thread Felipe Balbi
Hi, Bin Liu writes: > [ text/plain ] > Hi, > > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi > wrote: >> previously we were using a maximum of 32 TRBs per >> endpoint. With each TRB being 16 bytes long, we were >> using 512 bytes of memory for each endpoint. >> >> However, SLAB/SLUB will always

RE: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-19 Thread Felipe Balbi
Hi, David Laight writes: > [ text/plain ] > From: Felipe Balbi >> Bin Liu writes: >> > [ text/plain ] >> > Hi, >> > >> > On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi >> > wrote: >> >> previously we were using a maximum of 32 TRBs per >> >> endpoint. With each TRB being 16 bytes long, we were

Re: [PATCH 2/3] usb: dwc3: increase maximum number of TRBs per endpoint

2016-03-19 Thread Bin Liu
Hi, On Fri, Mar 11, 2016 at 6:54 AM, Felipe Balbi wrote: > previously we were using a maximum of 32 TRBs per > endpoint. With each TRB being 16 bytes long, we were > using 512 bytes of memory for each endpoint. > > However, SLAB/SLUB will always allocate PAGE_SIZE > chunks. In order to better uti