Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Masahiro Yamada | e1cfdc0 | 2018-05-28 18:21:59 +0900 | [diff] [blame] | 2 | |
Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 3 | menu "Host processor type and features" |
4 | |||||
Al Viro | 7a78a17 | 2007-10-29 04:34:31 +0000 | [diff] [blame] | 5 | source "arch/x86/Kconfig.cpu" |
Paolo 'Blaisorblade' Giarrusso | 8597737 | 2005-11-13 16:07:06 -0800 | [diff] [blame] | 6 | |
7 | endmenu | ||||
8 | |||||
Paolo 'Blaisorblade' Giarrusso | c45166be3 | 2005-05-01 08:58:54 -0700 | [diff] [blame] | 9 | config UML_X86 |
Jeff Dike | 54d67ee | 2007-12-01 12:16:28 -0800 | [diff] [blame] | 10 | def_bool y |
Jan Beulich | c49aa5b | 2011-03-08 09:24:26 +0000 | [diff] [blame] | 11 | select GENERIC_FIND_FIRST_BIT |
Jeff Dike | 54d67ee | 2007-12-01 12:16:28 -0800 | [diff] [blame] | 12 | |
Paolo 'Blaisorblade' Giarrusso | c45166be3 | 2005-05-01 08:58:54 -0700 | [diff] [blame] | 13 | config 64BIT |
Masahiro Yamada | 104daea | 2018-05-28 18:21:40 +0900 | [diff] [blame] | 14 | bool "64-bit kernel" if "$(SUBARCH)" = "x86" |
15 | default "$(SUBARCH)" != "i386" | ||||
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 16 | |
17 | config X86_32 | ||||
18 | def_bool !64BIT | ||||
Yury Norov | 942fa98 | 2018-05-16 11:18:49 +0300 | [diff] [blame] | 19 | select ARCH_32BIT_OFF_T |
Richard Weinberger | bbb35ef | 2012-09-27 20:10:57 +0200 | [diff] [blame] | 20 | select ARCH_WANT_IPC_PARSE_VERSION |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 21 | select MODULES_USE_ELF_REL |
Al Viro | 1d4b4b2 | 2012-10-22 22:34:11 -0400 | [diff] [blame] | 22 | select CLONE_BACKWARDS |
Al Viro | 15ce1f7 | 2012-12-25 16:09:20 -0500 | [diff] [blame] | 23 | select OLD_SIGSUSPEND3 |
Al Viro | 5b3eb3a | 2012-12-25 19:14:55 -0500 | [diff] [blame] | 24 | select OLD_SIGACTION |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 25 | |
Jan Beulich | bfc39061 | 2011-03-01 11:14:55 +0000 | [diff] [blame] | 26 | config X86_64 |
27 | def_bool 64BIT | ||||
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 28 | select MODULES_USE_ELF_RELA |
Jan Beulich | bfc39061 | 2011-03-01 11:14:55 +0000 | [diff] [blame] | 29 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | config 3_LEVEL_PGTABLES |
Kees Cook | 01b35ab | 2012-10-02 11:16:48 -0700 | [diff] [blame] | 31 | bool "Three-level pagetables" if !64BIT |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 32 | default 64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | help |
34 | Three-level pagetables will let UML have more than 4G of physical | ||||
35 | memory. All the memory that can't be mapped directly will be treated | ||||
36 | as high memory. | ||||
37 | |||||
Paolo 'Blaisorblade' Giarrusso | ce2d2ae | 2006-01-18 17:42:59 -0800 | [diff] [blame] | 38 | However, this it experimental on 32-bit architectures, so if unsure say |
39 | N (on x86-64 it's automatically enabled, instead, as it's safe there). | ||||
40 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | config ARCH_HAS_SC_SIGNALS |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 42 | def_bool !64BIT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
44 | config ARCH_REUSE_HOST_VSYSCALL_AREA | ||||
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 45 | def_bool !64BIT |
46 | |||||
Akinobu Mita | f214ef3 | 2006-03-26 01:38:59 -0800 | [diff] [blame] | 47 | config GENERIC_HWEIGHT |
Al Viro | 4198426 | 2008-08-23 17:00:34 -0400 | [diff] [blame] | 48 | def_bool y |