Messages in this thread | | | Date | Tue, 30 Jun 2009 13:40:00 +0100 | From | Alan Cox <> | Subject | Re: [PATCH][RFC] asm-generic:remove calling flush_write_buffers() in dma_sync_*_for_cpu |
| |
> Ok. The Winchip also does not have an IOMMU or the need for SWIOTLB, so > I guess it would be ok to move the flush_write_buffers() out of the common > code into the x86 pci-nommu implementation. That one is also the only > place that calls flush_write_buffers() in dma_map_().
What about non x86 - this is asm-generic you are playing with and its the kind of change that causes evil really hard to track down and subtle corruptions and user data loss if you get it wrong.
| |