Skip to content

PCI: hv: Use vPCI protocol version 1.2 for v4.9

Ajay Kaher stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: hv: Allocate physically contiguous hypercall params bufferdrivers/pci/host/pci-hyperv.c+19 -101 reply
2/3PCI: hv: Add vPCI version protocol negotiationdrivers/pci/host/pci-hyperv.c+53 -190 replies
3/3PCI: hv: Use vPCI protocol version 1.2 for v4.9drivers/pci/host/pci-hyperv.c+246 -540 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9

For now, please consider these patches for review and suggest if these can be merged to mainline kernel v4.9.

These patches add support for vPCI protocol version 1.2, by backpotring from v4.14 to v4.9.
Individual patches are summarised below:

Patch 1: PCI: hv: Allocate physically contiguous hypercall params buffer Backported as is.

Patch 2: PCI: hv: Add vPCI version protocol negotiation Backported as is.

Patch 3: PCI: hv: Use vPCI protocol version 1.2 for v4.9
Change: Because v4.9 doesn't have hv_tmp_cpu_nr_to_vp_nr(), so original patch from v4.14 fails to apply on v4.9. To solve this, using vmbus_cpu_number_to_vp_number() instead of hv_tmp_cpu_nr_to_vp_nr() in this patch.

 drivers/pci/host/pci-hyperv.c | 387 +++++++++++++++++++++++++++++++++---------
 1 file changed, 311 insertions(+), 76 deletions(-)
Signature · 1 line
2.7.4