Commit f7ac541
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>1 parent a99aaf2 commit f7ac541
1 file changed
Lines changed: 4 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
2467 | 2465 | | |
2468 | 2466 | | |
2469 | 2467 | | |
2470 | | - | |
2471 | 2468 | | |
2472 | 2469 | | |
2473 | 2470 | | |
| |||
2646 | 2643 | | |
2647 | 2644 | | |
2648 | 2645 | | |
| 2646 | + | |
2649 | 2647 | | |
2650 | 2648 | | |
2651 | 2649 | | |
| |||
2718 | 2716 | | |
2719 | 2717 | | |
2720 | 2718 | | |
2721 | | - | |
| 2719 | + | |
2722 | 2720 | | |
2723 | 2721 | | |
2724 | 2722 | | |
2725 | 2723 | | |
2726 | 2724 | | |
2727 | 2725 | | |
2728 | 2726 | | |
2729 | | - | |
2730 | | - | |
2731 | 2727 | | |
2732 | 2728 | | |
2733 | 2729 | | |
| |||
2736 | 2732 | | |
2737 | 2733 | | |
2738 | 2734 | | |
2739 | | - | |
2740 | | - | |
2741 | | - | |
| 2735 | + | |
| 2736 | + | |
2742 | 2737 | | |
2743 | 2738 | | |
2744 | 2739 | | |
| |||
0 commit comments