linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rc 0/4] Fix iommufd selftest FAIL and warnings with v6.16
@ 2025-06-16  5:02 Nicolin Chen
  2025-06-16  5:02 ` [PATCH rc 1/4] iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes Nicolin Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Nicolin Chen @ 2025-06-16  5:02 UTC (permalink / raw)
  To: jgg, kevin.tian
  Cc: shuah, joao.m.martins, steven.sistare, iommu, linux-kselftest,
	linux-kernel, thomas.weissschuh

A few selftest harness changes being merged to v6.16, which exposed some
bugs and vulnerabilities in the iommufd selftest code. Fix them properly.

Note that the patch fixing the build warnings at mfd is not ideal, as it
has possibly hit some corner case in the gcc:
https://lore.kernel.org/all/aEi8DV+ReF3v3Rlf@nvidia.com/

This is on github:
https://github.com/nicolinc/iommufd/commits/iommufd_selftest_fixes-v6.16

Thanks
Nicolin

Nicolin Chen (4):
  iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes
  iommufd/selftest: Add missing close(mfd) in memfd_mmap()
  iommufd/selftest: Add asserts testing global mfd
  iommufd/selftest: Fix build warnings due to uninitialized mfd

 tools/testing/selftests/iommu/iommufd_utils.h |  9 ++++-
 tools/testing/selftests/iommu/iommufd.c       | 38 +++++++++++++++----
 2 files changed, 38 insertions(+), 9 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-06-18 11:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-16  5:02 [PATCH rc 0/4] Fix iommufd selftest FAIL and warnings with v6.16 Nicolin Chen
2025-06-16  5:02 ` [PATCH rc 1/4] iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes Nicolin Chen
2025-06-16 16:25   ` Jason Gunthorpe
2025-06-17  2:02     ` Nicolin Chen
2025-06-17 11:59       ` Jason Gunthorpe
2025-06-17 21:23         ` Nicolin Chen
2025-06-17 23:01           ` Jason Gunthorpe
2025-06-17 23:46             ` Nicolin Chen
2025-06-18 11:38               ` Jason Gunthorpe
2025-06-16  5:02 ` [PATCH rc 2/4] iommufd/selftest: Add missing close(mfd) in memfd_mmap() Nicolin Chen
2025-06-16 16:25   ` Jason Gunthorpe
2025-06-16  5:02 ` [PATCH rc 3/4] iommufd/selftest: Add asserts testing global mfd Nicolin Chen
2025-06-16 16:26   ` Jason Gunthorpe
2025-06-16  5:02 ` [PATCH rc 4/4] iommufd/selftest: Fix build warnings due to uninitialized mfd Nicolin Chen
2025-06-16 16:27   ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).