Re: [PATCH v7 3/3] iommu/vt-d: Add iotlb flush for nested domain

From: Yi Liu
Date: Mon Dec 11 2023 - 22:56:28 EST


On 2023/11/20 16:32, Tian, Kevin wrote:
From: Liu, Yi L <yi.l.liu@xxxxxxxxx>
Sent: Friday, November 17, 2023 9:18 PM
+
+ if (inv_info.__reserved || (inv_info.flags &
~IOMMU_VTD_INV_FLAGS_LEAF) ||
+ !IS_ALIGNED(inv_info.addr, VTD_PAGE_SIZE)) {
+ ret = -EINVAL;
+ break;
+ }

-EOPNOTSUPP for the first two checks.

yes.

--
Regards,
Yi Liu