diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 282 |
1 files changed, 177 insertions, 105 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e0edaaa6920a..2642b4bf41b9 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -23,6 +23,8 @@ config X86 | |||
23 | select HAVE_OPROFILE | 23 | select HAVE_OPROFILE |
24 | select HAVE_KPROBES | 24 | select HAVE_KPROBES |
25 | select HAVE_KRETPROBES | 25 | select HAVE_KRETPROBES |
26 | select HAVE_DYNAMIC_FTRACE | ||
27 | select HAVE_FTRACE | ||
26 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) | 28 | select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) |
27 | select HAVE_ARCH_KGDB if !X86_VOYAGER | 29 | select HAVE_ARCH_KGDB if !X86_VOYAGER |
28 | 30 | ||
@@ -121,7 +123,7 @@ config ARCH_HAS_CACHE_LINE_SIZE | |||
121 | def_bool y | 123 | def_bool y |
122 | 124 | ||
123 | config HAVE_SETUP_PER_CPU_AREA | 125 | config HAVE_SETUP_PER_CPU_AREA |
124 | def_bool X86_64 || (X86_SMP && !X86_VOYAGER) | 126 | def_bool X86_64_SMP || (X86_SMP && !X86_VOYAGER) |
125 | 127 | ||
126 | config HAVE_CPUMASK_OF_CPU_MAP | 128 | config HAVE_CPUMASK_OF_CPU_MAP |
127 | def_bool X86_64_SMP | 129 | def_bool X86_64_SMP |
@@ -181,12 +183,12 @@ config X86_64_SMP | |||
181 | config X86_HT | 183 | config X86_HT |
182 | bool | 184 | bool |
183 | depends on SMP | 185 | depends on SMP |
184 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || X86_64 | 186 | depends on (X86_32 && !X86_VOYAGER) || X86_64 |
185 | default y | 187 | default y |
186 | 188 | ||
187 | config X86_BIOS_REBOOT | 189 | config X86_BIOS_REBOOT |
188 | bool | 190 | bool |
189 | depends on !X86_VISWS && !X86_VOYAGER | 191 | depends on !X86_VOYAGER |
190 | default y | 192 | default y |
191 | 193 | ||
192 | config X86_TRAMPOLINE | 194 | config X86_TRAMPOLINE |
@@ -230,6 +232,26 @@ config SMP | |||
230 | 232 | ||
231 | If you don't know what to do here, say N. | 233 | If you don't know what to do here, say N. |
232 | 234 | ||
235 | config X86_FIND_SMP_CONFIG | ||
236 | def_bool y | ||
237 | depends on X86_MPPARSE || X86_VOYAGER | ||
238 | |||
239 | if ACPI | ||
240 | config X86_MPPARSE | ||
241 | def_bool y | ||
242 | bool "Enable MPS table" | ||
243 | depends on X86_LOCAL_APIC | ||
244 | help | ||
245 | For old smp systems that do not have proper acpi support. Newer systems | ||
246 | (esp with 64bit cpus) with acpi support, MADT and DSDT will override it | ||
247 | endif | ||
248 | |||
249 | if !ACPI | ||
250 | config X86_MPPARSE | ||
251 | def_bool y | ||
252 | depends on X86_LOCAL_APIC | ||
253 | endif | ||
254 | |||
233 | choice | 255 | choice |
234 | prompt "Subarchitecture Type" | 256 | prompt "Subarchitecture Type" |
235 | default X86_PC | 257 | default X86_PC |
@@ -251,7 +273,7 @@ config X86_ELAN | |||
251 | 273 | ||
252 | config X86_VOYAGER | 274 | config X86_VOYAGER |
253 | bool "Voyager (NCR)" | 275 | bool "Voyager (NCR)" |
254 | depends on X86_32 && (SMP || BROKEN) | 276 | depends on X86_32 && (SMP || BROKEN) && !PCI |
255 | help | 277 | help |
256 | Voyager is an MCA-based 32-way capable SMP architecture proprietary | 278 | Voyager is an MCA-based 32-way capable SMP architecture proprietary |
257 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. | 279 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. |
@@ -261,16 +283,27 @@ config X86_VOYAGER | |||
261 | If you do not specifically know you have a Voyager based machine, | 283 | If you do not specifically know you have a Voyager based machine, |
262 | say N here, otherwise the kernel you build will not be bootable. | 284 | say N here, otherwise the kernel you build will not be bootable. |
263 | 285 | ||
286 | config X86_GENERICARCH | ||
287 | bool "Generic architecture" | ||
288 | depends on X86_32 | ||
289 | help | ||
290 | This option compiles in the NUMAQ, Summit, bigsmp, ES7000, default | ||
291 | subarchitectures. It is intended for a generic binary kernel. | ||
292 | if you select them all, kernel will probe it one by one. and will | ||
293 | fallback to default. | ||
294 | |||
295 | if X86_GENERICARCH | ||
296 | |||
264 | config X86_NUMAQ | 297 | config X86_NUMAQ |
265 | bool "NUMAQ (IBM/Sequent)" | 298 | bool "NUMAQ (IBM/Sequent)" |
266 | depends on SMP && X86_32 | 299 | depends on SMP && X86_32 && PCI && X86_MPPARSE |
267 | select NUMA | 300 | select NUMA |
268 | help | 301 | help |
269 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA | 302 | This option is used for getting Linux to run on a NUMAQ (IBM/Sequent) |
270 | multiquad box. This changes the way that processors are bootstrapped, | 303 | NUMA multiquad box. This changes the way that processors are |
271 | and uses Clustered Logical APIC addressing mode instead of Flat Logical. | 304 | bootstrapped, and uses Clustered Logical APIC addressing mode instead |
272 | You will need a new lynxer.elf file to flash your firmware with - send | 305 | of Flat Logical. You will need a new lynxer.elf file to flash your |
273 | email to <Martin.Bligh@us.ibm.com>. | 306 | firmware with - send email to <Martin.Bligh@us.ibm.com>. |
274 | 307 | ||
275 | config X86_SUMMIT | 308 | config X86_SUMMIT |
276 | bool "Summit/EXA (IBM x440)" | 309 | bool "Summit/EXA (IBM x440)" |
@@ -279,46 +312,21 @@ config X86_SUMMIT | |||
279 | This option is needed for IBM systems that use the Summit/EXA chipset. | 312 | This option is needed for IBM systems that use the Summit/EXA chipset. |
280 | In particular, it is needed for the x440. | 313 | In particular, it is needed for the x440. |
281 | 314 | ||
282 | If you don't have one of these computers, you should say N here. | 315 | config X86_ES7000 |
283 | If you want to build a NUMA kernel, you must select ACPI. | 316 | bool "Support for Unisys ES7000 IA32 series" |
317 | depends on X86_32 && SMP | ||
318 | help | ||
319 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | ||
320 | supposed to run on an IA32-based Unisys ES7000 system. | ||
284 | 321 | ||
285 | config X86_BIGSMP | 322 | config X86_BIGSMP |
286 | bool "Support for other sub-arch SMP systems with more than 8 CPUs" | 323 | bool "Support for big SMP systems with more than 8 CPUs" |
287 | depends on X86_32 && SMP | 324 | depends on X86_32 && SMP |
288 | help | 325 | help |
289 | This option is needed for the systems that have more than 8 CPUs | 326 | This option is needed for the systems that have more than 8 CPUs |
290 | and if the system is not of any sub-arch type above. | 327 | and if the system is not of any sub-arch type above. |
291 | 328 | ||
292 | If you don't have such a system, you should say N here. | 329 | endif |
293 | |||
294 | config X86_VISWS | ||
295 | bool "SGI 320/540 (Visual Workstation)" | ||
296 | depends on X86_32 | ||
297 | help | ||
298 | The SGI Visual Workstation series is an IA32-based workstation | ||
299 | based on SGI systems chips with some legacy PC hardware attached. | ||
300 | |||
301 | Say Y here to create a kernel to run on the SGI 320 or 540. | ||
302 | |||
303 | A kernel compiled for the Visual Workstation will not run on PCs | ||
304 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. | ||
305 | |||
306 | config X86_GENERICARCH | ||
307 | bool "Generic architecture (Summit, bigsmp, ES7000, default)" | ||
308 | depends on X86_32 | ||
309 | help | ||
310 | This option compiles in the Summit, bigsmp, ES7000, default subarchitectures. | ||
311 | It is intended for a generic binary kernel. | ||
312 | If you want a NUMA kernel, select ACPI. We need SRAT for NUMA. | ||
313 | |||
314 | config X86_ES7000 | ||
315 | bool "Support for Unisys ES7000 IA32 series" | ||
316 | depends on X86_32 && SMP | ||
317 | help | ||
318 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | ||
319 | supposed to run on an IA32-based Unisys ES7000 system. | ||
320 | Only choose this option if you have such a system, otherwise you | ||
321 | should say N here. | ||
322 | 330 | ||
323 | config X86_RDC321X | 331 | config X86_RDC321X |
324 | bool "RDC R-321x SoC" | 332 | bool "RDC R-321x SoC" |
@@ -337,7 +345,7 @@ config X86_RDC321X | |||
337 | config X86_VSMP | 345 | config X86_VSMP |
338 | bool "Support for ScaleMP vSMP" | 346 | bool "Support for ScaleMP vSMP" |
339 | select PARAVIRT | 347 | select PARAVIRT |
340 | depends on X86_64 | 348 | depends on X86_64 && PCI |
341 | help | 349 | help |
342 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is | 350 | Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is |
343 | supposed to run on these EM64T-based machines. Only choose this option | 351 | supposed to run on these EM64T-based machines. Only choose this option |
@@ -345,6 +353,18 @@ config X86_VSMP | |||
345 | 353 | ||
346 | endchoice | 354 | endchoice |
347 | 355 | ||
356 | config X86_VISWS | ||
357 | bool "SGI 320/540 (Visual Workstation)" | ||
358 | depends on X86_32 && PCI && !X86_VOYAGER && X86_MPPARSE && PCI_GODIRECT | ||
359 | help | ||
360 | The SGI Visual Workstation series is an IA32-based workstation | ||
361 | based on SGI systems chips with some legacy PC hardware attached. | ||
362 | |||
363 | Say Y here to create a kernel to run on the SGI 320 or 540. | ||
364 | |||
365 | A kernel compiled for the Visual Workstation will run on general | ||
366 | PCs as well. See <file:Documentation/sgi-visws.txt> for details. | ||
367 | |||
348 | config SCHED_NO_NO_OMIT_FRAME_POINTER | 368 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
349 | def_bool y | 369 | def_bool y |
350 | prompt "Single-depth WCHAN output" | 370 | prompt "Single-depth WCHAN output" |
@@ -373,7 +393,7 @@ config VMI | |||
373 | bool "VMI Guest support" | 393 | bool "VMI Guest support" |
374 | select PARAVIRT | 394 | select PARAVIRT |
375 | depends on X86_32 | 395 | depends on X86_32 |
376 | depends on !(X86_VISWS || X86_VOYAGER) | 396 | depends on !X86_VOYAGER |
377 | help | 397 | help |
378 | VMI provides a paravirtualized interface to the VMware ESX server | 398 | VMI provides a paravirtualized interface to the VMware ESX server |
379 | (it could be used by other hypervisors in theory too, but is not | 399 | (it could be used by other hypervisors in theory too, but is not |
@@ -384,7 +404,7 @@ config KVM_CLOCK | |||
384 | bool "KVM paravirtualized clock" | 404 | bool "KVM paravirtualized clock" |
385 | select PARAVIRT | 405 | select PARAVIRT |
386 | select PARAVIRT_CLOCK | 406 | select PARAVIRT_CLOCK |
387 | depends on !(X86_VISWS || X86_VOYAGER) | 407 | depends on !X86_VOYAGER |
388 | help | 408 | help |
389 | Turning on this option will allow you to run a paravirtualized clock | 409 | Turning on this option will allow you to run a paravirtualized clock |
390 | when running over the KVM hypervisor. Instead of relying on a PIT | 410 | when running over the KVM hypervisor. Instead of relying on a PIT |
@@ -395,7 +415,7 @@ config KVM_CLOCK | |||
395 | config KVM_GUEST | 415 | config KVM_GUEST |
396 | bool "KVM Guest support" | 416 | bool "KVM Guest support" |
397 | select PARAVIRT | 417 | select PARAVIRT |
398 | depends on !(X86_VISWS || X86_VOYAGER) | 418 | depends on !X86_VOYAGER |
399 | help | 419 | help |
400 | This option enables various optimizations for running under the KVM | 420 | This option enables various optimizations for running under the KVM |
401 | hypervisor. | 421 | hypervisor. |
@@ -404,7 +424,7 @@ source "arch/x86/lguest/Kconfig" | |||
404 | 424 | ||
405 | config PARAVIRT | 425 | config PARAVIRT |
406 | bool "Enable paravirtualization code" | 426 | bool "Enable paravirtualization code" |
407 | depends on !(X86_VISWS || X86_VOYAGER) | 427 | depends on !X86_VOYAGER |
408 | help | 428 | help |
409 | This changes the kernel so it can modify itself when it is run | 429 | This changes the kernel so it can modify itself when it is run |
410 | under a hypervisor, potentially improving performance significantly | 430 | under a hypervisor, potentially improving performance significantly |
@@ -417,51 +437,32 @@ config PARAVIRT_CLOCK | |||
417 | 437 | ||
418 | endif | 438 | endif |
419 | 439 | ||
420 | config MEMTEST_BOOTPARAM | 440 | config PARAVIRT_DEBUG |
421 | bool "Memtest boot parameter" | 441 | bool "paravirt-ops debugging" |
442 | depends on PARAVIRT && DEBUG_KERNEL | ||
443 | help | ||
444 | Enable to debug paravirt_ops internals. Specifically, BUG if | ||
445 | a paravirt_op is missing when it is called. | ||
446 | |||
447 | config MEMTEST | ||
448 | bool "Memtest" | ||
422 | depends on X86_64 | 449 | depends on X86_64 |
423 | default y | ||
424 | help | 450 | help |
425 | This option adds a kernel parameter 'memtest', which allows memtest | 451 | This option adds a kernel parameter 'memtest', which allows memtest |
426 | to be disabled at boot. If this option is selected, memtest | 452 | to be set. |
427 | functionality can be disabled with memtest=0 on the kernel | 453 | memtest=0, mean disabled; -- default |
428 | command line. The purpose of this option is to allow a single | 454 | memtest=1, mean do 1 test pattern; |
429 | kernel image to be distributed with memtest built in, but not | 455 | ... |
430 | necessarily enabled. | 456 | memtest=4, mean do 4 test patterns. |
431 | 457 | If you are unsure how to answer this question, answer N. | |
432 | If you are unsure how to answer this question, answer Y. | ||
433 | |||
434 | config MEMTEST_BOOTPARAM_VALUE | ||
435 | int "Memtest boot parameter default value (0-4)" | ||
436 | depends on MEMTEST_BOOTPARAM | ||
437 | range 0 4 | ||
438 | default 0 | ||
439 | help | ||
440 | This option sets the default value for the kernel parameter | ||
441 | 'memtest', which allows memtest to be disabled at boot. If this | ||
442 | option is set to 0 (zero), the memtest kernel parameter will | ||
443 | default to 0, disabling memtest at bootup. If this option is | ||
444 | set to 4, the memtest kernel parameter will default to 4, | ||
445 | enabling memtest at bootup, and use that as pattern number. | ||
446 | |||
447 | If you are unsure how to answer this question, answer 0. | ||
448 | |||
449 | config ACPI_SRAT | ||
450 | def_bool y | ||
451 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) | ||
452 | select ACPI_NUMA | ||
453 | |||
454 | config HAVE_ARCH_PARSE_SRAT | ||
455 | def_bool y | ||
456 | depends on ACPI_SRAT | ||
457 | 458 | ||
458 | config X86_SUMMIT_NUMA | 459 | config X86_SUMMIT_NUMA |
459 | def_bool y | 460 | def_bool y |
460 | depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH) | 461 | depends on X86_32 && NUMA && X86_GENERICARCH |
461 | 462 | ||
462 | config X86_CYCLONE_TIMER | 463 | config X86_CYCLONE_TIMER |
463 | def_bool y | 464 | def_bool y |
464 | depends on X86_32 && X86_SUMMIT || X86_GENERICARCH | 465 | depends on X86_GENERICARCH |
465 | 466 | ||
466 | config ES7000_CLUSTERED_APIC | 467 | config ES7000_CLUSTERED_APIC |
467 | def_bool y | 468 | def_bool y |
@@ -549,6 +550,21 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT | |||
549 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | 550 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. |
550 | If unsure, say Y. | 551 | If unsure, say Y. |
551 | 552 | ||
553 | config AMD_IOMMU | ||
554 | bool "AMD IOMMU support" | ||
555 | select SWIOTLB | ||
556 | depends on X86_64 && PCI && ACPI | ||
557 | help | ||
558 | With this option you can enable support for AMD IOMMU hardware in | ||
559 | your system. An IOMMU is a hardware component which provides | ||
560 | remapping of DMA memory accesses from devices. With an AMD IOMMU you | ||
561 | can isolate the the DMA memory of different devices and protect the | ||
562 | system from misbehaving device drivers or hardware. | ||
563 | |||
564 | You can find out if your system has an AMD IOMMU if you look into | ||
565 | your BIOS for an option to enable it or if you have an IVRS ACPI | ||
566 | table. | ||
567 | |||
552 | # need this always selected by IOMMU for the VIA workaround | 568 | # need this always selected by IOMMU for the VIA workaround |
553 | config SWIOTLB | 569 | config SWIOTLB |
554 | bool | 570 | bool |
@@ -560,21 +576,36 @@ config SWIOTLB | |||
560 | 3 GB of memory. If unsure, say Y. | 576 | 3 GB of memory. If unsure, say Y. |
561 | 577 | ||
562 | config IOMMU_HELPER | 578 | config IOMMU_HELPER |
563 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB) | 579 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
580 | config MAXSMP | ||
581 | bool "Configure Maximum number of SMP Processors and NUMA Nodes" | ||
582 | depends on X86_64 && SMP | ||
583 | default n | ||
584 | help | ||
585 | Configure maximum number of CPUS and NUMA Nodes for this architecture. | ||
586 | If unsure, say N. | ||
564 | 587 | ||
588 | if MAXSMP | ||
565 | config NR_CPUS | 589 | config NR_CPUS |
566 | int "Maximum number of CPUs (2-255)" | 590 | int |
567 | range 2 255 | 591 | default "4096" |
592 | endif | ||
593 | |||
594 | if !MAXSMP | ||
595 | config NR_CPUS | ||
596 | int "Maximum number of CPUs (2-4096)" | ||
597 | range 2 4096 | ||
568 | depends on SMP | 598 | depends on SMP |
569 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 | 599 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 |
570 | default "8" | 600 | default "8" |
571 | help | 601 | help |
572 | This allows you to specify the maximum number of CPUs which this | 602 | This allows you to specify the maximum number of CPUs which this |
573 | kernel will support. The maximum supported value is 255 and the | 603 | kernel will support. The maximum supported value is 4096 and the |
574 | minimum value which makes sense is 2. | 604 | minimum value which makes sense is 2. |
575 | 605 | ||
576 | This is purely to save memory - each supported CPU adds | 606 | This is purely to save memory - each supported CPU adds |
577 | approximately eight kilobytes to the kernel image. | 607 | approximately eight kilobytes to the kernel image. |
608 | endif | ||
578 | 609 | ||
579 | config SCHED_SMT | 610 | config SCHED_SMT |
580 | bool "SMT (Hyperthreading) scheduler support" | 611 | bool "SMT (Hyperthreading) scheduler support" |
@@ -598,7 +629,7 @@ source "kernel/Kconfig.preempt" | |||
598 | 629 | ||
599 | config X86_UP_APIC | 630 | config X86_UP_APIC |
600 | bool "Local APIC support on uniprocessors" | 631 | bool "Local APIC support on uniprocessors" |
601 | depends on X86_32 && !SMP && !(X86_VISWS || X86_VOYAGER || X86_GENERICARCH) | 632 | depends on X86_32 && !SMP && !(X86_VOYAGER || X86_GENERICARCH) |
602 | help | 633 | help |
603 | A local APIC (Advanced Programmable Interrupt Controller) is an | 634 | A local APIC (Advanced Programmable Interrupt Controller) is an |
604 | integrated interrupt controller in the CPU. If you have a single-CPU | 635 | integrated interrupt controller in the CPU. If you have a single-CPU |
@@ -623,11 +654,11 @@ config X86_UP_IOAPIC | |||
623 | 654 | ||
624 | config X86_LOCAL_APIC | 655 | config X86_LOCAL_APIC |
625 | def_bool y | 656 | def_bool y |
626 | depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) | 657 | depends on X86_64 || (X86_32 && (X86_UP_APIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH)) |
627 | 658 | ||
628 | config X86_IO_APIC | 659 | config X86_IO_APIC |
629 | def_bool y | 660 | def_bool y |
630 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) | 661 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !X86_VOYAGER) || X86_GENERICARCH)) |
631 | 662 | ||
632 | config X86_VISWS_APIC | 663 | config X86_VISWS_APIC |
633 | def_bool y | 664 | def_bool y |
@@ -681,7 +712,7 @@ config X86_MCE_NONFATAL | |||
681 | 712 | ||
682 | config X86_MCE_P4THERMAL | 713 | config X86_MCE_P4THERMAL |
683 | bool "check for P4 thermal throttling interrupt." | 714 | bool "check for P4 thermal throttling interrupt." |
684 | depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS | 715 | depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) |
685 | help | 716 | help |
686 | Enabling this feature will cause a message to be printed when the P4 | 717 | Enabling this feature will cause a message to be printed when the P4 |
687 | enters thermal throttling. | 718 | enters thermal throttling. |
@@ -911,9 +942,9 @@ config X86_PAE | |||
911 | config NUMA | 942 | config NUMA |
912 | bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" | 943 | bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)" |
913 | depends on SMP | 944 | depends on SMP |
914 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI) && EXPERIMENTAL) | 945 | depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL) |
915 | default n if X86_PC | 946 | default n if X86_PC |
916 | default y if (X86_NUMAQ || X86_SUMMIT) | 947 | default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP) |
917 | help | 948 | help |
918 | Enable NUMA (Non Uniform Memory Access) support. | 949 | Enable NUMA (Non Uniform Memory Access) support. |
919 | The kernel will try to allocate memory used by a CPU on the | 950 | The kernel will try to allocate memory used by a CPU on the |
@@ -965,13 +996,25 @@ config NUMA_EMU | |||
965 | into virtual nodes when booted with "numa=fake=N", where N is the | 996 | into virtual nodes when booted with "numa=fake=N", where N is the |
966 | number of nodes. This is only useful for debugging. | 997 | number of nodes. This is only useful for debugging. |
967 | 998 | ||
999 | if MAXSMP | ||
1000 | |||
968 | config NODES_SHIFT | 1001 | config NODES_SHIFT |
969 | int "Max num nodes shift(1-15)" | 1002 | int |
970 | range 1 15 if X86_64 | 1003 | default "9" |
1004 | endif | ||
1005 | |||
1006 | if !MAXSMP | ||
1007 | config NODES_SHIFT | ||
1008 | int "Maximum NUMA Nodes (as a power of 2)" | ||
1009 | range 1 9 if X86_64 | ||
971 | default "6" if X86_64 | 1010 | default "6" if X86_64 |
972 | default "4" if X86_NUMAQ | 1011 | default "4" if X86_NUMAQ |
973 | default "3" | 1012 | default "3" |
974 | depends on NEED_MULTIPLE_NODES | 1013 | depends on NEED_MULTIPLE_NODES |
1014 | help | ||
1015 | Specify the maximum number of NUMA Nodes available on the target | ||
1016 | system. Increases memory reserved to accomodate various tables. | ||
1017 | endif | ||
975 | 1018 | ||
976 | config HAVE_ARCH_BOOTMEM_NODE | 1019 | config HAVE_ARCH_BOOTMEM_NODE |
977 | def_bool y | 1020 | def_bool y |
@@ -1090,6 +1133,37 @@ config MTRR | |||
1090 | 1133 | ||
1091 | See <file:Documentation/mtrr.txt> for more information. | 1134 | See <file:Documentation/mtrr.txt> for more information. |
1092 | 1135 | ||
1136 | config MTRR_SANITIZER | ||
1137 | bool | ||
1138 | prompt "MTRR cleanup support" | ||
1139 | depends on MTRR | ||
1140 | help | ||
1141 | Convert MTRR layout from continuous to discrete, so X drivers can | ||
1142 | add writeback entries. | ||
1143 | |||
1144 | Can be disabled with disable_mtrr_cleanup on the kernel command line. | ||
1145 | The largest mtrr entry size for a continous block can be set with | ||
1146 | mtrr_chunk_size. | ||
1147 | |||
1148 | If unsure, say N. | ||
1149 | |||
1150 | config MTRR_SANITIZER_ENABLE_DEFAULT | ||
1151 | int "MTRR cleanup enable value (0-1)" | ||
1152 | range 0 1 | ||
1153 | default "0" | ||
1154 | depends on MTRR_SANITIZER | ||
1155 | help | ||
1156 | Enable mtrr cleanup default value | ||
1157 | |||
1158 | config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT | ||
1159 | int "MTRR cleanup spare reg num (0-7)" | ||
1160 | range 0 7 | ||
1161 | default "1" | ||
1162 | depends on MTRR_SANITIZER | ||
1163 | help | ||
1164 | mtrr cleanup spare entries default, it can be changed via | ||
1165 | mtrr_spare_reg_nr=N on the kernel command line. | ||
1166 | |||
1093 | config X86_PAT | 1167 | config X86_PAT |
1094 | bool | 1168 | bool |
1095 | prompt "x86 PAT support" | 1169 | prompt "x86 PAT support" |
@@ -1190,7 +1264,6 @@ config KEXEC | |||
1190 | 1264 | ||
1191 | config CRASH_DUMP | 1265 | config CRASH_DUMP |
1192 | bool "kernel crash dumps (EXPERIMENTAL)" | 1266 | bool "kernel crash dumps (EXPERIMENTAL)" |
1193 | depends on EXPERIMENTAL | ||
1194 | depends on X86_64 || (X86_32 && HIGHMEM) | 1267 | depends on X86_64 || (X86_32 && HIGHMEM) |
1195 | help | 1268 | help |
1196 | Generate crash dump after being started by kexec. | 1269 | Generate crash dump after being started by kexec. |
@@ -1339,7 +1412,7 @@ config X86_APM_BOOT | |||
1339 | 1412 | ||
1340 | menuconfig APM | 1413 | menuconfig APM |
1341 | tristate "APM (Advanced Power Management) BIOS support" | 1414 | tristate "APM (Advanced Power Management) BIOS support" |
1342 | depends on X86_32 && PM_SLEEP && !X86_VISWS | 1415 | depends on X86_32 && PM_SLEEP |
1343 | ---help--- | 1416 | ---help--- |
1344 | APM is a BIOS specification for saving power using several different | 1417 | APM is a BIOS specification for saving power using several different |
1345 | techniques. This is mostly useful for battery powered laptops with | 1418 | techniques. This is mostly useful for battery powered laptops with |
@@ -1475,8 +1548,7 @@ endmenu | |||
1475 | menu "Bus options (PCI etc.)" | 1548 | menu "Bus options (PCI etc.)" |
1476 | 1549 | ||
1477 | config PCI | 1550 | config PCI |
1478 | bool "PCI support" if !X86_VISWS && !X86_VSMP | 1551 | bool "PCI support" |
1479 | depends on !X86_VOYAGER | ||
1480 | default y | 1552 | default y |
1481 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) | 1553 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) |
1482 | help | 1554 | help |
@@ -1487,7 +1559,7 @@ config PCI | |||
1487 | 1559 | ||
1488 | choice | 1560 | choice |
1489 | prompt "PCI access mode" | 1561 | prompt "PCI access mode" |
1490 | depends on X86_32 && PCI && !X86_VISWS | 1562 | depends on X86_32 && PCI |
1491 | default PCI_GOANY | 1563 | default PCI_GOANY |
1492 | ---help--- | 1564 | ---help--- |
1493 | On PCI systems, the BIOS can be used to detect the PCI devices and | 1565 | On PCI systems, the BIOS can be used to detect the PCI devices and |
@@ -1524,12 +1596,12 @@ endchoice | |||
1524 | 1596 | ||
1525 | config PCI_BIOS | 1597 | config PCI_BIOS |
1526 | def_bool y | 1598 | def_bool y |
1527 | depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) | 1599 | depends on X86_32 && PCI && (PCI_GOBIOS || PCI_GOANY) |
1528 | 1600 | ||
1529 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. | 1601 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. |
1530 | config PCI_DIRECT | 1602 | config PCI_DIRECT |
1531 | def_bool y | 1603 | def_bool y |
1532 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC) || X86_VISWS) | 1604 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC)) |
1533 | 1605 | ||
1534 | config PCI_MMCONFIG | 1606 | config PCI_MMCONFIG |
1535 | def_bool y | 1607 | def_bool y |
@@ -1589,7 +1661,7 @@ if X86_32 | |||
1589 | 1661 | ||
1590 | config ISA | 1662 | config ISA |
1591 | bool "ISA support" | 1663 | bool "ISA support" |
1592 | depends on !(X86_VOYAGER || X86_VISWS) | 1664 | depends on !X86_VOYAGER |
1593 | help | 1665 | help |
1594 | Find out whether you have ISA slots on your motherboard. ISA is the | 1666 | Find out whether you have ISA slots on your motherboard. ISA is the |
1595 | name of a bus system, i.e. the way the CPU talks to the other stuff | 1667 | name of a bus system, i.e. the way the CPU talks to the other stuff |
@@ -1616,7 +1688,7 @@ config EISA | |||
1616 | source "drivers/eisa/Kconfig" | 1688 | source "drivers/eisa/Kconfig" |
1617 | 1689 | ||
1618 | config MCA | 1690 | config MCA |
1619 | bool "MCA support" if !(X86_VISWS || X86_VOYAGER) | 1691 | bool "MCA support" if !X86_VOYAGER |
1620 | default y if X86_VOYAGER | 1692 | default y if X86_VOYAGER |
1621 | help | 1693 | help |
1622 | MicroChannel Architecture is found in some IBM PS/2 machines and | 1694 | MicroChannel Architecture is found in some IBM PS/2 machines and |