Re: [PATCH v2 2/3] iommu/io-pgtable-arm-selftests: Modularize the test

From: Jason Gunthorpe
Date: Wed Sep 17 2025 - 15:39:57 EST


On Wed, Sep 17, 2025 at 07:11:39PM +0000, Mostafa Saleh wrote:
> Remove the __init constraint, as the test will be converted to KUnit,
> it can run on-demand after later.
>
> Also, as KUnit can be a module, make this test modular.
>
> Signed-off-by: Mostafa Saleh <smostafa@xxxxxxxxxx>
> ---
> drivers/iommu/Kconfig | 2 +-
> drivers/iommu/io-pgtable-arm-selftests.c | 36 +++++++++++++++---------
> 2 files changed, 23 insertions(+), 15 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason