All of lore.kernel.org
 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; 13+ 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] 13+ messages in thread
* [PATCH 0/3] PCI: hv: Use vPCI protocol version 1.2 for v4.9
@ 2019-01-17 20:47 Ajay Kaher
  2019-01-17 20:47 ` [PATCH 1/3] PCI: hv: Allocate physically contiguous hypercall params buffer Ajay Kaher
  0 siblings, 1 reply; 13+ messages in thread
From: Ajay Kaher @ 2019-01-17 20:47 UTC (permalink / raw)
  To: kys, haiyangz; +Cc: devel, linux-pci, linux-kernel, 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 baqkpotring 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: Replaced hv_tmp_cpu_nr_to_vp_nr() with vmbus_cpu_number_to_vp_number()
to make this patch compatible for linux v4.9.

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

-- 
2.7.4


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

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

Thread overview: 13+ 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
  -- strict thread matches above, loose matches on Subject: below --
2019-01-17 20:47 [PATCH 0/3] " Ajay Kaher
2019-01-17 20:47 ` [PATCH 1/3] PCI: hv: Allocate physically contiguous hypercall params buffer Ajay Kaher
2019-01-17 14:57   ` Bjorn Helgaas
2019-01-21 13:19   ` Dan Carpenter
2019-01-21 13:36     ` Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.