Messages in this thread | | | Date | Tue, 12 Dec 2023 11:58:52 +0800 | Subject | Re: [PATCH v7 3/3] iommu/vt-d: Add iotlb flush for nested domain | From | Yi Liu <> |
| |
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
| |