Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753926AbcKASOh (ORCPT ); Tue, 1 Nov 2016 14:14:37 -0400 Received: from p3plsmtps2ded02.prod.phx3.secureserver.net ([208.109.80.59]:47818 "EHLO p3plsmtps2ded02.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbcKASOg (ORCPT ); Tue, 1 Nov 2016 14:14:36 -0400 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, sthemmin@microsoft.com Cc: "K. Y. Srinivasan" Subject: [PATCH V2 02/14] Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout Date: Tue, 1 Nov 2016 13:07:22 -0700 Message-Id: <1478030854-5970-2-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1478030854-5970-1-git-send-email-kys@exchange.microsoft.com> References: <1478030807-5915-1-git-send-email-kys@exchange.microsoft.com> <1478030854-5970-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfFWXQccWZe19Cc0vxlTEH4jOPGfU653y64IX0VApREHSFd0B1NicDAYBwu8l2CMv2yiF98GZ59LFJ+l4B3ExXR4kcBvXFzVKYO0emS0nLhgNUAKqr41j HGWfymbkHiMk0760p2sUD+Y9q2dSNWKhdqC1dHokDpo9DBpcxHvKfN8iWl4NrE4c4cObwpkYvqNVrAe6rNQVfz3g9TAq3JMO6G6WH9WFDo1NYr3ygbzv1aY6 SnXqlKxQatmH46sxP5pybuZupgi1LlMffcAcDW3iLY2cTlS2PVwYCNeT/ILuRws2qiF8PcJHe199PahrRuZoei0cg5cKkxGI3QKDb8zo4KLLLaBq5iEeBfOY 6ls/Zqzx1A0oO+vH6ZI3PC8mbD+kmuknQoyERDMoUmQ2nGjkWXmsYmGu9bU5JCaYuR9ZWhHhyQy9Z+1seJqlVkmHZXJNYJhytgun0QitJG6jxUNo7OKqfhph hNUovozjYXlrWhueLCZijXr7VFkFn7tT+eloBQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 27 From: Vitaly Kuznetsov I discovered that at least WS2016TP5 host has 60 seconds timeout for the ICMSGTYPE_NEGOTIATE message so we need to lower guest's timeout a little bit to make sure we always respond in time. Let's make it 55 seconds. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan --- drivers/hv/hyperv_vmbus.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index a5b4442..bdab7e7 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -38,7 +38,7 @@ /* * Timeout for guest-host handshake for services. */ -#define HV_UTIL_NEGO_TIMEOUT 60 +#define HV_UTIL_NEGO_TIMEOUT 55 /* * The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent -- 1.7.4.1