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

Yi Liu
2023-12-12T03:56:23Z

On 2023/11/20 16:32, Tian, Kevin wrote:
>> 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.
>
yes.

--
Regards,
Yi Liu