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

Tian, Kevin
2023-11-20T08:32:19Z

> From: Liu, Yi L <yi.l.liu@intel.com>
> 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.