|
From: Paul M. <le...@li...> - 2003-06-27 18:36:34
|
On Fri, Jun 27, 2003 at 06:32:29PM +0100, Richard Curnow wrote: > Good news! After applying Paul's scatter-gather patch, with one tiny > fix to get it to compile, I've now got the Cayman swapping mostly > successfully onto a SCSI disc. I say "mostly" because I'm getting > occasional PCI interrupts still (not ARB this time though) and some > corruption as a result. Perhaps this will go away if I move the SCSI > card to a 5V slot as Steve suggested. >=20 I suppose another thing we need to look at is coming up with a consistency interface so PCI DMA and the DMA mapping API and anything else requiring consistency can just wrap to this to do the Right Thing(tm). Notably, we can still optimize a lot of the DMA cache flushing semantics based off of the DMA direction.. instead of implicitly doing a full write-back and invalidate each time. I'll probably hack together a patch for this after knocking some more things off of my SH todo list and finishing off the DMAC stuff.. As an added nuisance, I'm managing to hit another corruption issue which goes away once flush_page_to_ram() is wrapped to flush_dcache_page(). Guess there's a few other places that aren't getting flushing right. Back to hunting those down.. |