[PATCH] iommu/riscv: Report cache coherency capability
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Sun Nov 1 14:17:00 PST 2026
Hello:
This patch was applied to riscv/linux.git (fixes)
by Joerg Roedel <joerg.roedel at amd.com>:
On Fri, 21 Aug 2026 13:21:00 +0200 you wrote:
> VFIO and iommufd require IOMMU_CAP_CACHE_COHERENCY because they use
> IOMMU_CACHE mappings and have no userspace cache-maintenance path.
>
> RISC-V page tables preserve physical memory attributes for IOMMU_CACHE
> mappings. Svpbmt marks mappings without IOMMU_CACHE as non-cacheable,
> but preserving physical attributes cannot make a noncoherent device
> path coherent.
>
> [...]
Here is the summary with links:
- iommu/riscv: Report cache coherency capability
https://git.kernel.org/riscv/c/3069e8f3e1e9
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