Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/dev/pci



> On Mon, Dec 12, 2011 at 03:54:57PM +1100, matthew green wrote:
> > 
> > > On Mon, Dec 12, 2011 at 02:44:15AM +0000, Jonathan A. Kollasch wrote:
> > > > Module Name:    src
> > > > Committed By:   jakllsch
> > > > Date:           Mon Dec 12 02:44:15 UTC 2011
> > > > 
> > > > Modified Files:
> > > >         src/sys/dev/pci: if_sip.c
> > > > 
> > > > Log Message:
> > > > Using BUS_DMA_NOCACHE for bus_dmamem_map() causes issues on (at least) 
> > > > sparc64.
> > > 
> > > What kind of issues?
> > 
> > this is maping normal memory uncached.  attempting to access this
> > mapping causes data faults.
> 
> Jonathan, please add some explanation to the commit message.
> 
> Isn't this just covering a bug in the sparc64 bus_dma(9) implementation?

that's what i have been wondering since writing the above.

eeh, should we turn off CP/CV and E bits for ram BUS_DMA_NOCACHE
addresses, instead of device memory?


.mrg.


Home | Main Index | Thread Index | Old Index