[PATCH 00/20] iommu: Refactoring domain allocation interface

Baolu Lu baolu.lu at linux.intel.com
Tue Jun 4 01:02:40 UTC 2024


On 6/3/24 9:35 PM, Jason Gunthorpe wrote:
> On Wed, May 29, 2024 at 08:02:12PM +0800, Baolu Lu wrote:
>>>> drivers/infiniband/hw/usnic/usnic_uiom.c:       pd->domain = domain
>>>> = iommu_domain_alloc(dev->bus);
>>>>
>>>> This series leave those cases unchanged and keep iommu_domain_alloc()
>>>> for their usage. But new drivers should not use it anymore.
>>>
>>> does it mean there is still domains allocated via iommu_domain_alloc()
>>> on VT-d platform?
>>
>> I think the drivers mentioned above do not run on x86 platforms, or do
>> they?
> 
> usnic does.. What was preventing converting it?

Nothing, just because it wasn't that obvious. :-) I will convert it in
the next version.

Best regards,
baolu


More information about the dri-devel mailing list