Re: SMBIOS / DMI Event Logs in Linux?

From: Mike Waychison
Date: Fri Feb 11 2011 - 13:01:08 EST


resend as plain text, sorry :(


On Thu, Feb 10, 2011 at 7:20 PM, Greg KH <greg@xxxxxxxxx> wrote:
> Wait, if this is just a simple "pass through to the hardware", then just
> export the thing, with the proper permissions, in a single binary sysfs
> file, and do the parsing in userspace.
>

If you mean s/hardware/firmware/, then yes.

>
> That would be the simplest thing to do, and fit the rules for valid
> sysfs files, and keep people from having to dig through /dev/mem, right?

Yup, exposing the log via a bin_attribute and allowing for blobs to be
appended (with the firmware either accepting or rejecting the format
will do).
--
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/