linux/drivers/vfio/pci/pds
Shixiong Ou 27004f89b0 vfio/pds: Use proper PF device access helper
The pci_physfn() helper exists to support cases where the physfn
field may not be compiled into the pci_dev structure. We've
declared this driver dependent on PCI_IOV to avoid this problem,
but regardless we should follow the precedent not to access this
field directly.

Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230914021332.1929155-1-oushixiong@kylinos.cn
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2023-09-18 13:36:53 -06:00
..
cmds.c vfio/pds: Send type for SUSPEND_STATUS command 2023-08-22 13:11:57 -06:00
cmds.h vfio/pds: Add support for dirty page tracking 2023-08-16 10:54:46 -06:00
dirty.c vfio/pds: Add support for dirty page tracking 2023-08-16 10:54:46 -06:00
dirty.h vfio/pds: Add support for dirty page tracking 2023-08-16 10:54:46 -06:00
Kconfig vfio/pds: Add missing PCI_IOV depends 2023-09-18 13:36:52 -06:00
lm.c vfio/pds: fix return value in pds_vfio_get_lm_file() 2023-08-21 08:50:33 -06:00
lm.h vfio/pds: Add VFIO live migration support 2023-08-16 10:53:26 -06:00
Makefile vfio/pds: Add support for dirty page tracking 2023-08-16 10:54:46 -06:00
pci_drv.c vfio/pds: Add support for firmware recovery 2023-08-16 10:54:54 -06:00
pci_drv.h
vfio_dev.c vfio/pds: Use proper PF device access helper 2023-09-18 13:36:53 -06:00
vfio_dev.h vfio/pds: Add support for firmware recovery 2023-08-16 10:54:54 -06:00