diff options
author | Alex Ng <alexng@messages.microsoft.com> | 2017-01-28 12:37:17 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-31 11:05:59 +0100 |
commit | a1656454131880980bc3a5313c8bf66ef5990c91 (patch) | |
tree | ab70bf0b5d87cfcae805407b550e7afa496520b5 /drivers/thermal/thermal_core.c | |
parent | ad6d41253bf91eabb41626683c35a712ba27a20c (diff) | |
download | blackbird-op-linux-a1656454131880980bc3a5313c8bf66ef5990c91.tar.gz blackbird-op-linux-a1656454131880980bc3a5313c8bf66ef5990c91.zip |
Drivers: hv: vmbus: Use all supported IC versions to negotiate
Previously, we were assuming that each IC protocol version was tied to a
specific host version. For example, some Windows 10 preview hosts only
support v3 TimeSync even though driver assumes v4 is supported by all
Windows 10 hosts.
The guest will stop trying to negotiate even though older supported
versions may still be offered by the host.
Make IC version negotiation more robust by going through all versions
that are supported by the guest.
Fixes: 3da0401b4d0e ("Drivers: hv: utils: Fix the mapping between host
version and protocol to use")
Reported-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
Signed-off-by: Alex Ng <alexng@messages.microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/thermal_core.c')
0 files changed, 0 insertions, 0 deletions