Re: [PATCH v8 3/5] hisi_acc_vfio_pci: register debugfs for hisilicon migration driver

From: Alex Williamson
Date: Sat Mar 18 2023 - 10:38:59 EST


On Sat, 18 Mar 2023 17:07:38 +0800
liulongfang <liulongfang@xxxxxxxxxx> wrote:

> On 2023/3/14 23:17, Alex Williamson wrote:
> > I was thinking:
> >
> > vfio
> > ├── <name1>
> > │   └── migration
> > │   ├── hisi_acc
> > │   │   ├── attr
> > │   │   ├── data
> > │   │   └── debug
> > │   └── state
> > └── <name2>
> > └── migration
> > ├── hisi_acc
> > │   ├── attr
> > │   ├── data
> > │   └── debug
> > └── state
> >
> > My concern is that if {attr,data,debug} have driver specific
> > definitions, they should have their own driver specific namespace.
> > Thanks,
> >
>
> Do <name1> and <name1> refer to dev_name()?

Yes

> Is the file name "hisi_acc" defined by the driver?

Yes, this is the drive defined namespace. Thanks,

Alex