Re: [PATCH v10 08/12] iommu/sva: Refactoring iommu_sva_bind/unbind_device()

From: Baolu Lu
Date: Wed Jul 06 2022 - 23:02:40 EST


On 2022/7/7 09:56, Tian, Kevin wrote:
From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Sent: Tuesday, July 5, 2022 1:07 PM

+struct iommu_sva *iommu_sva_bind_device(struct device *dev, struct
mm_struct *mm)
+{
+ struct iommu_domain *domain;
+ ioasid_t max_pasids;
+ int ret = -EINVAL;

-EINVAL is not used.

Updated.


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


Best regards,
baolu