Re: [PATCH] platform/chrome: Add pstore platform_device

From: Randy Dunlap
Date: Mon Nov 25 2013 - 15:04:38 EST


On 11/25/13 11:37, Olof Johansson wrote:
> Add the ramoops pstore device so that we get logs of panics across reboots.
>
> Signed-off-by: Olof Johansson <olof@xxxxxxxxx>
> ---
>
> drivers/platform/chrome/Kconfig | 14 +++++
> drivers/platform/chrome/Makefile | 1 +
> drivers/platform/chrome/chromeos_pstore.c | 101 ++++++++++++++++++++++++++++++
> 3 files changed, 116 insertions(+)
> create mode 100644 drivers/platform/chrome/chromeos_pstore.c
>
> diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig
> index b13303e75a34..06c53c8132ad 100644
> --- a/drivers/platform/chrome/Kconfig
> +++ b/drivers/platform/chrome/Kconfig
> @@ -25,4 +25,18 @@ config CHROMEOS_LAPTOP
> If you have a supported Chromebook, choose Y or M here.
> The module will be called chromeos_laptop.
>
> +config CHROMEOS_PSTORE
> + tristate "Chrome OS pstore support"
> + ---help---
> + This module instantiates the persistent storage on x86 ChromeOS
> + devices. It can be used to store away console logs and crash
> + information across reboots.
> +
> + The range of memory used is 0xf00000-0x1000000, tradionally the

traditionally

> + memory used to back VGA controller memory.
> +
> + If you have a supported Chromebook, choose Y or M here.
> + The module will be called chromeos_pstore.
> +
> +
> endif # CHROMEOS_PLATFORMS


--
~Randy
--
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/