[PATCH v2 0/2] PCI: hv: Hyper-V vPCI for ARM64

STALE1798d

Revision v2 of 2 in this series.

3 messages, 2 authors, 2021-10-08 · open the first message on its own page

[PATCH v2 0/2] PCI: hv: Hyper-V vPCI for ARM64

From: Sunil Muthuswamy <hidden>
Date: 2021-10-08 17:20:00

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.

This patch series adds support for Hyper-V vPCI for ARM64 by first
breaking the current hard coded dependency in the vPCI code and
making it arch neutral. That is in the first patch. The second
patch introduces a Hyper-V vPCI MSI IRQ chip for allocating SPI
vectors.

changes in 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

Sunil Muthuswamy (2):
  PCI: hv: Make the code arch neutral
  PCI: hv: Support for Hyper-V vPCI for ARM64

 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 | 256 ++++++++++++++++++++
 drivers/pci/controller/pci-hyperv-irqchip.h |  21 ++
 drivers/pci/controller/pci-hyperv.c         |  58 +++--
 include/asm-generic/hyperv-tlfs.h           |  33 ---
 11 files changed, 363 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

Re: [PATCH v2 0/2] PCI: hv: Hyper-V vPCI for ARM64

From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-10-08 18:52:26

On Fri, Oct 08, 2021 at 05:19:53PM +0000, Sunil Muthuswamy wrote:
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.

This patch series adds support for Hyper-V vPCI for ARM64 by first
breaking the current hard coded dependency in the vPCI code and
making it arch neutral. That is in the first patch. The second
patch introduces a Hyper-V vPCI MSI IRQ chip for allocating SPI
vectors.

changes in 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

Sunil Muthuswamy (2):
  PCI: hv: Make the code arch neutral
  PCI: hv: Support for Hyper-V vPCI for ARM64
If you have occasion to post a v3, note that this is not correctly
threaded with patches as responses to the cover letter.  Thereore,
"b4 am MW4PR21MB200217CCFBC351FD12D68DF0C0B29@MW4PR21MB2002.namprd21.prod.outlook.com"
does not work to download this series.  See

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/5.Posting.rst?id=v5.14#n320

RE: [EXTERNAL] Re: [PATCH v2 0/2] PCI: hv: Hyper-V vPCI for ARM64

From: Sunil Muthuswamy <hidden>
Date: 2021-10-08 19:11:41

On Friday, October 8, 2021 11:52 AM
Bjorn Helgaas [off-list ref] wrote:
If you have occasion to post a v3, note that this is not correctly
threaded with patches as responses to the cover letter.  Thereore,
"b4 am
MW4PR21MB200217CCFBC351FD12D68DF0C0B29@MW4PR21MB2002.nampr
d21.prod.outlook.com"
does not work to download this series.  See
Yes, thanks for the heads up. Appears to me that Outlook doesn't work well with
patch series. I will setup the 'git send-email' and make sure that v3 is threaded
properly.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help