Re: [PATCH net-next v2 2/2] net: ipa: fix IPA validation

From: Andrew Lunn
Date: Mon Mar 22 2021 - 18:57:58 EST

> The solution is to create a user space tool inside the
> drivers/net/ipa directory that will link with the kernel
> source files and will perform all the basic one-time checks
> I want to make.

Hi Alex

Have you found any other driver doing this? Where do they keep there

Could this be a selftest, put somewhere in tools/testing/selftests.

Or can this be a test kernel module. Eg. we have crypt/testmsg.c which
runs a number of tests on the crypto subsystem,
./kernel/time/test_udelay.c which runs times on udelay.

Rather than inventing something new, please follow other examples
already in the kernel.