]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
firmware: Break out system_event_log in dmi-sysfs
authorMike Waychison <mikew@google.com>
Wed, 23 Feb 2011 01:53:26 +0000 (17:53 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Feb 2011 20:02:13 +0000 (12:02 -0800)
commit925a1da7477fc4ba5849c6f0243934fa5072493c
tree969e9b156cc5a027de3f44c2936d140857eb39a6
parent948af1f0bbc8526448e8cbe3f8d3bf211bdf5181
firmware: Break out system_event_log in dmi-sysfs

The optional type 15 entry of the DMI table describes a non-volatile
storage-backed system event log.

In preparation for the next commit which exposes the raw bits of the
event log to userland, create a new sub-directory within the dmi entry
called "system_event_log" and expose attribute files that describe the
event log itself.

Currently, only a single child object is permitted within a
dmi_sysfs_entry.  We simply point at this child from the dmi_sysfs_entry
if it exists.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/dmi-sysfs.c