stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9
@ 2019-01-23 15:38 Ajay Kaher
  2019-01-23  8:00 ` Greg KH
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ajay Kaher @ 2019-01-23 15:38 UTC (permalink / raw)
  To: kys, haiyangz, jloeser, sthemmin, sashal, mikelley, decui
  Cc: stable, srivatsab, amakhalov, Ajay Kaher

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-01-23 12:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-23 15:38 [PATCH 0/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9 Ajay Kaher
2019-01-23  8:00 ` Greg KH
2019-01-23  8:02 ` Greg KH
2019-01-23 12:02   ` Ajay Kaher
2019-01-23 12:08     ` Greg KH
2019-01-23 15:38 ` [PATCH 1/3] PCI: hv: Allocate physically contiguous hypercall params buffer Ajay Kaher
2019-01-23  8:01   ` Greg KH
2019-01-23 15:38 ` [PATCH 2/3] PCI: hv: Add vPCI version protocol negotiation Ajay Kaher
2019-01-23 15:38 ` [PATCH 3/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9 Ajay Kaher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).