OSDN Git Service

PCI: hv: Make the code arch neutral by adding arch specific interfaces
authorSunil Muthuswamy <sunilmut@microsoft.com>
Wed, 5 Jan 2022 19:32:35 +0000 (11:32 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Jan 2022 14:21:54 +0000 (08:21 -0600)
commit831c1ae725f7d2f8f858b0840692b48e75b49331
treed302828f165b0f1b36f7182c429a0a4317b4b7f5
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
PCI: hv: Make the code arch neutral by adding arch specific interfaces

Encapsulate arch dependencies in Hyper-V vPCI through a set of
arch-dependent interfaces. Adding these arch specific interfaces will
allow for an implementation for other architectures, such as arm64.

There are no functional changes expected from this patch.

Link: https://lore.kernel.org/r/1641411156-31705-2-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: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
arch/x86/include/asm/hyperv-tlfs.h
arch/x86/include/asm/mshyperv.h
drivers/pci/controller/pci-hyperv.c
include/asm-generic/hyperv-tlfs.h