[PATCH v12 0/2] update live migration configuration region

Longfang Liu posted 2 patches 1 month, 2 weeks ago
drivers/crypto/hisilicon/qm.c                 |  27 ++++
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.c    | 130 +++++++++++++-----
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.h    |  23 +++-
include/linux/hisi_acc_qm.h                   |   3 +
4 files changed, 144 insertions(+), 39 deletions(-)
[PATCH v12 0/2] update live migration configuration region
Posted by Longfang Liu 1 month, 2 weeks ago
On the new hardware platform, the configuration register space
of the live migration function is set on the PF, while on the
old platform, this part is placed on the VF.

Change v11 -> v12
	Standardize register BIT operations

Change v10 -> v11
	Remove redundant register read/write helper functions

Change v9 -> v10
	Update the name of the configuration mode

Change v8 -> v9
	Update the version name for driver matching

Change v7 -> v8
	Resolve hardware compatibility issues.

Change v6 -> v7
	Update the comment of the live migration configuration scheme.

Change v5 -> v6
	Update VF device properties

Change v4 -> v5
	Remove BAR length alignment

Change v3 -> v4
	Rebase on kernel 6.15

Change v2 -> v3
	Put the changes of Pre_Copy into another bugfix patchset.

Change v1 -> v2
	Delete the vf_qm_state read operation in Pre_Copy

Longfang Liu (2):
  crypto: hisilicon - qm updates BAR configuration
  hisi_acc_vfio_pci: adapt to new migration configuration

 drivers/crypto/hisilicon/qm.c                 |  27 ++++
 .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c    | 130 +++++++++++++-----
 .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h    |  23 +++-
 include/linux/hisi_acc_qm.h                   |   3 +
 4 files changed, 144 insertions(+), 39 deletions(-)

-- 
2.33.0
Re: [PATCH v12 0/2] update live migration configuration region
Posted by Alex Williamson 1 month ago
On Thu, 30 Oct 2025 09:57:42 +0800
Longfang Liu <liulongfang@huawei.com> wrote:

> On the new hardware platform, the configuration register space
> of the live migration function is set on the PF, while on the
> old platform, this part is placed on the VF.
> 
> Change v11 -> v12
> 	Standardize register BIT operations
...
> 
> Longfang Liu (2):
>   crypto: hisilicon - qm updates BAR configuration
>   hisi_acc_vfio_pci: adapt to new migration configuration
> 
>  drivers/crypto/hisilicon/qm.c                 |  27 ++++
>  .../vfio/pci/hisilicon/hisi_acc_vfio_pci.c    | 130 +++++++++++++-----
>  .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h    |  23 +++-
>  include/linux/hisi_acc_qm.h                   |   3 +
>  4 files changed, 144 insertions(+), 39 deletions(-)

Applied to vfio next branch for v6.19 with discussed enum field change.
Thanks,

Alex