On Mon, May 05, 2025 at 11:18:45AM -0300, Jason Gunthorpe wrote:
This intends to have high coverage of the page table format functions and the IOMMU implementation itself, exercising the various corner cases.
The kunit can be run in the kunit framework, using commands like:
tools/testing/kunit/kunit.py run --build_dir build_kunit_arm64 --arch arm64 --make_options LLVM=1 --make_options LLVM_SUFFIX=-19 --kunitconfig ./drivers/iommu/generic_pt/.kunitconfig
Just a small comment about the command:
--make_options LLVM=1 --make_options LLVM_SUFFIX=-19
can be simplified to just
--make_options LLVM=-19
You should never need to specify either LLVM_SUFFIX or LLVM_PREFIX.
Cheers, Nathan