Re: [PATCH v3 0/7] iommu/arm-smmu-v3: Support guest-level Realm VSMMU (Part-1)
From: Jason Gunthorpe
Date: Mon Nov 30 2026 - 14:43:48 EST
On Mon, Nov 30, 2026 at 10:40:23AM +0800, Zhenzhong Duan wrote:
> > After reaching T=1, the device is inside the Realm trust boundary. Its DMA
> > may use the guest VSMMU after RMM binds the device to its virtual stream:
> >
> > [device] ===> [VSMMU: S1] ===> [RMM/PSMMU: S2 + DPT] ===> [memory]
>
> Just curious, do we support other domains for a T=1 device, e.g., bypassing
> S1, I mean attaching it to an identity domain in guest, or VSMMU is forecly
> enabled for this device if T=1?
vSMMU will accept a "bypass STE" which causes the HW to only walk the
S2.
The vSMMU is forcibly enabled, in that whatever is programmed into its
STE defines the translation the T=1 traffic will get.
Intel should work the same, the scalable context table in the guest
should be authoritative for T=1 mode if a vIOMMU was presented, with
some option for the guest to ask to use identity
Jason