RE: [PATCH] locking/memory-barriers.txt: Improve documentation for writel() usage
From: Parav Pandit <hidden>
Date: 2022-09-15 12:35:19
Also in:
linux-arch, lkml
From: Parav Pandit <hidden>
Date: 2022-09-15 12:35:19
Also in:
linux-arch, lkml
From: Bagas Sanjaya <redacted> Sent: Thursday, September 15, 2022 8:16 AM
On 9/15/22 12:01, Parav Pandit wrote:quoted
The cited commit [1] describes that when using writel(), explcit wmb() is not needed. However, it should have said that dma_wmb() is not needed. Hence update the example to be more accurate that matches the current implementation and document section of dma_wmb()/dma_rmb(). [1] commit 5846581e3563 ("locking/memory-barriers.txt: Fix broken DMA vs. MMIO ordering example")Just say the blamed commit without using numbered references.
Ok. Will send v1 with the change.