Re: [PATCH v4 02/14] iommufd/fault: Add an iommufd_fault_init() helper

2025-01-05 Thread Baolu Lu
On 1/4/25 03:43, Nicolin Chen wrote: The infrastructure of a fault object will be shared with a new vEVENTQ object in a following change. Add a helper for a vEVENTQ allocator to call it too. Reorder the iommufd_ctx_get and refcount_inc, to keep them symmetrical with the iommufd_fault_fops_releas

[PATCH v4 02/14] iommufd/fault: Add an iommufd_fault_init() helper

2025-01-03 Thread Nicolin Chen
The infrastructure of a fault object will be shared with a new vEVENTQ object in a following change. Add a helper for a vEVENTQ allocator to call it too. Reorder the iommufd_ctx_get and refcount_inc, to keep them symmetrical with the iommufd_fault_fops_release(). Since the new vEVENTQ doesn't nee