[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190117150654.GF158366@google.com>
Date: Thu, 17 Jan 2019 09:06:54 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Ajay Kaher <akaher@...are.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com,
devel@...uxdriverproject.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, Jork Loeser <jloeser@...rosoft.com>
Subject: Re: [PATCH 3/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9
On Fri, Jan 18, 2019 at 02:17:18AM +0530, Ajay Kaher wrote:
> Update the Hyper-V vPCI driver to use the Server-2016 version of the vPCI
> protocol, fixing MSI creation and retargeting issues.
>
> Replaced hv_tmp_cpu_nr_to_vp_nr() with vmbus_cpu_number_to_vp_number()
> to make this patch compatibale for linux v4.9.
s/compatibale for/compatible with/
This change (to make it compatible with v4.9) sounds like it should be
in its own separate patch. I don't see any use of
hv_tmp_cpu_nr_to_vp_nr() being removed, so the changelog doesn't quite
make sense.
> Signed-off-by: Jork Loeser <jloeser@...rosoft.com>
> Signed-off-by: Bjorn Helgaas <bhelgaas@...gle.com>
I did not sign off on this; please remove.
> Reviewed-by: K. Y. Srinivasan <kys@...rosoft.com>
> Acked-by: K. Y. Srinivasan <kys@...rosoft.com>
> Signed-off-by: Ajay Kaher <akaher@...are.com>
> + * struct hv_msi_desc2 - 1.2 version of hv_msi_desc
> + * @vector: IDT entry
> + * @delivery_mode: As defined in Intel's Programmer's
> + * Reference Manual, Volume 3, Chapter 8.
> + * @vector_count: Number of contiguous entries in the
> + * Interrupt Descriptor Table that are
> + * occupied by this Message-Signaled
> + * Interrupt. For "MSI", as first defined
> + * in PCI 2.2, this can be between 1 and
> + * 32. For "MSI-X," as first defined in PCI
> + * 3.0, this must be 1, as each MSI-X table
> + * entry would have its own descriptor.
Please reflow these descriptions to take advantage of an 80 column
width. They are currently wrapped to fit in 50 columns, which is
unnecessarily short.
> + default:
> + /* As we only negotiate protocol versions known to this driver,
> + * this path should never hit. However, this is it not a hot
> + * path so we print a message to aid future updates.
> + */
> + dev_err(&hbus->hdev->device,
> + "Unexpected vPCI protocol, update driver.");
Include the actual protocol version in the message?
Powered by blists - more mailing lists