Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2152861imu; Thu, 17 Jan 2019 09:13:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fMRDTMcgSLrxIjgC9MJNzgOkbVgSRhkD2X8w55r05Qj6Yv71KWwVNoNxrQrrT/+tp4NCN X-Received: by 2002:a17:902:ab92:: with SMTP id f18mr15198883plr.221.1547745195152; Thu, 17 Jan 2019 09:13:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547745195; cv=none; d=google.com; s=arc-20160816; b=JXkSpJWfk6UAtpYwbZF5ht34M5GYa+PKZm7+oDGIX9xK5PtZuKEj+KVhUqAAUOxiSb ZbYvuxxP//Zq4QpE4JyqCDV85qJ7QsJQmJc+pw8dzauVEMllicqRBLCtnvKXnGplK41x Pvwid2mwWu7NUgrq2n46hVBRMT/81e8XI0f1xLQgZRKHZ3VztHPzBgFD5LDUe8bEtjts M63h4X3W/XTOre5PmXbhJspZ3zVA48a4styma9veUbQcAxaITpS+NGsL3fzOYbQXoSuA g20newmedM2hj+3YchX19qVr6AebjlrGdJkiE+/orPyDZwc6roV3T5KNDjAJbnCEGJqm Tdfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bZcjfGqJmBjYAJ+v+ab8AQQIeMQH1yZJ5s4gvb6lx/s=; b=cL4RMrSvh8dkCQrk21TKrT7x78/CI4TckKy6+DF4YTJEgJ+P76YQImu8wjkV7K3uKZ IZuz+WTgi7j1bVWRE+4RMkx1Csc/pN0or7vJHavatsxrt7eGXuvCmzYdCKSMxijRLfRT 0ckREbEt80Cv9LRspWWTHW4tmhdqSBpzPUfQb1xL1X/hG27X/6xuXfm1m9AsGjDJaGZZ R/GEfbW9GAuLOnrmYwoBfBRv965w0pDTrIA4MANGnMol7Onsc2A2l0YMpoyQxa4K/ssq bGxw/92NGr65tnHc+iJur3Etkv7IWBbyCLmmMBYlqDDnycVD6aCN0XNdiUy0P189/irL 7Xhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Tb921DvS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r18si1624445pgo.9.2019.01.17.09.12.58; Thu, 17 Jan 2019 09:13:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Tb921DvS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728063AbfAQO7k (ORCPT + 99 others); Thu, 17 Jan 2019 09:59:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:42112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727714AbfAQO7j (ORCPT ); Thu, 17 Jan 2019 09:59:39 -0500 Received: from localhost (173-25-171-118.client.mchsi.com [173.25.171.118]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2127A20851; Thu, 17 Jan 2019 14:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547737179; bh=TTq+3ukVouDlvXKwUE+gRDYKa4sJzEnhYZzPDhKf5s4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tb921DvSiyTtfgRJ8P+tjIxP01bxzQjNfG3cNOxemX+oQhu8NsMjWi+U1GVb6toQe IcQWt0e7/94XE7RU7Ct35hMPpYaoRBOdaS6ksvz7KCc2GMttq42XfHfPcWk3VNSU3f ezu21zGh9WaRBlSwVIAHP0HHW8viAqi3r5VG/Vag= Date: Thu, 17 Jan 2019 08:59:38 -0600 From: Bjorn Helgaas To: Ajay Kaher Cc: kys@microsoft.com, haiyangz@microsoft.com, devel@linuxdriverproject.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Jork Loeser Subject: Re: [PATCH 2/3] PCI: hv: Add vPCI version protocol negotiation Message-ID: <20190117145937.GE158366@google.com> References: <1547758038-5255-1-git-send-email-akaher@vmware.com> <1547758038-5255-3-git-send-email-akaher@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547758038-5255-3-git-send-email-akaher@vmware.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 02:17:17AM +0530, Ajay Kaher wrote: > Hyper-V vPCI offers different protocol versions. Add the infra for > negotiating the one to use. > > Signed-off-by: Jork Loeser > Signed-off-by: Bjorn Helgaas I did not sign off on this, please remove. > Reviewed-by: K. Y. Srinivasan > Acked-by: K. Y. Srinivasan > Signed-off-by: Ajay Kaher > --- > drivers/pci/host/pci-hyperv.c | 72 +++++++++++++++++++++++++++++++------------ > 1 file changed, 53 insertions(+), 19 deletions(-) > > diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c > index 9e44adf..6eed85b 100644 > --- a/drivers/pci/host/pci-hyperv.c > +++ b/drivers/pci/host/pci-hyperv.c > @@ -65,22 +65,37 @@ > * major version. > */ > > -#define PCI_MAKE_VERSION(major, minor) ((u32)(((major) << 16) | (major))) > +#define PCI_MAKE_VERSION(major, minor) ((u32)(((major) << 16) | (minor))) This looks like a bug fix that should be in its own patch.