Re: [PATCH] driver core: introduce PROBE_FORCE_ASYNCHRONOUS
Greg Kroah-Hartman <[email protected]> Mon, 27 Jul 2026 07:40:57 +0200
| Newsgroups | dev.linux.lists.driver-core,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026072729-driller-leggings-e530@gregkh> |
On Sun, Jul 26, 2026 at 10:31:41PM -0700, Dmitry Torokhov wrote: > Add PROBE_FORCE_ASYNCHRONOUS probe type enum and update > driver_allows_async_probing() to allow asynchronous probing for drivers > marked with this type. > > While PROBE_PREFER_ASYNCHRONOUS exists, it represents a temporary opt-in > preference. Subsystems that require asynchronous probing (such as slow > legacy buses) need a dedicated probe type to guarantee asynchronous > execution. > > Assisted-by: Antigravity:gemini-3.5-flash > Signed-off-by: Dmitry Torokhov <[email protected]> > --- > > I am planning to rework serio and gameport subsystems to rely on > asynchronous probing instead of rolling their own implementations. What do you mean? Why doesn't the PROBE_PREFER_ASYNCHRONOUS work for you for those subsystems? thanks, greg k-h