[PATCH] arm64: mm: Treat all devices as dma-coherent when CLIDR_EL1.LoC == 0
Will Deacon
will at kernel.org
Sun Aug 2 05:12:33 PDT 2026
On Thu, 23 Jul 2026 14:03:21 +0100, Will Deacon wrote:
> On systems where CLIDR_EL1.LoC == 0, no cache maintenance is required
> when cleaning or invalidating to the Point of Coherency and therefore
> all DMA agents can be treated as coherent.
>
> Extend arch_setup_dma_ops() to take CLIDR_EL1.LoC into account when
> setting the DMA ops for a device, emitting a warning message if the
> firmware advertises a non-coherent device on a fully coherent system.
>
> [...]
Applied to arm64 (for-next/mm), thanks!
[1/1] arm64: mm: Treat all devices as dma-coherent when CLIDR_EL1.LoC == 0
https://git.kernel.org/arm64/c/233b5554e07b
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list