]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/riscv: Advertise Svpbmt support to generic page table
authorFangyu Yu <fangyu.yu@linux.alibaba.com>
Fri, 17 Apr 2026 14:07:45 +0000 (22:07 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 11 May 2026 08:04:37 +0000 (10:04 +0200)
commitf196a86687974cfcc1e8cade99ffca4605141860
tree10e4ab54a0de8c4d48bf2c79fcc8f01361e319c3
parent5d6919055dec134de3c40167a490f33c74c12581
iommu/riscv: Advertise Svpbmt support to generic page table

The RISC-V IOMMU can optionally support Svpbmt page-based memory types
in its page table format. When present,the generic page table code can
use this capability to encode memory attributes (e.g. MMIO vs normal
memory) in PTEs.

Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Nutty Liu <nutty.liu@hotmail.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/riscv/iommu.c
include/linux/generic_pt/common.h