Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[firefly-linux-kernel-4.4.55.git] / fs / pstore / Kconfig
index 8007ae7c0d8c40c0be9bba7f5f62cfc83390f69c..23ade2680a4a8da8e55ffb01a86c229b365bf5ee 100644 (file)
@@ -11,3 +11,20 @@ config PSTORE
           (e.g. ACPI_APEI on X86) which will select this for you.
           If you don't have a platform persistent store driver,
           say N.
+
+config PSTORE_RAM
+       tristate "Log panic/oops to a RAM buffer"
+       depends on PSTORE
+       depends on HAS_IOMEM
+       depends on HAVE_MEMBLOCK
+       select REED_SOLOMON
+       select REED_SOLOMON_ENC8
+       select REED_SOLOMON_DEC8
+       help
+         This enables panic and oops messages to be logged to a circular
+         buffer in RAM where it can be read back at some later point.
+
+         Note that for historical reasons, the module will be named
+         "ramoops.ko".
+
+         For more information, see Documentation/ramoops.txt.