]> git.ipfire.org Git - thirdparty/linux.git/commit
hisi_acc_vfio_pci: Add .match_token_uuid callback in hisi_acc_vfio_pci_migrn_ops
authorRaghavendra Rao Ananta <rananta@google.com>
Fri, 31 Oct 2025 17:06:03 +0000 (17:06 +0000)
committerAlex Williamson <alex@shazbot.org>
Thu, 6 Nov 2025 21:42:04 +0000 (14:42 -0700)
commit0ed3a30fd996cb0cac872432cf25185fda7e5316
treeba8c5f87cbe432b4b3e8cd4228077e8e111255fe
parent2f03f21fe7516902283b135de272d3c7b10672de
hisi_acc_vfio_pci: Add .match_token_uuid callback in hisi_acc_vfio_pci_migrn_ops

The commit, <86624ba3b522> ("vfio/pci: Do vf_token checks for
VFIO_DEVICE_BIND_IOMMUFD") accidentally ignored including the
.match_token_uuid callback in the hisi_acc_vfio_pci_migrn_ops struct.
Introduce the missed callback here.

Fixes: 86624ba3b522 ("vfio/pci: Do vf_token checks for VFIO_DEVICE_BIND_IOMMUFD")
Cc: stable@vger.kernel.org
Suggested-by: Longfang Liu <liulongfang@huawei.com>
Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20251031170603.2260022-3-rananta@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c