diff options
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 2543791ce8c2..049335584e0c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig | |||
@@ -141,6 +141,18 @@ config ARCH_MMAP_RND_COMPAT_BITS_MIN | |||
141 | config ARCH_MMAP_RND_COMPAT_BITS_MAX | 141 | config ARCH_MMAP_RND_COMPAT_BITS_MAX |
142 | default 16 | 142 | default 16 |
143 | 143 | ||
144 | config ARM64_PAGE_SHIFT | ||
145 | int | ||
146 | default 16 if ARM64_64K_PAGES | ||
147 | default 14 if ARM64_16K_PAGES | ||
148 | default 12 | ||
149 | |||
150 | config ARM64_CONT_SHIFT | ||
151 | int | ||
152 | default 5 if ARM64_64K_PAGES | ||
153 | default 7 if ARM64_16K_PAGES | ||
154 | default 4 | ||
155 | |||
144 | config NO_IOPORT_MAP | 156 | config NO_IOPORT_MAP |
145 | def_bool y if !PCI | 157 | def_bool y if !PCI |
146 | 158 | ||
@@ -569,6 +581,7 @@ source kernel/Kconfig.preempt | |||
569 | source kernel/Kconfig.hz | 581 | source kernel/Kconfig.hz |
570 | 582 | ||
571 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC | 583 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC |
584 | depends on !HIBERNATION | ||
572 | def_bool y | 585 | def_bool y |
573 | 586 | ||
574 | config ARCH_HAS_HOLES_MEMORYMODEL | 587 | config ARCH_HAS_HOLES_MEMORYMODEL |
@@ -618,6 +631,27 @@ config SECCOMP | |||
618 | and the task is only allowed to execute a few safe syscalls | 631 | and the task is only allowed to execute a few safe syscalls |
619 | defined by each seccomp mode. | 632 | defined by each seccomp mode. |
620 | 633 | ||
634 | config KEXEC | ||
635 | depends on PM_SLEEP_SMP | ||
636 | select KEXEC_CORE | ||
637 | bool "kexec system call" | ||
638 | ---help--- | ||
639 | kexec is a system call that implements the ability to shutdown your | ||
640 | current kernel, and to start another kernel. It is like a reboot | ||
641 | but it is independent of the system firmware. And like a reboot | ||
642 | you can start any kernel with it, not just Linux. | ||
643 | |||
644 | config CRASH_DUMP | ||
645 | bool "Build kdump crash kernel" | ||
646 | help | ||
647 | Generate crash dump after being started by kexec. This should | ||
648 | be normally only set in special crash dump kernels which are | ||
649 | loaded in the main kernel with kexec-tools into a specially | ||
650 | reserved region and then later executed after a crash by | ||
651 | kdump/kexec. | ||
652 | |||
653 | For more details see Documentation/kdump/kdump.txt | ||
654 | |||
621 | config XEN_DOM0 | 655 | config XEN_DOM0 |
622 | def_bool y | 656 | def_bool y |
623 | depends on XEN | 657 | depends on XEN |
@@ -720,7 +754,7 @@ config SETEND_EMULATION | |||
720 | endif | 754 | endif |
721 | 755 | ||
722 | config ARM64_SW_TTBR0_PAN | 756 | config ARM64_SW_TTBR0_PAN |
723 | bool "Emulate Priviledged Access Never using TTBR0_EL1 switching" | 757 | bool "Emulate Privileged Access Never using TTBR0_EL1 switching" |
724 | help | 758 | help |
725 | Enabling this option prevents the kernel from accessing | 759 | Enabling this option prevents the kernel from accessing |
726 | user-space memory directly by pointing TTBR0_EL1 to a reserved | 760 | user-space memory directly by pointing TTBR0_EL1 to a reserved |
@@ -934,6 +968,26 @@ config BUILD_ARM64_APPENDED_DTB_IMAGE | |||
934 | DTBs to be built by default (instead of a standalone Image.gz.) | 968 | DTBs to be built by default (instead of a standalone Image.gz.) |
935 | The image will built in arch/arm64/boot/Image.gz-dtb | 969 | The image will built in arch/arm64/boot/Image.gz-dtb |
936 | 970 | ||
971 | choice | ||
972 | prompt "Appended DTB Kernel Image name" | ||
973 | depends on BUILD_ARM64_APPENDED_DTB_IMAGE | ||
974 | help | ||
975 | Enabling this option will cause a specific kernel image Image or | ||
976 | Image.gz to be used for final image creation. | ||
977 | The image will built in arch/arm64/boot/IMAGE-NAME-dtb | ||
978 | |||
979 | config IMG_GZ_DTB | ||
980 | bool "Image.gz-dtb" | ||
981 | config IMG_DTB | ||
982 | bool "Image-dtb" | ||
983 | endchoice | ||
984 | |||
985 | config BUILD_ARM64_APPENDED_KERNEL_IMAGE_NAME | ||
986 | string | ||
987 | depends on BUILD_ARM64_APPENDED_DTB_IMAGE | ||
988 | default "Image.gz-dtb" if IMG_GZ_DTB | ||
989 | default "Image-dtb" if IMG_DTB | ||
990 | |||
937 | config BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES | 991 | config BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES |
938 | string "Default dtb names" | 992 | string "Default dtb names" |
939 | depends on BUILD_ARM64_APPENDED_DTB_IMAGE | 993 | depends on BUILD_ARM64_APPENDED_DTB_IMAGE |