From: Alexander Usyskin Date: Thu, 29 Jun 2017 06:40:02 +0000 (+0300) Subject: mei: me: enable asynchronous probing X-Git-Tag: v4.14-rc1~146^2~181 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=67de6bf1e4f869a490656448f471fdc4a0a405ad;p=linux-block.git mei: me: enable asynchronous probing 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. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index 8621a198a2ce..8bf9a3d9792d 100644 --- a/drivers/misc/mei/pci-me.c +++ b/drivers/misc/mei/pci-me.c @@ -485,6 +485,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);