Skip to contentSkip to conversation

Please pull IOMMUFD subsystem changes

GIT PULL Merged Jason Gunthorpe 2 participants 2 messages Feb 22, 2024 KVM

lore
Share & tools
lore
#0 lore raw

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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Thu, 22 Feb 2024 09:23:04 -0400:

The pull request you sent on Thu, 22 Feb 2024 09:23:04 -0400:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4c36fbb46f1326c8a11d81594a710098909eb9bf

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html