diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-09-07 04:51:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-07 11:40:01 -0400 |
commit | 9f077871ce7237e2387fc76542b3b4033cb05e49 (patch) | |
tree | e9a32b88c71a86b478b61fe50d0cb66b10bad10c /Documentation | |
parent | bb577f980ef35e2b0d00aeed566724e5032aa5eb (diff) |
x86: clean up memory corruption check and add more kernel parameters
The corruption check is enabled in Kconfig by default, but disabled at runtime.
This patch adds several kernel parameters to control the corruption
check's behaviour; these are documented in kernel-parameters.txt.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index df48af505d15..6a2629d00598 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -360,11 +360,6 @@ and is between 256 and 4096 characters. It is defined in the file | |||
360 | Format: <io>,<irq>,<mode> | 360 | Format: <io>,<irq>,<mode> |
361 | See header of drivers/net/hamradio/baycom_ser_hdx.c. | 361 | See header of drivers/net/hamradio/baycom_ser_hdx.c. |
362 | 362 | ||
363 | bios_corruption_check=0/1 [X86] | ||
364 | Some BIOSes seem to corrupt the first 64k of memory | ||
365 | when doing things like suspend/resume. Setting this | ||
366 | option will scan the memory looking for corruption. | ||
367 | |||
368 | boot_delay= Milliseconds to delay each printk during boot. | 363 | boot_delay= Milliseconds to delay each printk during boot. |
369 | Values larger than 10 seconds (10000) are changed to | 364 | Values larger than 10 seconds (10000) are changed to |
370 | no delay (0). | 365 | no delay (0). |
@@ -1233,6 +1228,29 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1233 | or | 1228 | or |
1234 | memmap=0x10000$0x18690000 | 1229 | memmap=0x10000$0x18690000 |
1235 | 1230 | ||
1231 | memory_corruption_check=0/1 [X86] | ||
1232 | Some BIOSes seem to corrupt the first 64k of | ||
1233 | memory when doing things like suspend/resume. | ||
1234 | Setting this option will scan the memory | ||
1235 | looking for corruption. Enabling this will | ||
1236 | both detect corruption and prevent the kernel | ||
1237 | from using the memory being corrupted. | ||
1238 | However, its intended as a diagnostic tool; if | ||
1239 | repeatable BIOS-originated corruption always | ||
1240 | affects the same memory, you can use memmap= | ||
1241 | to prevent the kernel from using that memory. | ||
1242 | |||
1243 | memory_corruption_check_size=size [X86] | ||
1244 | By default it checks for corruption in the low | ||
1245 | 64k, making this memory unavailable for normal | ||
1246 | use. Use this parameter to scan for | ||
1247 | corruption in more or less memory. | ||
1248 | |||
1249 | memory_corruption_check_period=seconds [X86] | ||
1250 | By default it checks for corruption every 60 | ||
1251 | seconds. Use this parameter to check at some | ||
1252 | other rate. 0 disables periodic checking. | ||
1253 | |||
1236 | memtest= [KNL,X86] Enable memtest | 1254 | memtest= [KNL,X86] Enable memtest |
1237 | Format: <integer> | 1255 | Format: <integer> |
1238 | range: 0,4 : pattern number | 1256 | range: 0,4 : pattern number |