Re: [PATCH v3 3/3] kselftest: Add new test for detecting unprobed Devicetree devices

Mark Brown <[email protected]>
Newsgroups dev.linux.lists.kernelci,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Mon, Aug 28, 2023 at 05:13:12PM -0400, Nícolas F. R. A. Prado wrote:
> Introduce a new kselftest to detect devices that were declared in the
> Devicetree, and are expected to be probed by a driver, but weren't.

I've been running this in my personal CI for a little while now and I'm
finding it's pretty marginal for the 45 second default timeout in
kselftest on some platforms, especially BeagleBone Black though it's not
just that.  BBB is both slow and has a comprehensive DT which won't help
matters, there's 253 devices.

I'm running it from nfsroot which is going to be part of the problem but
shouldn't be too bad since we're mainly dealing with proc and sysfs and
hopefully mostly running cached binaries, I'm also using a serial
console to get the output which is going to add overhead especially with
a large number odevices with length names.  I'm not sure what the best
solution is here - a quick glance at the code doesn't ring any alarm
bells for me, this may just be a reasonable runtime for the test.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVyKKgACgkQJNaLcl1U
h9Bc2Qf9Ff2kw/O+966mMrAYPT/ndJA6i8hD9VjeLevjVDZ2HGUY9YfIo4B+zkb2
bPVIFdfHfD3J3hu01MWBUyaUVTNU+TWTF3rX5imPd9NNFHnvneTOGtg4KOCRXcSl
KKuM+C4k+euPWJiFNJRJgwLFVOY4GPNrVkTi9XP7r6Wv8MU7Un4sjQ0+dBTmE5gp
FclMgg306GEgWgzGxw2rIhyLZbGJPpPuu0cmqVlitgmTWIzi63vQrH4wrCQ+R/l1
Npe6lzBjnqghV5cJOLs0sQe7NRMPzY/B9Z+cXERW1DYad86s9jeYedqdXDaRuqjM
CgbCssr96PhbPheZxkPPULQacKbrBA==
=uXwM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.