Re: [PATCH] locking/memory-barriers.txt: Improve documentation for writel() usage

From: Bagas Sanjaya
Date: Thu Sep 15 2022 - 08:16:38 EST


On 9/15/22 12:01, Parav Pandit wrote:
> 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.


--
An old man doll... just what I always wanted! - Clara