On Thu, Nov 06, 2025 at 09:06:51AM +0100, Thorsten Leemhuis wrote:
[reduced To and CC a lot for this reply, hopefully not too much]
On 11/4/25 19:30, Jason Gunthorpe wrote:
This intends to have high coverage of the page table format functions, it uses the IOMMU implementation to create a tree which it then walks through and directly calls the generic page table functions to test them.
It is a good starting point to test a new format header as it is often able to find typos and inconsistencies much more directly, rather than with an obscure failure in the iommu implementation.
My daily -next builds for Fedora broke today on x86_64. From below error message I wonder if it might be due to the change I'm replying to (or some other change in this series) which landed in -next today:
I think this will fix it:
--- a/drivers/iommu/generic_pt/kunit_iommu.h +++ b/drivers/iommu/generic_pt/kunit_iommu.h @@ -8,7 +8,7 @@ #define GENERIC_PT_KUNIT 1 #include <kunit/device.h> #include <kunit/test.h> -#include <../../iommu-pages.h> +#include "../iommu-pages.h" #include "pt_iter.h"
I will send a patch, not sure why this worked for me and all the build bots..
Jason