]> 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)
commit5a10ee1c2ff95b808686eee716c92904399e6b3a
tree431f1fbeffc3554b998c0f743da39ba8a3adaea2
parent9dadecfe7e436a2a8fc8a3eb78a1372ed9dd31fd
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