aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-21 16:06:49 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-21 16:06:49 -0400
commit781c5a67f152c17c3e4a9ed9647f8c0be6ea5ae9 (patch)
tree5cba2f98482e4612e4daf8e57e4e50a24a273fe9 /arch/x86/Kconfig
parente990c77d06dbacc8e5c5edd2c4a1005d318a4fa6 (diff)
parent9ea77bdb39b62c9bf9fd3cdd1c25a9420bccd380 (diff)
Merge branch 'x86-bios-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-bios-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86, bios: Make the x86 early memory reservation a kernel option x86, bios: By default, reserve the low 64K for all BIOSes
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig47
1 files changed, 28 insertions, 19 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a1bd569f6c5a..b8676498d8df 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1341,25 +1341,34 @@ config X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK
1341 Set whether the default state of memory_corruption_check is 1341 Set whether the default state of memory_corruption_check is
1342 on or off. 1342 on or off.
1343 1343
1344config X86_RESERVE_LOW_64K 1344config X86_RESERVE_LOW
1345 bool "Reserve low 64K of RAM on AMI/Phoenix BIOSen" 1345 int "Amount of low memory, in kilobytes, to reserve for the BIOS"
1346 default y 1346 default 64
1347 ---help--- 1347 range 4 640
1348 Reserve the first 64K of physical RAM on BIOSes that are known 1348 ---help---
1349 to potentially corrupt that memory range. A numbers of BIOSes are 1349 Specify the amount of low memory to reserve for the BIOS.
1350 known to utilize this area during suspend/resume, so it must not 1350
1351 be used by the kernel. 1351 The first page contains BIOS data structures that the kernel
1352 1352 must not use, so that page must always be reserved.
1353 Set this to N if you are absolutely sure that you trust the BIOS 1353
1354 to get all its memory reservations and usages right. 1354 By default we reserve the first 64K of physical RAM, as a
1355 1355 number of BIOSes are known to corrupt that memory range
1356 If you have doubts about the BIOS (e.g. suspend/resume does not 1356 during events such as suspend/resume or monitor cable
1357 work or there's kernel crashes after certain hardware hotplug 1357 insertion, so it must not be used by the kernel.
1358 events) and it's not AMI or Phoenix, then you might want to enable 1358
1359 X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check typical 1359 You can set this to 4 if you are absolutely sure that you
1360 corruption patterns. 1360 trust the BIOS to get all its memory reservations and usages
1361 1361 right. If you know your BIOS have problems beyond the
1362 Say Y if unsure. 1362 default 64K area, you can set this to 640 to avoid using the
1363 entire low memory range.
1364
1365 If you have doubts about the BIOS (e.g. suspend/resume does
1366 not work or there's kernel crashes after certain hardware
1367 hotplug events) then you might want to enable
1368 X86_CHECK_BIOS_CORRUPTION=y to allow the kernel to check
1369 typical corruption patterns.
1370
1371 Leave this to the default value of 64 if you are unsure.
1363 1372
1364config MATH_EMULATION 1373config MATH_EMULATION
1365 bool 1374 bool