Re: [PATCH v5 15/19] iommufd: vfio container FD ioctl compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 18, 2022 at 02:58:49AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Sent: Thursday, November 17, 2022 5:01 AM
> > index ca28a135b9675f..2fdff04000b326 100644
> > --- a/drivers/iommu/iommufd/Makefile
> > +++ b/drivers/iommu/iommufd/Makefile
> > @@ -5,6 +5,7 @@ iommufd-y := \
> >  	io_pagetable.o \
> >  	ioas.o \
> >  	main.o \
> > -	pages.o
> > +	pages.o \
> > +	vfio_compat.o
> > 
> 
> move vfio_compat out of core? it's not required if VFIO
> is not configured.

We can, but I don't know if we should. Compat ioctls are part of
/dev/iommu, and technically have nothing to do with VFIO. A native
iommufd application using VDPA could use them, if it wanted, for
instance.

Jason



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux