RE: [PATCH] iommu/vt-d: Enhance capability check for nested parent domain allocation

From: Tian, Kevin
Date: Wed Oct 25 2023 - 03:40:18 EST


> From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
> Sent: Tuesday, October 24, 2023 11:00 PM
>
> This adds the scalable mode check before allocating the nested parent
> domain
> as checking nested capability is not enough. User may turn off scalable mode
> which also means no nested support even if the hardware supports it.
>
> Fixes: c97d1b20d383 ("iommu/vt-d: Add domain_alloc_user op")
> Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>