Messages in this thread |  | | | Subject | Re: consistent_sync_for_cpu() and friends on ppc32 | | From | Benjamin Herrenschmidt <> | | Date | Tue, 16 Mar 2004 11:23:42 +1100 |
| |
> Ben, can you work this out? I can make it compile by just making the > _for_cpu and _for_device routines behave identically to what the > consisten_sync{,_page}() stuff does now. But I'd much rather a ppc32 > person implement it correctly and optimally. > > In short, the _for_device routines should make sure cacheable data in > the cpu is fully visible to the DMA device, and _for_cpu should make > sure all device DMA is visible to the processor.
BTW, I missed your explanation in the first place, but why wouldn't the "direction" field be enough ? I'm not sure if I need a different implementation here...
Ben.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |