driver: Google Memory Console
authorMike Waychison <mikew@google.com>
Sat, 30 Apr 2011 00:39:25 +0000 (17:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 30 Apr 2011 01:09:34 +0000 (18:09 -0700)
commite561bc45920aade3f8a5aad9058a00e750af1345
tree5bf37c0f90e764923a2585974930f2cd9812f0a2
parent74c5b31c6618f01079212332b2e5f6c42f2d6307
driver: Google Memory Console

This patch introduces the 'memconsole' driver.

Our firmware gives us access to an in-memory log of the firmware's
output.   This gives us visibility in a data-center of headless machines
as to what the firmware is doing.

The memory console is found by the driver by finding a header block in
the EBDA.  The buffer is then copied out, and is exported to userland in
the file /sys/firmware/log.

Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/testing/sysfs-firmware-log [new file with mode: 0644]
drivers/firmware/google/Kconfig
drivers/firmware/google/Makefile
drivers/firmware/google/memconsole.c [new file with mode: 0644]