]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Don't wait for the ACPI device upon initialization
authorStanislav Kinsburskiy <stanislav.kinsburskiy@gmail.com>
Wed, 21 Sep 2022 18:39:05 +0000 (18:39 +0000)
committerWei Liu <wei.liu@kernel.org>
Fri, 23 Sep 2022 10:40:09 +0000 (10:40 +0000)
commita05108879f8a1126edb6645881e0a032d89019c5
tree7b8e7ae5be322401856663dfff61b1c32ac41d6c
parent571e1d4ec642fdb25043e1d2425b5ee7a50c3bb2
Drivers: hv: vmbus: Don't wait for the ACPI device upon initialization

Waiting to 5 seconds in case of missing VMBus ACPI device is redundant as the
device is either present already or won't be available at all.

This patch enforces synchronous probing to make sure the bus traversal,
happening upon driver registering will either find the device (if present) or
not spend any additional time if device is absent.

Signed-off-by: Stanislav Kinsburskiy <stanislav.kinsburskiy@gmail.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: Haiyang Zhang <haiyangz@microsoft.com>
CC: Stephen Hemminger <sthemmin@microsoft.com>
CC: Wei Liu <wei.liu@kernel.org>
CC: Dexuan Cui <decui@microsoft.com>
CC: linux-hyperv@vger.kernel.org
CC: linux-kernel@vger.kernel.org
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Link: https://lore.kernel.org/r/166378554568.581670.1124852716698789244.stgit@skinsburskii-cloud-desktop.internal.cloudapp.net
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/vmbus_drv.c