lkml.org 
[lkml]   [2023]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] PCI/DOE: Expose the DOE protocols via sysfs
On Fri, Aug 04, 2023 at 11:17:59AM -0400, Alistair Francis wrote:
> On Wed, Aug 2, 2023 at 6:52???PM Lukas Wunner <lukas@wunner.de> wrote:
> > I kind of like the approach of exposing a list which can be grep'ed,
> > even though it may go against the rule of having just one datum per
> > attribute. I'd prefer a representation that's human-readable though,
> > e.g. "0001:01" for CMA-SPDM.
>
> Yeah, it's my preferred method as well, but it's not going to be
> accepted upstream

How about procfs instead of sysfs?

No "single datum per file" rule over there.
PCI content goes into /proc/bus/pci/.
Already used by lspci to access config space.

Thanks,

Lukas

\
 
 \ /
  Last update: 2023-08-04 18:06    [W:0.028 / U:1.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site