linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] PCI: hv: Refactor hv_irq_unmask() to use hv_vpset and cpumask_to_vpset()
@ 2019-03-01  6:54 Maya Nakamura
  2019-03-01  6:56 ` [PATCH v5 1/3] PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt Maya Nakamura
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maya Nakamura @ 2019-03-01  6:54 UTC (permalink / raw)
  To: lorenzo.pieralisi, bhelgaas, linux-pci, kys, sthemmin, olaf, apw,
	jasowang, mikelley, Alexander.Levin
  Cc: linux-kernel, linux-hyperv, haiyangz, vkuznets, marcelo.cerri

This patchset removes a duplicate definition of VP set (hv_vp_set) and
uses the common definition (hv_vpset) that is used in other places. It
changes the order of the members in struct hv_pcibus_device due to
flexible array in hv_vpset.

It also removes the duplicate implementation of cpumask_to_vpset(), uses
the shared implementation, and exports hv_max_vp_index, which is
required by cpumask_to_vpset().

It adds __aligned(8) to struct retarget_msi_interrupt because Hyper-V
requires that hypercall arguments be aligned on an 8 byte boundary. This
is now a new patch, separate from one of the previous patches.

Maya Nakamura (3):
  PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt
  PCI: hv: Replace hv_vp_set with hv_vpset
  PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset()

 arch/x86/hyperv/hv_init.c           |  1 +
 drivers/pci/controller/pci-hyperv.c | 61 +++++++++++++----------------
 2 files changed, 29 insertions(+), 33 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2019-03-01 11:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01  6:54 [PATCH v5 0/3] PCI: hv: Refactor hv_irq_unmask() to use hv_vpset and cpumask_to_vpset() Maya Nakamura
2019-03-01  6:56 ` [PATCH v5 1/3] PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt Maya Nakamura
2019-03-01  6:59 ` [PATCH v5 2/3] PCI: hv: Replace hv_vp_set with hv_vpset Maya Nakamura
2019-03-01  7:04 ` [PATCH v5 3/3] PCI: hv: Refactor hv_irq_unmask() to use cpumask_to_vpset() Maya Nakamura
2019-03-01 11:55 ` [PATCH v5 0/3] PCI: hv: Refactor hv_irq_unmask() to use hv_vpset and cpumask_to_vpset() Lorenzo Pieralisi

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