xref: /linux/arch/parisc/Kconfig (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig PARISC
31da177e4SLinus Torvalds	def_bool y
412700c17SArnd Bergmann	select ALTERNATE_USER_ADDRESS_SPACE
5942fa985SYury Norov	select ARCH_32BIT_OFF_T if !64BIT
64a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
7366dd4eaSHelge Deller	select HAVE_FUNCTION_TRACER
8366dd4eaSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER
9fc79168aSHelge Deller	select HAVE_SYSCALL_TRACEPOINTS
104530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
11*1221365fSHelge Deller	select ARCH_WANTS_MODULES_TEXT_SECTIONS if !64BIT
128690bbcfSMathieu Desnoyers	select ARCH_HAS_CPU_CACHE_ALIASING
132c8ed1b9SChristoph Hellwig	select ARCH_HAS_DMA_ALLOC if PA11
14de6c85bfSChristoph Hellwig	select ARCH_HAS_DMA_OPS
1518d98a79SHelge Deller	select ARCH_HAS_ELF_RANDOMIZE
16ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
170a1355dbSHelge Deller	select ARCH_HAS_STRICT_MODULE_RWX
18918327e9SKees Cook	select ARCH_HAS_UBSAN
19df24e178SHelge Deller	select ARCH_HAS_PTE_SPECIAL
207c703e54SChristoph Hellwig	select ARCH_NO_SG_CHAIN
21403f17a3SArnd Bergmann	select ARCH_SPLIT_ARG64 if !64BIT
22855f9a8eSAnshuman Khandual	select ARCH_SUPPORTS_HUGETLBFS if PA20
2354ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
24aeb1e833SHelge Deller	select ARCH_STACKWALK
257ae04ba3SMikulas Patocka	select ARCH_HAS_CACHE_LINE_SIZE
262b41be48SHelge Deller	select ARCH_HAS_DEBUG_VM_PGTABLE
27aeb1e833SHelge Deller	select HAVE_RELIABLE_STACKTRACE
289eb16864SKyle McMartin	select RTC_CLASS
293afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
3098a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
31f67d3c83SKyle McMartin	select BUG
3201fef826SHelge Deller	select HAVE_KERNEL_UNCOMPRESSED
33eb01d42aSChristoph Hellwig	select HAVE_PCI
34cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
35610cb23bSHelge Deller	select HAVE_PERF_REGS
36610cb23bSHelge Deller	select HAVE_PERF_USER_STACK_DUMP
37610cb23bSHelge Deller	select PERF_USE_VMALLOC
38b6adc16eSHelge Deller	select HAVE_KERNEL_BZIP2
39b6adc16eSHelge Deller	select HAVE_KERNEL_GZIP
40b6adc16eSHelge Deller	select HAVE_KERNEL_LZ4
41b6adc16eSHelge Deller	select HAVE_KERNEL_LZMA
42b6adc16eSHelge Deller	select HAVE_KERNEL_LZO
43b6adc16eSHelge Deller	select HAVE_KERNEL_XZ
4464daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
4572e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
46629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
47426b313fSBaoquan He	select GENERIC_IOREMAP
48df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
499a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
5062773112SHelge Deller	select GENERIC_ARCH_TOPOLOGY if SMP
517bd291abSPeter Zijlstra	select ARCH_SUPPORTS_SCHED_MC if SMP && PA8X00
521955c4f8SHelge Deller	select GENERIC_CPU_DEVICES if !SMP
5361c43943SHelge Deller	select GENERIC_LIB_DEVMEM_IS_ALLOWED
54bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
55cbade823SHelge Deller	select SYSCTL_ARCH_UNALIGN_NO_WARN
56fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
57786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
58786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
59415bfae9SAl Viro	select CLONE_BACKWARDS
604f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
61fcbfe812SNiklas Schnelle	select HAS_IOPORT if PCI || EISA
62d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
633033cd43SHelge Deller	select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
643033cd43SHelge Deller	select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT
653033cd43SHelge Deller	select HAVE_ARCH_MMAP_RND_BITS
667a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
67773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
683599bae4SHelge Deller	# select HAVE_ARCH_JUMP_LABEL
693599bae4SHelge Deller	# select HAVE_ARCH_JUMP_LABEL_RELATIVE
70ec5c1150SHelge Deller	select HAVE_ARCH_KFENCE
71910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
7264e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
734800a621SHelge Deller	select HAVE_EBPF_JIT
744800a621SHelge Deller	select ARCH_WANT_DEFAULT_BPF_JIT
7575ebedf1SHelge Deller	select HAVE_REGS_AND_STACK_ACCESS_API
7651e0efe1SThomas Gleixner	select HOTPLUG_CORE_SYNC_DEAD if HOTPLUG_CPU
7743b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
7888b3aac6SHelge Deller	select GENERIC_IRQ_MIGRATION if SMP
7943b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
80b5ff52beSHelge Deller	select GENERIC_CLOCKEVENTS
81fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
822214c0e7SHelge Deller	select THREAD_INFO_IN_TASK
8346231ba5SQi Zheng	select MMU_GATHER_RCU_TABLE_FREE
84f616ab59SChristoph Hellwig	select NEED_DMA_MAP_STATE
8586596f0aSChristoph Hellwig	select NEED_SG_DMA_LENGTH
86eacbfce1SSven Schnelle	select HAVE_ARCH_KGDB
878858ac8eSSven Schnelle	select HAVE_KPROBES
88e0b59b7bSSven Schnelle	select HAVE_KRETPROBES
896ca63662SSven Schnelle	select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
903d1dc719SSami Tolvanen	select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
9152a22e6cSSven Schnelle	select HAVE_KPROBES_ON_FTRACE
9252a22e6cSSven Schnelle	select HAVE_DYNAMIC_FTRACE_WITH_REGS
93cd1a41ceSThomas Gleixner	select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
944aae683fSMasahiro Yamada	select TRACE_IRQFLAGS_SUPPORT
95a257caccSChristophe Leroy	select HAVE_FUNCTION_DESCRIPTORS if 64BIT
964c29ab84SJohn David Anglin	select PCI_MSI_ARCH_FALLBACKS if PCI_MSI
9772e73af1SThomas Gleixner
981da177e4SLinus Torvalds	help
991da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
1001da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
1011da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
10224289f56SHelge Deller	  at <https://parisc.wiki.kernel.org>.
1031da177e4SLinus Torvalds
10474ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
10574ad3d28SBabu Moger	def_bool y
10674ad3d28SBabu Moger
1071da177e4SLinus Torvaldsconfig MMU
1081da177e4SLinus Torvalds	def_bool y
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig STACK_GROWSUP
1111da177e4SLinus Torvalds	def_bool y
1121da177e4SLinus Torvalds
11395c354feSNick Pigginconfig GENERIC_LOCKBREAK
11495c354feSNick Piggin	bool
11595c354feSNick Piggin	default y
11609613e83SThomas Gleixner	depends on SMP && PREEMPTION
11795c354feSNick Piggin
118f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
119f0d1b0b3SDavid Howells	bool
120f0d1b0b3SDavid Howells	default n
121f0d1b0b3SDavid Howells
122f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
123f0d1b0b3SDavid Howells	bool
124f0d1b0b3SDavid Howells	default n
125f0d1b0b3SDavid Howells
1266891f8a1SHelge Dellerconfig GENERIC_BUG
12743266838SHelge Deller	def_bool y
1286891f8a1SHelge Deller	depends on BUG
12943266838SHelge Deller	select GENERIC_BUG_RELATIVE_POINTERS if 64BIT
13043266838SHelge Deller
13143266838SHelge Dellerconfig GENERIC_BUG_RELATIVE_POINTERS
13243266838SHelge Deller	bool
1336891f8a1SHelge Deller
1343dd31a37SHelge Dellerconfig GENERIC_CSUM
1353dd31a37SHelge Deller	def_bool y
1363dd31a37SHelge Deller
13759e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
13859e18a2eSAkinobu Mita	bool
13959e18a2eSAkinobu Mita	default y
14059e18a2eSAkinobu Mita
1411da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
1421da177e4SLinus Torvalds	bool
1431da177e4SLinus Torvalds	default y
1441da177e4SLinus Torvalds
14506027bddSIngo Molnarconfig TIME_LOW_RES
14606027bddSIngo Molnar	bool
14706027bddSIngo Molnar	depends on SMP
14806027bddSIngo Molnar	default y
14906027bddSIngo Molnar
1503033cd43SHelge Dellerconfig ARCH_MMAP_RND_BITS_MIN
1513033cd43SHelge Deller	default 18 if 64BIT
1523033cd43SHelge Deller	default 8
1533033cd43SHelge Deller
1543033cd43SHelge Dellerconfig ARCH_MMAP_RND_COMPAT_BITS_MIN
1553033cd43SHelge Deller	default 8
1563033cd43SHelge Deller
1573033cd43SHelge Dellerconfig ARCH_MMAP_RND_BITS_MAX
1585f74f820SHelge Deller	default 18 if 64BIT
1595f74f820SHelge Deller	default 13
1603033cd43SHelge Deller
1613033cd43SHelge Dellerconfig ARCH_MMAP_RND_COMPAT_BITS_MAX
1625f74f820SHelge Deller	default 13
1633033cd43SHelge Deller
1641da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1651da177e4SLinus Torvaldsconfig PM
1661da177e4SLinus Torvalds	bool
1671da177e4SLinus Torvalds
168548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
169548f1176SHelge Deller	def_bool y
170548f1176SHelge Deller
171adf8e96aSHelge Dellerconfig LOCKDEP_SUPPORT
172adf8e96aSHelge Deller	bool
173adf8e96aSHelge Deller	default y
174adf8e96aSHelge Deller
1755cae841bSAl Viroconfig ISA_DMA_API
1765cae841bSAl Viro	bool
1775cae841bSAl Viro
178a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
179a08b6b79Sviro@ZenIV.linux.org.uk	bool
1808b631342SGrant Grundler	depends on BROKEN
181a08b6b79Sviro@ZenIV.linux.org.uk	default y
182a08b6b79Sviro@ZenIV.linux.org.uk
183f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
184f24ffde4SKirill A. Shutemov	int
185f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
186f24ffde4SKirill A. Shutemov	default 2
187f24ffde4SKirill A. Shutemov
1881da177e4SLinus Torvaldsmenu "Processor type and features"
1891da177e4SLinus Torvalds
1901da177e4SLinus Torvaldschoice
1911da177e4SLinus Torvalds	prompt "Processor type"
1923dcfb729SHelge Deller	default PA7000 if "$(ARCH)" = "parisc"
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig PA7000
1953dcfb729SHelge Deller	bool "PA7000/PA7100" if "$(ARCH)" = "parisc"
196a7f7f624SMasahiro Yamada	help
1971da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1981da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1991da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
2001da177e4SLinus Torvalds	  you can specify "PA7000" here.
2011da177e4SLinus Torvalds
2021da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
2031da177e4SLinus Torvalds	  which is required on some machines.
2041da177e4SLinus Torvalds
2051da177e4SLinus Torvaldsconfig PA7100LC
2063dcfb729SHelge Deller	bool "PA7100LC" if "$(ARCH)" = "parisc"
2071da177e4SLinus Torvalds	help
2081da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
2091da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
2101da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
2111da177e4SLinus Torvalds
2121da177e4SLinus Torvaldsconfig PA7200
2133dcfb729SHelge Deller	bool "PA7200" if "$(ARCH)" = "parisc"
2141da177e4SLinus Torvalds	help
2151da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
2161da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
2171da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvaldsconfig PA7300LC
2203dcfb729SHelge Deller	bool "PA7300LC" if "$(ARCH)" = "parisc"
2211da177e4SLinus Torvalds	help
2221da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
2231da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
2241da177e4SLinus Torvalds	  D220, D230, D320 and D330.
2251da177e4SLinus Torvalds
2261da177e4SLinus Torvaldsconfig PA8X00
2271da177e4SLinus Torvalds	bool "PA8000 and up"
2281da177e4SLinus Torvalds	help
2291da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvaldsendchoice
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds# Define implied options from the CPU selection here
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvaldsconfig PA20
2361da177e4SLinus Torvalds	def_bool y
2371da177e4SLinus Torvalds	depends on PA8X00
2381da177e4SLinus Torvalds
2391da177e4SLinus Torvaldsconfig PA11
2401da177e4SLinus Torvalds	def_bool y
2411da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
242c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_CPU
243c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvaldsconfig PREFETCH
2461da177e4SLinus Torvalds	def_bool y
24732104b29SKyle McMartin	depends on PA8X00 || PA7200
2481da177e4SLinus Torvalds
249778e45d7SHelge Dellerconfig PARISC_HUGE_KERNEL
250778e45d7SHelge Deller	def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST
251778e45d7SHelge Deller
252ec758f98SHelge Dellerconfig MLONGCALLS
253778e45d7SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
254ec758f98SHelge Deller	depends on PA8X00
255cd14b018SMasahiro Yamada	default PARISC_HUGE_KERNEL
256ec758f98SHelge Deller	help
257ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
258ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
259ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
260ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
261ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
262ec758f98SHelge Deller
263ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
264ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
265ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
266ec758f98SHelge Deller
267ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
268ec758f98SHelge Deller
2691da177e4SLinus Torvaldsconfig 64BIT
270805ce861SHelge Deller	bool "64-bit kernel" if "$(ARCH)" = "parisc"
2711da177e4SLinus Torvalds	depends on PA8X00
272cd14b018SMasahiro Yamada	default "$(ARCH)" = "parisc64"
273805ce861SHelge Deller	help
274805ce861SHelge Deller	  Enable this if you want to support 64bit kernel on PA-RISC platform.
275805ce861SHelge Deller
276805ce861SHelge Deller	  At the moment, only people willing to use more than 2GB of RAM,
277805ce861SHelge Deller	  or having a 64bit-only capable PA-RISC machine should say Y here.
278805ce861SHelge Deller
279805ce861SHelge Deller	  Since there is no 64bit userland on PA-RISC, there is no point to
280805ce861SHelge Deller	  enable this option otherwise. The 64bit kernel is significantly bigger
281805ce861SHelge Deller	  and slower than the 32bit one.
2821da177e4SLinus Torvalds
2832fd83038SHelge Dellerchoice
2842fd83038SHelge Deller	prompt "Kernel page size"
2851c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2862fd83038SHelge Deller
2872fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2882fd83038SHelge Deller	bool "4KB"
289d3e5bab9SArnd Bergmann	select HAVE_PAGE_SIZE_4KB
2902fd83038SHelge Deller	help
2912fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2922fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2932fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2942fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2952fd83038SHelge Deller	  with a larger page size).
2962fd83038SHelge Deller
2972fd83038SHelge Deller	  4KB                For best 32bit compatibility
2982fd83038SHelge Deller	  16KB               For best performance
2992fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
3002fd83038SHelge Deller
3012fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
3022fd83038SHelge Deller
3032fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
304daef22cfSKees Cook	bool "16KB"
305d3e5bab9SArnd Bergmann	select HAVE_PAGE_SIZE_16KB
306ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
3072fd83038SHelge Deller
3082fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
309daef22cfSKees Cook	bool "64KB"
310d3e5bab9SArnd Bergmann	select HAVE_PAGE_SIZE_64KB
311ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
3122fd83038SHelge Deller
3132fd83038SHelge Dellerendchoice
3142fd83038SHelge Deller
3151da177e4SLinus Torvaldsconfig SMP
3161da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
317a7f7f624SMasahiro Yamada	help
3181da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
3194a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
3204a474157SRobert Graffham	  than one CPU, say Y.
3211da177e4SLinus Torvalds
3224a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
3232a3f53d5SHelge Deller	  machines, but will use only one CPU of a multiprocessor machine.
3242a3f53d5SHelge Deller	  On a uniprocessor machine, the kernel will run faster if you say N.
3251da177e4SLinus Torvalds
3264f4cfa6cSMauro Carvalho Chehab	  See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
327693a0654SAlexander A. Klimov	  available at <https://www.tldp.org/docs.html#howto>.
3281da177e4SLinus Torvalds
3291da177e4SLinus Torvalds	  If you don't know what to do here, say N.
3301da177e4SLinus Torvalds
331200c8804SHelge Dellerconfig IRQSTACKS
332200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
333416821d3SHelge Deller	default y
334200c8804SHelge Deller	help
335200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
336200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
337200c8804SHelge Deller	  overflowing the process kernel stacks.
338200c8804SHelge Deller
3391da177e4SLinus Torvaldsconfig HOTPLUG_CPU
3401da177e4SLinus Torvalds	bool
3411da177e4SLinus Torvalds	default y if SMP
3421da177e4SLinus Torvalds
343a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
344a2ba82cdSKyle McMartin	def_bool y
345a2ba82cdSKyle McMartin	depends on 64BIT
346a2ba82cdSKyle McMartin
347dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_ENABLE
348a2ba82cdSKyle McMartin	def_bool y
349a2ba82cdSKyle McMartin	depends on 64BIT
350a2ba82cdSKyle McMartin
351a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
352a2ba82cdSKyle McMartin	def_bool y
353a2ba82cdSKyle McMartin
354dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_DEFAULT
355a2ba82cdSKyle McMartin	def_bool y
356dbdf0760SHelge Deller	depends on ARCH_SPARSEMEM_ENABLE
357c80d79d7SYasunori Goto
3588b631342SGrant Grundlersource "kernel/Kconfig.hz"
3593f22ab27SDave Hansen
3601da177e4SLinus Torvaldsconfig COMPAT
361bc4021c4SHelge Deller	bool "Kernel support for 32-bit binaries"
362bc4021c4SHelge Deller	default 64BIT
3631da177e4SLinus Torvalds	depends on 64BIT
3641da177e4SLinus Torvalds
365527973c8SHelge Dellerconfig AUDIT_ARCH
366527973c8SHelge Deller	def_bool y
367527973c8SHelge Deller
3681da177e4SLinus Torvaldsconfig NR_CPUS
3691da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3701da177e4SLinus Torvalds	range 2 32
3711da177e4SLinus Torvalds	depends on SMP
372c9cc4542SHelge Deller	default "8" if 64BIT
37368d247adSHelge Deller	default "16"
3741da177e4SLinus Torvalds
3751da177e4SLinus Torvaldsendmenu
3761da177e4SLinus Torvalds
377b9bf5cb1SEric DeVolderconfig ARCH_SUPPORTS_KEXEC
378b9bf5cb1SEric DeVolder	def_bool y
379b9bf5cb1SEric DeVolder
380b9bf5cb1SEric DeVolderconfig ARCH_SUPPORTS_KEXEC_FILE
381b9bf5cb1SEric DeVolder	def_bool y
382b9bf5cb1SEric DeVolder
383b9bf5cb1SEric DeVolderconfig ARCH_SELECTS_KEXEC_FILE
384b9bf5cb1SEric DeVolder	def_bool y
385b9bf5cb1SEric DeVolder	depends on KEXEC_FILE
386b9bf5cb1SEric DeVolder	select KEXEC_ELF
387b9bf5cb1SEric DeVolder
3881da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
389