OSDN Git Service

firmware: google: memconsole: Adapt to new coreboot ring buffer format
authorJulius Werner <jwerner@chromium.org>
Tue, 2 May 2017 22:16:30 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:59:06 +0000 (16:59 +0200)
commita5061d028594a31dbf70f4554e0b7d83e5ce770f
tree17c81a52d01c5cdd66f3ab3d41f741f43e7dc084
parent7918cfc46cfad784b2aafdbbc690a96af0ae78d0
firmware: google: memconsole: Adapt to new coreboot ring buffer format

The upstream coreboot implementation of memconsole was enhanced from a
single-boot console to a persistent ring buffer
(https://review.coreboot.org/#/c/18301). This patch changes the kernel
memconsole driver to be able to read the new format in all cases.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/memconsole-coreboot.c