Re: [RFC] EDAC and the sysfs
From: Greg KH
Date: Tue Nov 15 2005 - 12:40:14 EST
On Mon, Nov 14, 2005 at 07:30:26PM -0500, Dave Jones wrote:
> On Mon, Nov 14, 2005 at 02:31:05PM -0800, Greg Kroah-Hartman wrote:
> > On Mon, Nov 14, 2005 at 02:14:19PM -0800, Doug Thompson wrote:
> > >
> > > I am trying to design the sysfs interface tree for the
> > > new set of EDAC modules that are waiting for this
> > > interface, before being put into the kernel.
> > >
> > > Currently the original EDAC (bluesmoke) has its own
> > > /proc directory (/proc/mc) with files and a directory
> > > (0,1,2,...)for each memory controller on the system.
> > > This will be removed and the new information interface
> > > will be placed in the sysfs.
> > >
> > > One proposal is to place the information in
> > > /sys/devices/system in the following directories:
> >
> > Why not use /sys/firmware/ instead?
>
> Probably the same reason we don't have the cpufreq (for eg)
> stuff under /sys/firmware. Because it's poking hardware,
> not manipulating firmware.
>
> /sys/devices/system makes a lot more sense, as thats
> where the cpu level machine check stuff is (amongst other
> similar things).
Ok, that does make sense, thanks for explaining it.
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/