> From: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> > Sent: Wednesday, March 9, 2022 2:49 AM > > From: Longfang Liu <liulongfang@xxxxxxxxxx> > > 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. > > Just like ACC PF/VF drivers this VFIO driver also make use of the HiSilicon > QM interface. QM stands for Queue Management which is a generic IP used > by > ACC devices. It provides a generic PCIe interface for the CPU and the ACC > devices to share a group of queues. > > QM integrated into an accelerator provides queue management service. > Queues can be assigned to PF and VFs, and queues can be controlled by > unified mailboxes and doorbells. > > The QM driver (drivers/crypto/hisilicon/qm.c) provides generic > interfaces to ACC drivers to manage the QM. > > Signed-off-by: Longfang Liu <liulongfang@xxxxxxxxxx> > Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> > Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@xxxxxxxxxx> Except the stuff before hisi_acc_vf_disable_fd() which is very QM specific: Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> Thanks Kevin