Messages in this thread | | | Date | Wed, 13 Apr 2022 18:44:15 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH] dma-direct: avoid redundant memory sync for swiotlb |
| |
On Wed, Apr 13, 2022 at 02:10:56PM +0100, Robin Murphy wrote: > Are you sure? AFAICS swiotlb_map() does the right thing, and > dma_direct_{sync,unmap} are working off the DMA address, which is that of > the bounce slot when SWIOTLB is involved (not least, how would the > is_swiotlb_buffer() checks work otherwise?)
Yeah, actually this should be fine.
| |