[PATCH] RISC-V: Define pgprot_dmacoherent() for non-coherent devices
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Sat Oct 18 09:01:32 PDT 2025
Hello:
This patch was applied to riscv/linux.git (fixes)
by Paul Walmsley <pjw at kernel.org>:
On Wed, 20 Aug 2025 20:53:16 +0530 you wrote:
> The pgprot_dmacoherent() is used when allocating memory for
> non-coherent devices and by default pgprot_dmacoherent() is
> same as pgprot_noncached() unless architecture overrides it.
>
> Currently, there is no pgprot_dmacoherent() definition for
> RISC-V hence non-coherent device memory is being mapped as
> IO thereby making CPU access to such memory slow.
>
> [...]
Here is the summary with links:
- RISC-V: Define pgprot_dmacoherent() for non-coherent devices
https://git.kernel.org/riscv/c/ca525d53f994
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list