Fwd: Re: EHCI on armv6 with Write-Back caches

Hans Petter Selasky hselasky at c2i.net
Fri Dec 21 07:42:00 UTC 2012


On Friday 21 December 2012 01:18:57 Oleksandr Tymoshenko wrote:
> On 12/20/2012 10:56 AM, Hans Petter Selasky wrote:
> > FYI - please test!
> > 
> > ----------  Forwarded Message  ----------
> > 
> > Subject: Re: EHCI on armv6 with Write-Back caches
> > Date: Thursday 20 December 2012, 19:46:34
> > From: Hans Petter Selasky <hselasky at c2i.net>
> > To: Warner Losh <imp at bsdimp.com>
> > CC: Andrew Turner <andrew at fubar.geek.nz>, Oleksandr Tymoshenko
> > <gonzo at freebsd.org>, freebsd-usb at freebsd.org, alfred at freebsd.org,
> > freebsd- wireless at freebsd.org
> > 
> > Hi,
> > 
> > I've run some basic tests over here (x86) which passed after some patch
> > modifications. Please test and verify for your ARM targets:
> > 
> > http://svnweb.freebsd.org/changeset/base/244500
> > http://svnweb.freebsd.org/changeset/base/244503
> > 
> > Please also verify that upgt and uwrt and uath still works like expected.
> > 
> > --HPS
> 
> if_smsc fails with following diagnostics:
> smsc0: error: allocating USB transfers failed
> 
> The problem is that Bulk-In transfer buffer is 5 pages long but tag's
> boundary limitation is
> a page and it's impossible to allocate 5 pages without crossing page
> boundary

Hi,

In the tag "nsegments" is 2 + size/PAGE_SIZE, so this is a bug in busdma!

The boundary only tells where the segments should be split.

--HPS


More information about the freebsd-arm mailing list