]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/io-pgtable-arm: Move selftests to a separate file
authorMostafa Saleh <smostafa@google.com>
Mon, 3 Nov 2025 12:33:50 +0000 (12:33 +0000)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 13 Nov 2025 15:25:31 +0000 (16:25 +0100)
commit699b059962add22b2a324645b6ae2a607fc1a93e
tree7eac503bcb6f269ac754180589cc757f06ec741f
parentd8546833cfeeaa87c2a32ba4c3f2eb3d020c3ed4
iommu/io-pgtable-arm: Move selftests to a separate file

Clean up the io-pgtable-arm library by moving the selftests out.
Next the tests will be registered with kunit.

This is useful also to factor out kernel specific code out, so
it can compiled as part of the hypervisor object.

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/Makefile
drivers/iommu/io-pgtable-arm-selftests.c [new file with mode: 0644]
drivers/iommu/io-pgtable-arm.c