Merge branch 'i2c/for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[deliverable/linux.git] / Documentation / devicetree / bindings / misc / ramoops.txt
CommitLineData
35da6094
GH
1Ramoops oops/panic logger
2=========================
3
4ramoops provides persistent RAM storage for oops and panics, so they can be
5recovered after a reboot. It is a backend to pstore, so this node is named
6"ramoops" after the backend, rather than "pstore" which is the subsystem.
7
8Parts of this storage may be set aside for other persistent log buffers, such
9as kernel log messages, or for optional ECC error-correction data. The total
10size of these optional buffers must fit in the reserved region.
11
12Any remaining space will be used for a circular buffer of oops and panic
13records. These records have a configurable size, with a size of 0 indicating
14that they should be disabled.
15
16At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size"
17must be set non-zero, but are otherwise optional as listed below.
18
19
20Required properties:
21
22- compatible: must be "ramoops"
23
24- memory-region: phandle to a region of memory that is preserved between
25 reboots
26
27
28Optional properties:
29
30- ecc-size: enables ECC support and specifies ECC buffer size in bytes
31 (defaults to 0: no ECC)
32
33- record-size: maximum size in bytes of each dump done on oops/panic
34 (defaults to 0: disabled)
35
36- console-size: size in bytes of log buffer reserved for kernel messages
37 (defaults to 0: disabled)
38
39- ftrace-size: size in bytes of log buffer reserved for function tracing and
40 profiling (defaults to 0: disabled)
41
42- pmsg-size: size in bytes of log buffer reserved for userspace messages
43 (defaults to 0: disabled)
44
45- unbuffered: if present, use unbuffered mappings to map the reserved region
46 (defaults to buffered mappings)
47
48- no-dump-oops: if present, only dump panics (defaults to panics and oops)
This page took 0.029604 seconds and 5 git commands to generate.