diff options
Diffstat (limited to 'Documentation/ramoops.txt')
-rw-r--r-- | Documentation/ramoops.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ramoops.txt b/Documentation/ramoops.txt index 470d2c4db6ff..4ba7db231cb2 100644 --- a/Documentation/ramoops.txt +++ b/Documentation/ramoops.txt | |||
@@ -30,6 +30,11 @@ variable while setting 0 in that variable dumps only the panics. | |||
30 | The module uses a counter to record multiple dumps but the counter gets reset | 30 | The module uses a counter to record multiple dumps but the counter gets reset |
31 | on restart (i.e. new dumps after the restart will overwrite old ones). | 31 | on restart (i.e. new dumps after the restart will overwrite old ones). |
32 | 32 | ||
33 | Ramoops also supports software ECC protection of persistent memory regions. | ||
34 | This might be useful when a hardware reset was used to bring the machine back | ||
35 | to life (i.e. a watchdog triggered). In such cases, RAM may be somewhat | ||
36 | corrupt, but usually it is restorable. | ||
37 | |||
33 | 2. Setting the parameters | 38 | 2. Setting the parameters |
34 | 39 | ||
35 | Setting the ramoops parameters can be done in 2 different manners: | 40 | Setting the ramoops parameters can be done in 2 different manners: |
@@ -46,6 +51,7 @@ static struct ramoops_platform_data ramoops_data = { | |||
46 | .mem_address = <...>, | 51 | .mem_address = <...>, |
47 | .record_size = <...>, | 52 | .record_size = <...>, |
48 | .dump_oops = <...>, | 53 | .dump_oops = <...>, |
54 | .ecc = <...>, | ||
49 | }; | 55 | }; |
50 | 56 | ||
51 | static struct platform_device ramoops_dev = { | 57 | static struct platform_device ramoops_dev = { |