[PATCH 0/2] fix two issues related to the driver.
Longfang Liu <[email protected]> Mon, 3 Aug 2026 10:18:55 +0800
| Newsgroups | org.kernel.vger.kvm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This series fixes two issues in the HiSilicon ACC VFIO migration
driver: a calltrace when a PF is passed through to a VM and migrated,
guarded by NULL pf_qm checks and pdev->is_virtfn selection; and VF
BAR2 mmap rejection on 64KB-page kernels, fixed by aligning the mmap
boundary to PAGE_SIZE while keeping byte-granular read/write
truncation. Build-tested and functionally verified.
Longfang Liu (2):
hisi_acc_vfio_pci: fix live migration enable conditions for PF
passthrough
hisi_acc_vfio_pci: fix VF BAR2 mmap on 64KB page size
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 61 +++++++++++++++----
1 file changed, 50 insertions(+), 11 deletions(-)
--
2.43.0