[GIT PULL] Please pull IOMMUFD subsystem changes

From: Jason Gunthorpe
Date: Thu Feb 22 2024 - 08:24:18 EST


Hi Linus,

Some small fixes and updates for the selftest. I'm aware of some
syzkaller issues that hopefully will get fixes into another PR before
the merge window.

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

Linux 6.8-rc3 (2024-02-04 12:20:36 +0000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git tags/for-linus-iommufd

for you to fetch changes up to 510325e5ac5f45c1180189d3bfc108c54bf64544:

selftests/iommu: fix the config fragment (2024-02-22 09:02:05 -0400)

----------------------------------------------------------------
iommufd for 6.8 rc

- Fix dirty tracking bitmap collection when using reporting bitmaps that
are not neatly aligned to u64's or match the IO page table radix tree
layout.

- Add self tests to cover the cases that were found to be broken.

- Add missing enforcement of invalidation type in the uapi.

- Fix selftest config generation

----------------------------------------------------------------
Jason Gunthorpe (1):
iommufd: Reject non-zero data_type if no data_len is provided

Joao Martins (9):
iommufd/iova_bitmap: Bounds check mapped::pages access
iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 array
iommufd/selftest: Test u64 unaligned bitmaps
iommufd/iova_bitmap: Handle recording beyond the mapped pages
iommufd/selftest: Refactor dirty bitmap tests
iommufd/selftest: Refactor mock_domain_read_and_clear_dirty()
iommufd/selftest: Hugepage mock domain support
iommufd/selftest: Add mock IO hugepages tests
iommufd/iova_bitmap: Consider page offset for the pages to be pinned

Muhammad Usama Anjum (1):
selftests/iommu: fix the config fragment

drivers/iommu/iommufd/hw_pagetable.c | 3 +-
drivers/iommu/iommufd/iommufd_test.h | 1 +
drivers/iommu/iommufd/iova_bitmap.c | 68 +++++++++++++++++++----
drivers/iommu/iommufd/selftest.c | 79 ++++++++++++++++++++-------
tools/testing/selftests/iommu/config | 5 +-
tools/testing/selftests/iommu/iommufd.c | 78 +++++++++++++++++++++-----
tools/testing/selftests/iommu/iommufd_utils.h | 39 ++++++++-----
7 files changed, 210 insertions(+), 63 deletions(-)

Attachment: signature.asc
Description: PGP signature