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

Nutty.Liu nutty.liu at hotmail.com
Sun Apr 12 19:55:00 PDT 2026


On 4/11/2026 10:22 AM, fangyu.yu at linux.alibaba.com wrote:
> From: Fangyu Yu <fangyu.yu at linux.alibaba.com>
>
> 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 at linux.alibaba.com>
> ---
>   drivers/iommu/riscv/iommu.c       | 2 ++
>   include/linux/generic_pt/common.h | 1 +
>   2 files changed, 3 insertions(+)
Reviewed-by: Nutty Liu <nutty.liu at hotmail.com>

Thanks,
Nutty



More information about the linux-riscv mailing list