blob: d044de6ee3080aa14268d8610effbd2338d9a764 [file] [log] [blame]
Tony Luckca01d6d2010-12-28 14:25:21 -08001config PSTORE
Lucas De Marchi25985ed2011-03-30 22:57:33 -03002 bool "Persistent store support"
Tony Luckca01d6d2010-12-28 14:25:21 -08003 default n
4 help
5 This option enables generic access to platform level
6 persistent storage via "pstore" filesystem that can
7 be mounted as /dev/pstore. Only useful if you have
8 a platform level driver that registers with pstore to
9 provide the data, so you probably should just go say "Y"
10 (or "M") to a platform specific persistent store driver
11 (e.g. ACPI_APEI on X86) which will select this for you.
12 If you don't have a platform persistent store driver,
13 say N.
Anton Vorontsov1894a252012-05-16 05:43:08 -070014
Anton Vorontsovf29e5952012-05-26 06:20:19 -070015config PSTORE_CONSOLE
16 bool "Log kernel console messages"
17 depends on PSTORE
18 help
19 When the option is enabled, pstore will log all kernel
20 messages, even if no oops or panic happened.
21
Anton Vorontsov1894a252012-05-16 05:43:08 -070022config PSTORE_RAM
23 tristate "Log panic/oops to a RAM buffer"
Anton Vorontsov1894a252012-05-16 05:43:08 -070024 depends on PSTORE
Anton Vorontsovcddb8752012-05-17 00:15:08 -070025 depends on HAS_IOMEM
26 depends on HAVE_MEMBLOCK
27 select REED_SOLOMON
28 select REED_SOLOMON_ENC8
29 select REED_SOLOMON_DEC8
Anton Vorontsov1894a252012-05-16 05:43:08 -070030 help
31 This enables panic and oops messages to be logged to a circular
32 buffer in RAM where it can be read back at some later point.
33
34 Note that for historical reasons, the module will be named
35 "ramoops.ko".
36
37 For more information, see Documentation/ramoops.txt.