Re: [PATCH 5.17 127/298] driver core: Fix wait_for_device_probe() & deferred_probe_timeout interaction
Mark Brown <[email protected]>
| Newsgroups | dev.linux.lists.kernelci,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm,org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 21, 2023 at 01:39:11PM +0100, Robin Murphy wrote: > On 2023-08-21 12:35, Shreeya Patel wrote: > > AFAIK, script for running the tests is immediately ran after the boot > > process is complete so there is no wait time. > Regardless of what the kernel is doing, it seems like a fundamentally dumb > test to specifically ask deferred probe to wait for up to a minute then > complain that it hasn't finished after 11 seconds :/ IIRC that stuff is expecting the modules to be loaded from the initramfs and checking from the main system which is a bit more sensible (at least in the case where there is a main filesystem). It's vulnerable to races but less so, especially given the time a Debian rootfs typically takes to boot over NFS.
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTjYoEACgkQJNaLcl1U h9A6Swf/XtoTqsAUrhDq/Wh7JfVm3BoLQKbTuySudRcbCDjKQqaSOK6krL2dOyho pMlwv20MA3H+NF8I/hbsKh76FXvk08d1iLcKHll3kfZOxLUmdhOXY56bn88FStfd Yja0b9OFe5TkkxZngSggpps6F+hhI0Q1GbuX+VZKqwZ3+1cbM+osTfZDzxy5Y47x NwqGj95If45WtM2T1uom9ODZS1xKNH3Y7TO7Ifkpqf9sV0h+l4cWYEUOahfcEh6z hIH1+EeAJSqWhvoWxXgc0KkmrTV3MQetnfOOpofb9YEO7zvRnU2k/vzhY142cS3Z MfbPxUXC9o6LeMMrbYdhvLEEImawAQ== =cxsG -----END PGP SIGNATURE-----