Message ID | 20230221034812.138051-9-yi.l.liu@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add vfio_device cdev for iommufd support | expand |
> From: Liu, Yi L <yi.l.liu@intel.com> > Sent: Tuesday, February 21, 2023 11:48 AM > > this suits more on what the code does. > > Signed-off-by: Yi Liu <yi.l.liu@intel.com> > --- > drivers/vfio/pci/vfio_pci_core.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c > index 4704c1babae3..827524510f3f 100644 > --- a/drivers/vfio/pci/vfio_pci_core.c > +++ b/drivers/vfio/pci/vfio_pci_core.c > @@ -1308,8 +1308,7 @@ static int vfio_pci_ioctl_pci_hot_reset(struct > vfio_pci_core_device *vdev, > } > > /* > - * For each group_fd, get the group through the vfio external user > - * interface and store the group and iommu ID. This ensures the > group > + * For each group_fd, get the group file, this ensures the group > * is held across the reset. "Get the group file for each fd to ensure the group held across the reset" btw I'm not sure whether it's worthy of being a separate patch. but if Alex is fine: Reviewed-by: Kevin Tian <kevin.tian@intel.com> > */ > for (file_idx = 0; file_idx < hdr.count; file_idx++) { > -- > 2.34.1
diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c index 4704c1babae3..827524510f3f 100644 --- a/drivers/vfio/pci/vfio_pci_core.c +++ b/drivers/vfio/pci/vfio_pci_core.c @@ -1308,8 +1308,7 @@ static int vfio_pci_ioctl_pci_hot_reset(struct vfio_pci_core_device *vdev, } /* - * For each group_fd, get the group through the vfio external user - * interface and store the group and iommu ID. This ensures the group + * For each group_fd, get the group file, this ensures the group * is held across the reset. */ for (file_idx = 0; file_idx < hdr.count; file_idx++) {
this suits more on what the code does. Signed-off-by: Yi Liu <yi.l.liu@intel.com> --- drivers/vfio/pci/vfio_pci_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)