Skip to content

Two fixes to vevent path

Yi Liu linux-iommu 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2iommufd: Initialize the flags of vevent in iommufd_viommu_report_event()drivers/iommu/iommufd/driver.c+1 -11 reply
2/2iommufd: Balance veventq->num_events inc/decdrivers/iommu/iommufd/eventq.c+2 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchNicolin Chen
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Two fixes to vevent path

iommufd selftest occassionally fail when reading vevent. After debugging, it is due to vevent->header.flags. It is not set properly per allocation. This can be fixed by using kzalloc(). There is another related issue. The veventq->num_events inc/dec is not balanced. This is problemtic. Make a fix for it as well.

Regards,
Yi Liu

Yi Liu (2):
iommufd: Initialize the flags of vevent in
iommufd_viommu_report_event()
iommufd: Balance veventq->num_events inc/dec

 drivers/iommu/iommufd/driver.c | 2 +-
 drivers/iommu/iommufd/eventq.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1