[PATCH rc v2 0/2] iommufd/fault: Two bug fixes prior to vEVENTQ

Nicolin Chen posted 2 patches 11 months ago
drivers/iommu/iommufd/iommufd_private.h | 29 ++++++++++++-
drivers/iommu/iommufd/fault.c           | 54 +++++++++++++++----------
2 files changed, 60 insertions(+), 23 deletions(-)
[PATCH rc v2 0/2] iommufd/fault: Two bug fixes prior to vEVENTQ
Posted by Nicolin Chen 11 months ago
It is too late to get the vEVENTQ series merged in this cycle, while some
bug fixes for the fault.c file can go in first. These fix two small bugs.

I will send vEVENTQ v6 later to get reviewed. And hopefully that can get
merged in the early weeks of the next cycle.

Changelog:
v2
 * Add "Reviewed-by" from Jason/Kevin/Baolu
 * Move fault->mutex closer to fault->response
 * Fix inversed arguments passing at list_add()
 * Replace "for" loops with simpler "while" loops
 * Update kdoc to reflex all the changes in this version
 * Rename iommufd_fault_deliver_extract to iommufd_fault_deliver_fetch
v1
 https://lore.kernel.org/all/cover.1736894696.git.nicolinc@nvidia.com/

Thanks
Nicolin

Nicolin Chen (2):
  iommufd/fault: Destroy response and mutex in iommufd_fault_destroy()
  iommufd/fault: Use a separate spinlock to protect fault->deliver list

 drivers/iommu/iommufd/iommufd_private.h | 29 ++++++++++++-
 drivers/iommu/iommufd/fault.c           | 54 +++++++++++++++----------
 2 files changed, 60 insertions(+), 23 deletions(-)

-- 
2.43.0