aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig56
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
141config ARCH_MMAP_RND_COMPAT_BITS_MAX 141config ARCH_MMAP_RND_COMPAT_BITS_MAX
142 default 16 142 default 16
143 143
144config ARM64_PAGE_SHIFT
145 int
146 default 16 if ARM64_64K_PAGES
147 default 14 if ARM64_16K_PAGES
148 default 12
149
150config ARM64_CONT_SHIFT
151 int
152 default 5 if ARM64_64K_PAGES
153 default 7 if ARM64_16K_PAGES
154 default 4
155
144config NO_IOPORT_MAP 156config 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
569source kernel/Kconfig.hz 581source kernel/Kconfig.hz
570 582
571config ARCH_SUPPORTS_DEBUG_PAGEALLOC 583config ARCH_SUPPORTS_DEBUG_PAGEALLOC
584 depends on !HIBERNATION
572 def_bool y 585 def_bool y
573 586
574config ARCH_HAS_HOLES_MEMORYMODEL 587config 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
634config 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
644config 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
621config XEN_DOM0 655config 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
720endif 754endif
721 755
722config ARM64_SW_TTBR0_PAN 756config 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
971choice
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"
983endchoice
984
985config 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
937config BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES 991config 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