^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) menu "Host processor type and features"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) source "arch/x86/Kconfig.cpu"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) endmenu
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) config UML_X86
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select GENERIC_FIND_FIRST_BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) bool "64-bit kernel" if "$(SUBARCH)" = "x86"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) default "$(SUBARCH)" != "i386"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) config X86_32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) def_bool !64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select ARCH_32BIT_OFF_T
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) select ARCH_WANT_IPC_PARSE_VERSION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) select MODULES_USE_ELF_REL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select CLONE_BACKWARDS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select OLD_SIGSUSPEND3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) select OLD_SIGACTION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config X86_64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) def_bool 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) select MODULES_USE_ELF_RELA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) config 3_LEVEL_PGTABLES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) bool "Three-level pagetables" if !64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default 64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Three-level pagetables will let UML have more than 4G of physical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) memory. All the memory that can't be mapped directly will be treated
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) as high memory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) However, this it experimental on 32-bit architectures, so if unsure say
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) N (on x86-64 it's automatically enabled, instead, as it's safe there).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config ARCH_HAS_SC_SIGNALS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) def_bool !64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) config ARCH_REUSE_HOST_VSYSCALL_AREA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) def_bool !64BIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) config GENERIC_HWEIGHT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) def_bool y