Re: [PATCH v6 02/13] iommufd: Move _iommufd_object_alloc helper to a sharable file

2024-10-31 Thread Jason Gunthorpe
On Wed, Oct 30, 2024 at 02:34:28PM -0700, Nicolin Chen wrote: > The following patch will add a new vIOMMU allocator that will require this > _iommufd_object_alloc to be sharable with IOMMU drivers (and iommufd too). > > Add a new driver.c file that will be built with CONFIG_IOMMUFD_DRIVER_CORE > s

[PATCH v6 02/13] iommufd: Move _iommufd_object_alloc helper to a sharable file

2024-10-30 Thread Nicolin Chen
The following patch will add a new vIOMMU allocator that will require this _iommufd_object_alloc to be sharable with IOMMU drivers (and iommufd too). Add a new driver.c file that will be built with CONFIG_IOMMUFD_DRIVER_CORE selected by CONFIG_IOMMUFD, and put the CONFIG_DRIVER under that remainin