[PATCH v2 2/9] iommupt/kunit: Skip test configs without supported features

Jason Gunthorpe jgg at nvidia.com
Tue Sep 29 07:20:18 PDT 2026


On Mon, Sep 28, 2026 at 11:16:25PM +0000, Pranjal Shrivastava wrote:
> I can't quite build this as I can't find this macro:
> 
> drivers/iommu/generic_pt/fmt/../kunit_iommu.h:129:35: error: use of undeclared identifier 'KUNIT_PT_SUPPORTED_FEATURES'
>   129 |         if (priv->cfg.common.features & ~KUNIT_PT_SUPPORTED_FEATURES)
>       |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>   CC      drivers/tty/tty_port.o
>   CC      drivers/clk/clk-fixed-factor.o
>   AS      arch/arm64/lib/strrchr.o
> 1 error generated.
> make[5]: *** [drivers/iommu/generic_pt/fmt/Makefile:30: drivers/iommu/generic_pt/fmt/kunit_iommu_armv8.o] Error 1
> make[4]: *** [scripts/Makefile.build:551: drivers/iommu/generic_pt/fmt] Error 2
> 
> Am I missing a series it was defined in? Can't find anything on lore,
> but I did find a commit on your github [1] that is supposed to preclude
> this, I guess?

Oh, there is a patch in my pile I didn't realize was needed, I'll add
it to this series. The github has it:

 iommupt/kunit: Do not test INCOHERENT on anything but x86

Thanks,
Jason



More information about the linux-arm-kernel mailing list