vfio/pds: Initial support for pds VFIO driver
authorBrett Creeley <brett.creeley@amd.com>
Mon, 7 Aug 2023 20:57:49 +0000 (13:57 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 16 Aug 2023 16:53:00 +0000 (10:53 -0600)
commit38fe3975b4c2c5eeefb543e09f9620da18b0d069
treece29ddb93284a18922fe100b29c88e2ed540d628
parent9a4087fab303e7923ab839a6fe35059659a54649
vfio/pds: Initial support for pds VFIO driver

This is the initial framework for the new pds-vfio-pci device driver.
This does the very basics of registering the PDS PCI device and
configuring it as a VFIO PCI device.

With this change, the VF device can be bound to the pds-vfio-pci driver
on the host and presented to the VM as an ethernet VF.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20230807205755.29579-3-brett.creeley@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/Makefile
drivers/vfio/pci/pds/Makefile [new file with mode: 0644]
drivers/vfio/pci/pds/pci_drv.c [new file with mode: 0644]
drivers/vfio/pci/pds/vfio_dev.c [new file with mode: 0644]
drivers/vfio/pci/pds/vfio_dev.h [new file with mode: 0644]