Re: [PATCH] sparc64: Expose mdesc to sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Eric Saint Etienne <eric.saint.etienne@xxxxxxxxxx>
Date: Mon, 18 Sep 2017 15:23:57 +0100

> The aim of this patch is to ease browsing mdesc and implement
> utilities like lshw. If you look at lshw sources, you'll see that they
> make a real huge use of sysfs, the only binary device they use is for
> DMI tables (via /dev/dmi if present, or by directly accessing mmap'ed
> physical memory otherwise)

So you're telling me that there is support for image based handling in
the tool for the sake of DMI, so the tool could therefore just as
easily handle the current mdesc export format as well.

> Also, since mdesc is basically a tree it maps well to a filesystem
> structure like sysfs.

We don't export identical information two different ways in the kernel.

We have /dev/mdesc already.

For the other cases, sysfs was done first.  It wasn't duplicating an
existing mechanism.

I still stand by my decision, sorry.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux