Skip to contentSkip to conversation

mei: me: enable asynchronous probing

char-misc-next Tomas Winkler 1 participant 1 message Jun 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

From: Alexander Usyskin <[email protected]>

On some platforms, currently Broxton, Apollo Lake and Kaby Lake, ME FW may be busy with internal bookkeeping and answering late to the start message.
As a mitigation, the driver requests for a synchronous probing to prevent stalling of the overall boot process. For example, on a Apollo Lake platform the overall boot time has reduced from ~0.9 to ~0.6 seconds on average.

---
 drivers/misc/mei/pci-me.c | 1 +
 1 file changed, 1 insertion(+)
drivers/misc/mei/pci-me.c +1 -0
index abaa2c485f40..3f4e36b8892f 100644
@@ -489,6 +489,7 @@ static struct pci_driver mei_me_driver = {
 	.remove = mei_me_remove,
 	.shutdown = mei_me_shutdown,
 	.driver.pm = MEI_ME_PM_OPS,
+	.driver.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 };
 
 module_pci_driver(mei_me_driver);
Signature · 1 line
2.9.4