]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: axi-dmac: check cache coherency register
authorMathias Tausen <mta@satlab.com>
Tue, 26 Jul 2022 14:02:12 +0000 (16:02 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 26 Jul 2022 16:35:20 +0000 (22:05 +0530)
commit5897ffba5e00fac8cb39dcd1c58f2a9ee92da3c7
tree431f1fbeffc3554b998c0f743da39ba8a3adaea2
parent8b103fcb286cd716dc43c580fc7d3b8b28395e83
dmaengine: axi-dmac: check cache coherency register

Marking the DMA as cache coherent (dma-coherent in devicetree) is only
safe with versions of axi_dmac that have this feature enabled.

Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Vinod Koul <vkoul@kernel.org>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Mathias Tausen <mta@satlab.com>
Link: https://lore.kernel.org/r/20220726140213.786939-1-mta@satlab.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c