Hi Rahul,

On 01/12/2022 17:02, Rahul Singh wrote:
> 
> 
> XEN will create an Emulated SMMUv3 device tree node in the device tree
> to enable the dom0less domains to discover the virtual SMMUv3 during
> boot. Emulated SMMUv3 device tree node will only be created when cmdline
> option vsmmuv3 is enabled.
I think you meant viommu option.

In any case, I think that you want to introduce a device-tree property for 
dom0less domU
e.g. string property viommu = "smmuv3" to control whether to add a virtual 
IOMMU node or not for a given domU.
You did exactly the same for xl created domUs so you should do the same for 
dom0less domUs.
Otherwise the behavior will be inconsistent and we will lack per-domain control 
over virtual IOMMU.

~Michal

Reply via email to