diff options
-rw-r--r-- | arch/i386/Kconfig | 33 | ||||
-rw-r--r-- | arch/x86_64/Kconfig | 31 | ||||
-rw-r--r-- | fs/Kconfig | 2 |
3 files changed, 41 insertions, 25 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index d849c6870e3a..554ce3f344c9 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -645,17 +645,6 @@ config SECCOMP | |||
645 | 645 | ||
646 | source kernel/Kconfig.hz | 646 | source kernel/Kconfig.hz |
647 | 647 | ||
648 | config PHYSICAL_START | ||
649 | hex "Physical address where the kernel is loaded" if EMBEDDED | ||
650 | default "0x100000" | ||
651 | help | ||
652 | This gives the physical address where the kernel is loaded. | ||
653 | Primarily used in the case of kexec on panic where the | ||
654 | fail safe kernel needs to run at a different address than | ||
655 | the panic-ed kernel. | ||
656 | |||
657 | Don't change this unless you know what you are doing. | ||
658 | |||
659 | config KEXEC | 648 | config KEXEC |
660 | bool "kexec system call (EXPERIMENTAL)" | 649 | bool "kexec system call (EXPERIMENTAL)" |
661 | depends on EXPERIMENTAL | 650 | depends on EXPERIMENTAL |
@@ -675,11 +664,31 @@ config KEXEC | |||
675 | 664 | ||
676 | config CRASH_DUMP | 665 | config CRASH_DUMP |
677 | bool "kernel crash dumps (EXPERIMENTAL)" | 666 | bool "kernel crash dumps (EXPERIMENTAL)" |
678 | depends on EMBEDDED | ||
679 | depends on EXPERIMENTAL | 667 | depends on EXPERIMENTAL |
680 | depends on HIGHMEM | 668 | depends on HIGHMEM |
681 | help | 669 | help |
682 | Generate crash dump after being started by kexec. | 670 | Generate crash dump after being started by kexec. |
671 | |||
672 | config PHYSICAL_START | ||
673 | hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) | ||
674 | |||
675 | default "0x1000000" if CRASH_DUMP | ||
676 | default "0x100000" | ||
677 | help | ||
678 | This gives the physical address where the kernel is loaded. Normally | ||
679 | for regular kernels this value is 0x100000 (1MB). But in the case | ||
680 | of kexec on panic the fail safe kernel needs to run at a different | ||
681 | address than the panic-ed kernel. This option is used to set the load | ||
682 | address for kernels used to capture crash dump on being kexec'ed | ||
683 | after panic. The default value for crash dump kernels is | ||
684 | 0x1000000 (16MB). This can also be set based on the "X" value as | ||
685 | specified in the "crashkernel=YM@XM" command line boot parameter | ||
686 | passed to the panic-ed kernel. Typically this parameter is set as | ||
687 | crashkernel=64M@16M. Please take a look at | ||
688 | Documentation/kdump/kdump.txt for more details about crash dumps. | ||
689 | |||
690 | Don't change this unless you know what you are doing. | ||
691 | |||
683 | endmenu | 692 | endmenu |
684 | 693 | ||
685 | 694 | ||
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index dd2d116b9ab8..348b4a0d0d6f 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -399,17 +399,6 @@ config X86_MCE_AMD | |||
399 | Additional support for AMD specific MCE features such as | 399 | Additional support for AMD specific MCE features such as |
400 | the DRAM Error Threshold. | 400 | the DRAM Error Threshold. |
401 | 401 | ||
402 | config PHYSICAL_START | ||
403 | hex "Physical address where the kernel is loaded" if EMBEDDED | ||
404 | default "0x100000" | ||
405 | help | ||
406 | This gives the physical address where the kernel is loaded. | ||
407 | Primarily used in the case of kexec on panic where the | ||
408 | fail safe kernel needs to run at a different address than | ||
409 | the panic-ed kernel. | ||
410 | |||
411 | Don't change this unless you know what you are doing. | ||
412 | |||
413 | config KEXEC | 402 | config KEXEC |
414 | bool "kexec system call (EXPERIMENTAL)" | 403 | bool "kexec system call (EXPERIMENTAL)" |
415 | depends on EXPERIMENTAL | 404 | depends on EXPERIMENTAL |
@@ -429,11 +418,29 @@ config KEXEC | |||
429 | 418 | ||
430 | config CRASH_DUMP | 419 | config CRASH_DUMP |
431 | bool "kernel crash dumps (EXPERIMENTAL)" | 420 | bool "kernel crash dumps (EXPERIMENTAL)" |
432 | depends on EMBEDDED | ||
433 | depends on EXPERIMENTAL | 421 | depends on EXPERIMENTAL |
434 | help | 422 | help |
435 | Generate crash dump after being started by kexec. | 423 | Generate crash dump after being started by kexec. |
436 | 424 | ||
425 | config PHYSICAL_START | ||
426 | hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP) | ||
427 | default "0x1000000" if CRASH_DUMP | ||
428 | default "0x100000" | ||
429 | help | ||
430 | This gives the physical address where the kernel is loaded. Normally | ||
431 | for regular kernels this value is 0x100000 (1MB). But in the case | ||
432 | of kexec on panic the fail safe kernel needs to run at a different | ||
433 | address than the panic-ed kernel. This option is used to set the load | ||
434 | address for kernels used to capture crash dump on being kexec'ed | ||
435 | after panic. The default value for crash dump kernels is | ||
436 | 0x1000000 (16MB). This can also be set based on the "X" value as | ||
437 | specified in the "crashkernel=YM@XM" command line boot parameter | ||
438 | passed to the panic-ed kernel. Typically this parameter is set as | ||
439 | crashkernel=64M@16M. Please take a look at | ||
440 | Documentation/kdump/kdump.txt for more details about crash dumps. | ||
441 | |||
442 | Don't change this unless you know what you are doing. | ||
443 | |||
437 | config SECCOMP | 444 | config SECCOMP |
438 | bool "Enable seccomp to safely compute untrusted bytecode" | 445 | bool "Enable seccomp to safely compute untrusted bytecode" |
439 | depends on PROC_FS | 446 | depends on PROC_FS |
diff --git a/fs/Kconfig b/fs/Kconfig index 382e3b2883d5..ef78e3a42d32 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -798,7 +798,7 @@ config PROC_KCORE | |||
798 | 798 | ||
799 | config PROC_VMCORE | 799 | config PROC_VMCORE |
800 | bool "/proc/vmcore support (EXPERIMENTAL)" | 800 | bool "/proc/vmcore support (EXPERIMENTAL)" |
801 | depends on PROC_FS && EMBEDDED && EXPERIMENTAL && CRASH_DUMP | 801 | depends on PROC_FS && EXPERIMENTAL && CRASH_DUMP |
802 | help | 802 | help |
803 | Exports the dump image of crashed kernel in ELF format. | 803 | Exports the dump image of crashed kernel in ELF format. |
804 | 804 | ||