Re: [RFC PATCH v5 01/10] iommupt: Add RISC-V Second-stage (iohgatp) page table support

From: Jason Gunthorpe

Date: Wed Oct 28 2026 - 11:31:37 EST


On Tue, 20 Oct 2026 17:40:57 +0800, fangyu.yu@xxxxxxxxxxxxxxxxx <fangyu.yu@xxxxxxxxxxxxxxxxx> wrote:
> Add support for Sv39x4/Sv48x4/Sv57x4 Second-stage page tables used by
> the RISC-V IOMMU iohgatp register. The x4 root page table is 16 KiB
> instead of the usual 4 KiB, covering 2 extra GPA bits (hw_max_vasz_lg2
> = 41/50/59).

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

--
Jason