On Fri, Jun 02, 2023 at 05:16:39AM -0700, Yi Liu wrote: > This moves the noiommu compat validation logic into vfio_df_group_open(). > This is more consistent with what will be done in vfio device cdev path. > > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > Tested-by: Terrence Xu <terrence.xu@xxxxxxxxx> > Tested-by: Nicolin Chen <nicolinc@xxxxxxxxxx> > Tested-by: Yanting Jiang <yanting.jiang@xxxxxxxxx> > Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > --- > drivers/vfio/group.c | 13 +++++++++++++ > drivers/vfio/iommufd.c | 22 ++++++++-------------- > drivers/vfio/vfio.h | 9 +++++++++ > 3 files changed, 30 insertions(+), 14 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason