Re: [PATCH] net: designware: dma_sync_single_for_device buffer before passing to HW

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

 



On Wed, 24 Jul 2024 17:23:27 +0200, Ahmad Fatoum wrote:
> For cache-incoherent DMA, dma_sync_single_for_cpu with DMA_FROM_DEVICE
> invalidates the cache, so no stale lines in the cache hide what the
> hardware had written to RAM.
> 
> On the same systems, dma_sync_single_for_device with DMA_FROM_DEVICE also
> invalidates the cache, so no dirty lines from the CPU are evicted
> clobbering what the hardware had written to RAM.
> 
> [...]

Applied, thanks!

[1/1] net: designware: dma_sync_single_for_device buffer before passing to HW
      https://git.pengutronix.de/cgit/barebox/commit/?id=dcd743414b15 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux