[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220304205720.GE219866@nvidia.com>
Date: Fri, 4 Mar 2022 16:57:20 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-pci@...r.kernel.org,
alex.williamson@...hat.com, cohuck@...hat.com,
mgurtovoy@...dia.com, yishaih@...dia.com, linuxarm@...wei.com,
liulongfang@...wei.com, prime.zeng@...ilicon.com,
jonathan.cameron@...wei.com, wangzhou1@...ilicon.com
Subject: Re: [PATCH v8 8/9] hisi_acc_vfio_pci: Add support for VFIO live
migration
On Thu, Mar 03, 2022 at 11:01:30PM +0000, Shameer Kolothum wrote:
> From: Longfang Liu <liulongfang@...wei.com>
>
> VMs assigned with HiSilicon ACC VF devices can now perform live migration
> if the VF devices are bind to the hisi_acc_vfio_pci driver.
>
> Signed-off-by: Longfang Liu <liulongfang@...wei.com>
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@...wei.com>
> ---
> drivers/vfio/pci/hisilicon/Kconfig | 7 +
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 1078 ++++++++++++++++-
> .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 114 ++
> 3 files changed, 1181 insertions(+), 18 deletions(-)
> create mode 100644 drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.h
>
> diff --git a/drivers/vfio/pci/hisilicon/Kconfig b/drivers/vfio/pci/hisilicon/Kconfig
> index dc723bad05c2..2a68d39f339f 100644
> --- a/drivers/vfio/pci/hisilicon/Kconfig
> +++ b/drivers/vfio/pci/hisilicon/Kconfig
> @@ -3,6 +3,13 @@ config HISI_ACC_VFIO_PCI
> tristate "VFIO PCI support for HiSilicon ACC devices"
> depends on ARM64 || (COMPILE_TEST && 64BIT)
> depends on VFIO_PCI_CORE
> + depends on PCI && PCI_MSI
PCI is already in the depends from the 2nd line in
drivers/vfio/pci/Kconfig, but it is harmless
> + depends on UACCE || UACCE=n
> + depends on ACPI
Scratching my head a bit on why we have these
Looks OK though:
Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
Jason
Powered by blists - more mailing lists