All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] PCI: hv: Hyper-V vPCI for ARM64
@ 2021-10-14 15:53 Sunil Muthuswamy
  2021-10-14 15:53 ` [PATCH v3 1/2] PCI: hv: Make the code arch neutral by adding arch specific interfaces Sunil Muthuswamy
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sunil Muthuswamy @ 2021-10-14 15:53 UTC (permalink / raw)
  To: kys, haiyangz, sthemmin, wei.liu, maz, decui, tglx, mingo, bp,
	hpa, lorenzo.pieralisi, robh, kw, bhelgaas, arnd
  Cc: x86, linux-kernel, linux-hyperv, linux-pci, linux-arch, Sunil Muthuswamy

From: Sunil Muthuswamy <sunilmut@microsoft.com>

Current Hyper-V vPCI code only compiles and works for x64. There are some
hardcoded assumptions about the architectural IRQ chip and other arch
defines.

Add support for Hyper-V vPCI for ARM64 by first breaking the current hard
coded dependency using a set of new interfaces and implementing those for
X64 first. That is in the first patch. The second patch adds support for
Hyper-V vPCI for ARM64 by implementing the above mentioned interfaces. That
is done by introducing a Hyper-V vPCI specific MSI IRQ domain & chip for
allocating SPI vectors.

changes in v1 -> v2:
 - Moved the irqchip implementation to drivers/pci as suggested
   by Marc Zyngier
 - Addressed Multi-MSI handling issues identified by Marc Zyngier
 - Addressed lock/synchronization primitive as suggested by Marc
   Zyngier
 - Addressed other code feedback from Marc Zyngier

changes in v2 -> v3:
 - Addressed comments from Bjorn Helgaas about patch formatting and
   verbiage
 - Using 'git send-email' to ensure that the patch series is correctly
   threaded. Feedback by Bjorn Helgaas
 - Fixed Hyper-V vPCI build break for module build, reported by Boqun Feng

Sunil Muthuswamy (2):
  PCI: hv: Make the code arch neutral by adding arch specific interfaces
  arm64: PCI: hv: Add support for Hyper-V vPCI

 MAINTAINERS                                 |   2 +
 arch/arm64/include/asm/hyperv-tlfs.h        |   9 +
 arch/x86/include/asm/hyperv-tlfs.h          |  33 +++
 arch/x86/include/asm/mshyperv.h             |   7 -
 drivers/pci/Kconfig                         |   2 +-
 drivers/pci/controller/Kconfig              |   2 +-
 drivers/pci/controller/Makefile             |   2 +-
 drivers/pci/controller/pci-hyperv-irqchip.c | 267 ++++++++++++++++++++
 drivers/pci/controller/pci-hyperv-irqchip.h |  20 ++
 drivers/pci/controller/pci-hyperv.c         |  58 +++--
 include/asm-generic/hyperv-tlfs.h           |  33 ---
 11 files changed, 373 insertions(+), 62 deletions(-)
 create mode 100644 drivers/pci/controller/pci-hyperv-irqchip.c
 create mode 100644 drivers/pci/controller/pci-hyperv-irqchip.h


base-commit: e4e737bb5c170df6135a127739a9e6148ee3da82
-- 
2.25.1


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

end of thread, other threads:[~2021-11-09 19:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 15:53 [PATCH v3 0/2] PCI: hv: Hyper-V vPCI for ARM64 Sunil Muthuswamy
2021-10-14 15:53 ` [PATCH v3 1/2] PCI: hv: Make the code arch neutral by adding arch specific interfaces Sunil Muthuswamy
2021-10-20 15:22   ` Michael Kelley
2021-10-20 18:57   ` Bjorn Helgaas
2021-11-09 19:11     ` [EXTERNAL] " Sunil Muthuswamy
2021-10-24 12:16   ` Marc Zyngier
2021-11-09 19:38     ` [EXTERNAL] " Sunil Muthuswamy
2021-10-14 15:53 ` [PATCH v3 2/2] arm64: PCI: hv: Add support for Hyper-V vPCI Sunil Muthuswamy
2021-10-20 15:30   ` Michael Kelley
2021-10-24 12:54   ` Marc Zyngier
2021-11-09 19:59     ` [EXTERNAL] " Sunil Muthuswamy
2021-10-15  3:23 ` [PATCH v3 0/2] PCI: hv: Hyper-V vPCI for ARM64 Michael Kelley
2021-10-15 17:47   ` Sunil Muthuswamy

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.