Re: [PATCH v9 10/17] PCI: endpoint: Allow user to create sub-directory of 'EPF Device' directory
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-01-19 18:43:04
Also in:
linux-pci, lkml
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-01-19 18:43:04
Also in:
linux-pci, lkml
On Tue, Jan 19, 2021 at 12:34:05PM -0600, Bjorn Helgaas wrote:
[cc->to Greg] On Mon, Jan 04, 2021 at 08:59:02PM +0530, Kishon Vijay Abraham I wrote:quoted
Documentation/PCI/endpoint/pci-endpoint-cfs.rst explains how a user has to create a directory in-order to create a 'EPF Device' that can be configured/probed by 'EPF Driver'. Allow user to create a sub-directory of 'EPF Device' directory for any function specific attributes that has to be exposed to the user.Maybe add an example sysfs path in the commit log? Seems like there's restriction on hierarchy depth in sysfs, but I don't remember the details. Moved Greg to "to" in case he wants to comment.
This is configfs, not sysfs, so I really do not know, sorry. greg k-h