RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
.org > Subject: Re: Issue with file transfers to a mass storage device on SMP > system > > On Tue, Jul 27, 2010 at 07:59:17PM +0530, Shilimkar, Santosh wrote: > > Once it's pushed out of L2X WB, it will hit the memory. Just to give an > additional data point, with CATC analy

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Russell King - ARM Linux
On Tue, Jul 27, 2010 at 07:59:17PM +0530, Shilimkar, Santosh wrote: > Once it's pushed out of L2X WB, it will hit the memory. Just to give an > additional data point, with CATC analyzer what we see that only those > 16 bytes CDB are 0x0. This buffer was memset to 0x0 just before the > memcpy. >

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
.org > Subject: Re: Issue with file transfers to a mass storage device on SMP > system > > On Tue, Jul 27, 2010 at 07:44:20PM +0530, Shilimkar, Santosh wrote: > > OMAP doesn't override because the default definition is good enough now. > > Ah, good to know. > > >

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Russell King - ARM Linux
On Tue, Jul 27, 2010 at 07:44:20PM +0530, Shilimkar, Santosh wrote: > OMAP doesn't override because the default definition is good enough now. Ah, good to know. > Shouldn't below work ? > #elif __LINUX_ARM_ARCH__ >= 7 || defined(CONFIG_SMP) > #define mb()do { dsb(); outer_sync(); } wh

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
t; ow...@vger.kernel.org] On Behalf Of Shilimkar, Santosh > > > Sent: Tuesday, July 27, 2010 5:31 PM > > > To: Russell King - ARM Linux > > > Cc: Mankad, Maulik Ojas; linux-...@vger.kernel.org; linux- > > > o...@vger.kernel.org; linux-arm-ker...@lists.infradead.

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Russell King - ARM Linux
; To: Russell King - ARM Linux > > Cc: Mankad, Maulik Ojas; linux-...@vger.kernel.org; linux- > > o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org > > Subject: RE: Issue with file transfers to a mass storage device on SMP > > system > > > > We have already

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
el.org; linux- > o...@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: RE: Issue with file transfers to a mass storage device on SMP > system > > > -Original Message- > > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > > Sent: Tuesday, July 27

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
.org > Subject: Re: Issue with file transfers to a mass storage device on SMP > system > > On Tue, Jul 27, 2010 at 03:49:29PM +0530, Shilimkar, Santosh wrote: > > > On Tue, Jul 27, 2010 at 03:08:54PM +0530, Shilimkar, Santosh wrote: > > > > As discussed, the

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Russell King - ARM Linux
On Tue, Jul 27, 2010 at 03:49:29PM +0530, Shilimkar, Santosh wrote: > > On Tue, Jul 27, 2010 at 03:08:54PM +0530, Shilimkar, Santosh wrote: > > > As discussed, the main reason is the cache maintenance isn't done on > > > "bcb->CDB" buffers and hence the data remains in CPU write buffer > > > inst

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
.org > Subject: Re: Issue with file transfers to a mass storage device on SMP > system > > On Tue, Jul 27, 2010 at 03:08:54PM +0530, Shilimkar, Santosh wrote: > > As discussed, the main reason is the cache maintenance isn't done on > > "bcb->CDB" buffers and h

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Russell King - ARM Linux
On Tue, Jul 27, 2010 at 03:08:54PM +0530, Shilimkar, Santosh wrote: > As discussed, the main reason is the cache maintenance isn't done on > "bcb->CDB" buffers and hence the data remains in CPU write buffer > instead of the physical memory on which DMA operates. struct bulk_cb_wrap { __

RE: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Shilimkar, Santosh
> -Original Message- > From: Mankad, Maulik Ojas > Sent: Tuesday, July 27, 2010 12:05 PM > To: linux-...@vger.kernel.org > Cc: Shilimkar, Santosh; linux-arm-ker...@lists.infradead.org; linux- > o...@vger.kernel.org > Subject: Issue with file transfers to a mass storage device on SMP system

Re: Issue with file transfers to a mass storage device on SMP system

2010-07-27 Thread Ming Lei
2010/7/27 Maulik : > Hello, > > I am working on OMAP4 which has two ARM Cortex A9 microprocessors (SMP > system) with 2.6.35-rc5 kernel. > > I have an issue whereby transferring a large file (>20MB) over USB (OMAP > Mentor USB controller acts as USB host) to an attached USB thumb drive > fails. > >