Re: [PATCH 1/2] iommu/riscv: Advertise Svpbmt support to generic page table

From: Nutty.Liu

Date: Sun Apr 12 2026 - 23:04:11 EST



On 4/11/2026 10:22 AM, fangyu.yu@xxxxxxxxxxxxxxxxx wrote:
From: Fangyu Yu <fangyu.yu@xxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxx>
---
drivers/iommu/riscv/iommu.c | 2 ++
include/linux/generic_pt/common.h | 1 +
2 files changed, 3 insertions(+)
Reviewed-by: Nutty Liu <nutty.liu@xxxxxxxxxxx>

Thanks,
Nutty