| .. | .. |
|---|
| 30 | 30 | - ecc-size: enables ECC support and specifies ECC buffer size in bytes |
|---|
| 31 | 31 | (defaults to 0: no ECC) |
|---|
| 32 | 32 | |
|---|
| 33 | | -- record-size: maximum size in bytes of each dump done on oops/panic |
|---|
| 33 | +- record-size: maximum size in bytes of each kmsg dump. |
|---|
| 34 | 34 | (defaults to 0: disabled) |
|---|
| 35 | 35 | |
|---|
| 36 | 36 | - console-size: size in bytes of log buffer reserved for kernel messages |
|---|
| .. | .. |
|---|
| 42 | 42 | - pmsg-size: size in bytes of log buffer reserved for userspace messages |
|---|
| 43 | 43 | (defaults to 0: disabled) |
|---|
| 44 | 44 | |
|---|
| 45 | | -- unbuffered: if present, use unbuffered mappings to map the reserved region |
|---|
| 46 | | - (defaults to buffered mappings) |
|---|
| 45 | +- mem-type: if present, sets the type of mapping is to be used to map the |
|---|
| 46 | + reserved region. mem-type: 0 = write-combined (default), 1 = unbuffered, |
|---|
| 47 | + 2 = cached. |
|---|
| 47 | 48 | |
|---|
| 48 | | -- no-dump-oops: if present, only dump panics (defaults to panics and oops) |
|---|
| 49 | +- unbuffered: deprecated, use mem_type instead. if present, and mem_type is |
|---|
| 50 | + not specified, it is equivalent to mem_type = 1 and uses unbuffered mappings |
|---|
| 51 | + to map the reserved region (defaults to buffered mappings mem_type = 0). If |
|---|
| 52 | + both are specified -- "mem_type" overrides "unbuffered". |
|---|
| 53 | + |
|---|
| 54 | +- max-reason: if present, sets maximum type of kmsg dump reasons to store |
|---|
| 55 | + (defaults to 2: log Oopses and Panics). This can be set to INT_MAX to |
|---|
| 56 | + store all kmsg dumps. See include/linux/kmsg_dump.h KMSG_DUMP_* for other |
|---|
| 57 | + kmsg dump reason values. Setting this to 0 (KMSG_DUMP_UNDEF), means the |
|---|
| 58 | + reason filtering will be controlled by the printk.always_kmsg_dump boot |
|---|
| 59 | + param: if unset, it will be KMSG_DUMP_OOPS, otherwise KMSG_DUMP_MAX. |
|---|
| 60 | + |
|---|
| 61 | +- no-dump-oops: deprecated, use max_reason instead. If present, and |
|---|
| 62 | + max_reason is not specified, it is equivalent to max_reason = 1 |
|---|
| 63 | + (KMSG_DUMP_PANIC). |
|---|
| 49 | 64 | |
|---|
| 50 | 65 | - flags: if present, pass ramoops behavioral flags (defaults to 0, |
|---|
| 51 | 66 | see include/linux/pstore_ram.h RAMOOPS_FLAG_* for flag values). |
|---|