]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: pstore: probe for ramoops buffer using acpi
authorAaron Durbin <adurbin@chromium.org>
Tue, 16 Feb 2016 07:25:15 +0000 (08:25 +0100)
committerOlof Johansson <olof@lixom.net>
Wed, 11 May 2016 18:55:46 +0000 (11:55 -0700)
commit59a356d2f1e6e2fbb700c9a9cda1658f5934c7d2
tree9e9c793ca0de797f7b4b0cc49f86ac1b87a32792
parentbff3c624dc7261a084a4d25a0b09c3fb0fec872a
platform/chrome: pstore: probe for ramoops buffer using acpi

In order to handle the firmware placing the ramoops buffer
in a different location than the kernel is configured to look
probe for an ACPI device specified by GOOG9999 acpi id. If
no device is found or the first memory resource is not defined
properly fall back to the configured base and length.

Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Filipe Brandenburger <filbranden@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/chromeos_pstore.c