[RFC PATCH v2 9/9] iommu/riscv: Add riscv_iommu_attach_dev_nested
Jason Gunthorpe
jgg at ziepe.ca
Tue Nov 10 05:16:58 PST 2026
On Tue, Nov 10, 2026 at 07:51:37PM +0800, Gong Shuai wrote:
> 2. Use the guest PSCID directly, but allocate a separate host GSCID for
> each vIOMMU.
This is the right model. The viommu should allocate the GSCID directly
and keep it for the lifetime of the VM.
> 3. Share the GSCID and maintain a per-vIOMMU mapping from each guest
> PSCID to a host-allocated PSCID.
AMD is doing this because they don't have something like a GSCID.
Jason
More information about the linux-riscv
mailing list