OSDN Git Service

PCI: hv: Add arm64 Hyper-V vPCI support
authorSunil Muthuswamy <sunilmut@microsoft.com>
Wed, 5 Jan 2022 19:32:36 +0000 (11:32 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Jan 2022 14:24:29 +0000 (08:24 -0600)
commitd9932b46915664c88709d59927fa67e797adec56
tree85805ea0c8fb3a114fb3e3417b303804bff933a0
parent831c1ae725f7d2f8f858b0840692b48e75b49331
PCI: hv: Add arm64 Hyper-V vPCI support

Add arm64 Hyper-V vPCI support by implementing the arch specific
interfaces. Introduce an IRQ domain and chip specific to Hyper-v vPCI that
is based on SPIs. The IRQ domain parents itself to the arch GIC IRQ domain
for basic vector management.

[bhelgaas: squash in fix from Yang Li <yang.lee@linux.alibaba.com>:
https://lore.kernel.org/r/20220112003324.62755-1-yang.lee@linux.alibaba.com]
Link: https://lore.kernel.org/r/1641411156-31705-3-git-send-email-sunilmut@linux.microsoft.com
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
arch/arm64/include/asm/hyperv-tlfs.h
drivers/pci/Kconfig
drivers/pci/controller/Kconfig
drivers/pci/controller/pci-hyperv.c