Commit ee3a5b23 authored by Shameer Kolothum's avatar Shameer Kolothum Committed by Alex Williamson
Browse files

hisi_acc_vfio_pci: add new vfio_pci driver for HiSilicon ACC devices



Add a vendor-specific vfio_pci driver for HiSilicon ACC devices.
This will be extended in subsequent patches to add support for VFIO
live migration feature.

Signed-off-by: default avatarShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20220308184902.2242-5-shameerali.kolothum.thodi@huawei.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent fae74fea
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -20305,6 +20305,13 @@ L: kvm@vger.kernel.org
S:	Maintained
F:	drivers/vfio/fsl-mc/
VFIO HISILICON PCI DRIVER
M:	Longfang Liu <liulongfang@huawei.com>
M:	Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
L:	kvm@vger.kernel.org
S:	Maintained
F:	drivers/vfio/pci/hisilicon/
VFIO MEDIATED DEVICE DRIVERS
M:	Kirti Wankhede <kwankhede@nvidia.com>
L:	kvm@vger.kernel.org
+2 −0
Original line number Diff line number Diff line
@@ -46,4 +46,6 @@ endif

source "drivers/vfio/pci/mlx5/Kconfig"

source "drivers/vfio/pci/hisilicon/Kconfig"

endif
+2 −0
Original line number Diff line number Diff line
@@ -9,3 +9,5 @@ vfio-pci-$(CONFIG_VFIO_PCI_IGD) += vfio_pci_igd.o
obj-$(CONFIG_VFIO_PCI) += vfio-pci.o

obj-$(CONFIG_MLX5_VFIO_PCI)           += mlx5/

obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisilicon/
+10 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config HISI_ACC_VFIO_PCI
	tristate "VFIO PCI support for HiSilicon ACC devices"
	depends on ARM64 || (COMPILE_TEST && 64BIT)
	depends on VFIO_PCI_CORE
	help
	  This provides generic PCI support for HiSilicon ACC devices
	  using the VFIO framework.

	  If you don't know what to do here, say N.
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_HISI_ACC_VFIO_PCI) += hisi-acc-vfio-pci.o
hisi-acc-vfio-pci-y := hisi_acc_vfio_pci.o
Loading