Re: svn commit: r212061 - head/sys/dev/bge

[ Available lists | Index of svn-src-head | Month of Aug 2010 | Week of 31 Aug 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
John Baldwin <jhb@freebsd.org>
Date
31 Aug 2010 19:40:24
Subject
Re: svn commit: r212061 - head/sys/dev/bge
Message-ID
201008311539.57185.jhb@freebsd.org


[ Hide this part ]
On Tuesday, August 31, 2010 1:54:49 pm Matthew Jacob wrote:
> But not amd64 please.
>
> > Keep in mind the PAE case where you cannot effectively specify a 4GB
> > boundary. I used a 2GB boundary for twa(4) in the PAE case to deal
> > with the boundary issue. Probably though, bus_dma should just always
> > enforce a 4GB boundary, at least on x86.

Yes, thinking about this more, only i386 + PAE is special. All other cases
could represent the 4GB boundary restriction in a bus dma tag for the PCI bus
(or in the platform-specific Host-PCI bridge drivers). For i386 + PAE it
might make sense to always enforce a 4GB boundary in the bus_dma code itself.

--
John Baldwin


Elapsed time: 0.338 seconds