From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761900AbcINNAV (ORCPT ); Wed, 14 Sep 2016 09:00:21 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.163]:26018 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755219AbcINNAT (ORCPT ); Wed, 14 Sep 2016 09:00:19 -0400 X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnDYUgpGlCBkYi9PzSS35qm1JoVpWN2ETs8xrgHJp3F6w== X-RZG-CLASS-ID: mo00 Date: Wed, 14 Sep 2016 14:57:10 +0200 From: Olaf Hering To: "Alex Ng (LIS)" Cc: KY Srinivasan , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "apw@canonical.com" , "vkuznets@redhat.com" , "jasowang@redhat.com" , "leann.ogasawara@canonical.com" Subject: Re: [PATCH 3/3] Drivers: hv: utils: Support TimeSync version 4.0 protocol samples. Message-ID: <20160914125710.GA12274@aepfle.de> References: <1473337400-6050-1-git-send-email-kys@exchange.microsoft.com> <1473337454-6097-1-git-send-email-kys@exchange.microsoft.com> <1473337454-6097-3-git-send-email-kys@exchange.microsoft.com> <20160913173816.GA29448@aepfle.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2 (6759) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Tue, Sep 13, Alex Ng (LIS) wrote: > > On Thu, Sep 08, kys@exchange.microsoft.com wrote: > > Perhaps a better approach would be to list the known existing hosts and use > > the new protocol for upcoming, unknown hosts via 'default:'. > This is a good idea. I will create another patch that addresses this. I think this variant would cover upcoming hosts for an old kernel: switch (vmbus_proto_version) { case VERSION_WS2008: util_fw_version = UTIL_WS2K8_FW_VERSION; sd_srv_version = SD_VERSION_1; ts_srv_version = TS_VERSION_1; hb_srv_version = HB_VERSION_1; break; case VERSION_WIN7: case VERSION_WIN8: case VERSION_WIN8_1: util_fw_version = UTIL_FW_VERSION; sd_srv_version = SD_VERSION; ts_srv_version = TS_VERSION_3; hb_srv_version = HB_VERSION; break; case VERSION_WIN10: default: util_fw_version = UTIL_FW_VERSION; sd_srv_version = SD_VERSION; ts_srv_version = TS_VERSION; hb_srv_version = HB_VERSION; break; } Olaf --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlfZSSEACgkQXUKg+qaYNn74MQCcCmobUIdT3d4IxVu5orA7nEzc QtgAnjbj/s01pW2jUsLZybqP2teoeUfE =fuhS -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--