Re: [PATCH v8 3/5] hisi_acc_vfio_pci: register debugfs for hisilicon migration driver
From: Jason Gunthorpe
Date: Fri Mar 10 2023 - 12:24:01 EST
On Fri, Feb 17, 2023 at 04:48:29PM +0800, Longfang Liu wrote:
> +static int hisi_acc_vfio_debug_init(struct hisi_acc_vf_core_device *hisi_acc_vdev)
> +{
> + struct vfio_device *vdev = &hisi_acc_vdev->core_device.vdev;
> + struct device *dev = vdev->dev;
> + void *migf = NULL;
> +
> + if (!debugfs_initialized())
> + return 0;
> +
> + vfio_vf_debugfs_init(vdev);
This is weirdly named with _vf_, this is just
vfio_device_debufs_init()
Jason