xref: /linux/arch/parisc/Kconfig (revision 2214c0e77259b420402e279e9ab4277ef320d371)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig PARISC
31da177e4SLinus Torvalds	def_bool y
4942fa985SYury Norov	select ARCH_32BIT_OFF_T if !64BIT
54a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
6366dd4eaSHelge Deller	select HAVE_FUNCTION_TRACER
7366dd4eaSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER
8fc79168aSHelge Deller	select HAVE_SYSCALL_TRACEPOINTS
94530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
1018d98a79SHelge Deller	select ARCH_HAS_ELF_RANDOMIZE
11ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
12e35a2ce6SHelge Deller	select ARCH_HAS_UBSAN_SANITIZE_ALL
137c703e54SChristoph Hellwig	select ARCH_NO_SG_CHAIN
14855f9a8eSAnshuman Khandual	select ARCH_SUPPORTS_HUGETLBFS if PA20
1554ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
16aeb1e833SHelge Deller	select ARCH_STACKWALK
17aeb1e833SHelge Deller	select HAVE_RELIABLE_STACKTRACE
182f9237d4SChristoph Hellwig	select DMA_OPS
199eb16864SKyle McMartin	select RTC_CLASS
203afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
2198a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
22f67d3c83SKyle McMartin	select BUG
2310916706SShile Zhang	select BUILDTIME_TABLE_SORT
24eb01d42aSChristoph Hellwig	select HAVE_PCI
25cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
26b6adc16eSHelge Deller	select HAVE_KERNEL_BZIP2
27b6adc16eSHelge Deller	select HAVE_KERNEL_GZIP
28b6adc16eSHelge Deller	select HAVE_KERNEL_LZ4
29b6adc16eSHelge Deller	select HAVE_KERNEL_LZMA
30b6adc16eSHelge Deller	select HAVE_KERNEL_LZO
31b6adc16eSHelge Deller	select HAVE_KERNEL_XZ
3264daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
3372e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
34629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
35df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
369a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
37bf7b4c1bSHelge Deller	select GENERIC_CPU_DEVICES
3861c43943SHelge Deller	select GENERIC_LIB_DEVMEM_IS_ALLOWED
39bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
40fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
41786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
424febd95aSStephen Rothwell	select VIRT_TO_BUS
43786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
44415bfae9SAl Viro	select CLONE_BACKWARDS
454f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
46d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
477a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
48773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
4962217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL
5062217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL_RELATIVE
51ec5c1150SHelge Deller	select HAVE_ARCH_KFENCE
52910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
5364e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
5475ebedf1SHelge Deller	select HAVE_REGS_AND_STACK_ACCESS_API
5543b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
5643b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
57686092e7SArnd Bergmann	select LEGACY_TIMER_TICK
58fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
59*2214c0e7SHelge Deller	select THREAD_INFO_IN_TASK
60f616ab59SChristoph Hellwig	select NEED_DMA_MAP_STATE
6186596f0aSChristoph Hellwig	select NEED_SG_DMA_LENGTH
62eacbfce1SSven Schnelle	select HAVE_ARCH_KGDB
638858ac8eSSven Schnelle	select HAVE_KPROBES
64e0b59b7bSSven Schnelle	select HAVE_KRETPROBES
656ca63662SSven Schnelle	select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
666ca63662SSven Schnelle	select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
673d1dc719SSami Tolvanen	select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
6852a22e6cSSven Schnelle	select HAVE_KPROBES_ON_FTRACE
6952a22e6cSSven Schnelle	select HAVE_DYNAMIC_FTRACE_WITH_REGS
70cd1a41ceSThomas Gleixner	select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
714aae683fSMasahiro Yamada	select TRACE_IRQFLAGS_SUPPORT
7272e73af1SThomas Gleixner
731da177e4SLinus Torvalds	help
741da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
751da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
761da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
7724289f56SHelge Deller	  at <https://parisc.wiki.kernel.org>.
781da177e4SLinus Torvalds
7974ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
8074ad3d28SBabu Moger	def_bool y
8174ad3d28SBabu Moger
821da177e4SLinus Torvaldsconfig MMU
831da177e4SLinus Torvalds	def_bool y
841da177e4SLinus Torvalds
851da177e4SLinus Torvaldsconfig STACK_GROWSUP
861da177e4SLinus Torvalds	def_bool y
871da177e4SLinus Torvalds
88ededa081SHelge Dellerconfig ARCH_DEFCONFIG
89ededa081SHelge Deller	string
90ededa081SHelge Deller	default "arch/parisc/configs/generic-32bit_defconfig" if !64BIT
91ededa081SHelge Deller	default "arch/parisc/configs/generic-64bit_defconfig" if 64BIT
92ededa081SHelge Deller
9395c354feSNick Pigginconfig GENERIC_LOCKBREAK
9495c354feSNick Piggin	bool
9595c354feSNick Piggin	default y
9609613e83SThomas Gleixner	depends on SMP && PREEMPTION
9795c354feSNick Piggin
98f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
99f0d1b0b3SDavid Howells	bool
100f0d1b0b3SDavid Howells	default n
101f0d1b0b3SDavid Howells
102f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
103f0d1b0b3SDavid Howells	bool
104f0d1b0b3SDavid Howells	default n
105f0d1b0b3SDavid Howells
1066891f8a1SHelge Dellerconfig GENERIC_BUG
1076891f8a1SHelge Deller	bool
1086891f8a1SHelge Deller	default y
1096891f8a1SHelge Deller	depends on BUG
1106891f8a1SHelge Deller
11159e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
11259e18a2eSAkinobu Mita	bool
11359e18a2eSAkinobu Mita	default y
11459e18a2eSAkinobu Mita
1151da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
1161da177e4SLinus Torvalds	bool
1171da177e4SLinus Torvalds	default y
1181da177e4SLinus Torvalds
11906027bddSIngo Molnarconfig TIME_LOW_RES
12006027bddSIngo Molnar	bool
12106027bddSIngo Molnar	depends on SMP
12206027bddSIngo Molnar	default y
12306027bddSIngo Molnar
1241da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1251da177e4SLinus Torvaldsconfig PM
1261da177e4SLinus Torvalds	bool
1271da177e4SLinus Torvalds
128548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
129548f1176SHelge Deller	def_bool y
130548f1176SHelge Deller
1315cae841bSAl Viroconfig ISA_DMA_API
1325cae841bSAl Viro	bool
1335cae841bSAl Viro
134a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
135a08b6b79Sviro@ZenIV.linux.org.uk	bool
1368b631342SGrant Grundler	depends on BROKEN
137a08b6b79Sviro@ZenIV.linux.org.uk	default y
138a08b6b79Sviro@ZenIV.linux.org.uk
139f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
140f24ffde4SKirill A. Shutemov	int
141f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
142f24ffde4SKirill A. Shutemov	default 2
143f24ffde4SKirill A. Shutemov
1441da177e4SLinus Torvaldsmenu "Processor type and features"
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldschoice
1471da177e4SLinus Torvalds	prompt "Processor type"
1481da177e4SLinus Torvalds	default PA7000
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvaldsconfig PA7000
1511da177e4SLinus Torvalds	bool "PA7000/PA7100"
152a7f7f624SMasahiro Yamada	help
1531da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1541da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1551da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1561da177e4SLinus Torvalds	  you can specify "PA7000" here.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1591da177e4SLinus Torvalds	  which is required on some machines.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvaldsconfig PA7100LC
1621da177e4SLinus Torvalds	bool "PA7100LC"
1631da177e4SLinus Torvalds	help
1641da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1651da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1661da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvaldsconfig PA7200
1691da177e4SLinus Torvalds	bool "PA7200"
1701da177e4SLinus Torvalds	help
1711da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1721da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1731da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig PA7300LC
1761da177e4SLinus Torvalds	bool "PA7300LC"
1771da177e4SLinus Torvalds	help
1781da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1791da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1801da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig PA8X00
1831da177e4SLinus Torvalds	bool "PA8000 and up"
1841da177e4SLinus Torvalds	help
1851da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvaldsendchoice
1881da177e4SLinus Torvalds
1891da177e4SLinus Torvalds# Define implied options from the CPU selection here
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvaldsconfig PA20
1921da177e4SLinus Torvalds	def_bool y
1931da177e4SLinus Torvalds	depends on PA8X00
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvaldsconfig PA11
1961da177e4SLinus Torvalds	def_bool y
1971da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
198c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_CPU
199c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
2001da177e4SLinus Torvalds
2011da177e4SLinus Torvaldsconfig PREFETCH
2021da177e4SLinus Torvalds	def_bool y
20332104b29SKyle McMartin	depends on PA8X00 || PA7200
2041da177e4SLinus Torvalds
205778e45d7SHelge Dellerconfig PARISC_HUGE_KERNEL
206778e45d7SHelge Deller	def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST
207778e45d7SHelge Deller
208ec758f98SHelge Dellerconfig MLONGCALLS
209778e45d7SHelge Deller	def_bool y if PARISC_HUGE_KERNEL
210778e45d7SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
211ec758f98SHelge Deller	depends on PA8X00
212ec758f98SHelge Deller	help
213ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
214ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
215ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
216ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
217ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
218ec758f98SHelge Deller
219ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
220ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
221ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
222ec758f98SHelge Deller
223ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
224ec758f98SHelge Deller
2251da177e4SLinus Torvaldsconfig 64BIT
2261da177e4SLinus Torvalds	bool "64-bit kernel"
2271da177e4SLinus Torvalds	depends on PA8X00
2281da177e4SLinus Torvalds	help
2291da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2321da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2331da177e4SLinus Torvalds
2341da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2351da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2361da177e4SLinus Torvalds	  and slower than the 32bit one.
2371da177e4SLinus Torvalds
2382fd83038SHelge Dellerchoice
2392fd83038SHelge Deller	prompt "Kernel page size"
2401c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2412fd83038SHelge Deller
2422fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2432fd83038SHelge Deller	bool "4KB"
2442fd83038SHelge Deller	help
2452fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2462fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2472fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2482fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2492fd83038SHelge Deller	  with a larger page size).
2502fd83038SHelge Deller
2512fd83038SHelge Deller	  4KB                For best 32bit compatibility
2522fd83038SHelge Deller	  16KB               For best performance
2532fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2542fd83038SHelge Deller
2552fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2562fd83038SHelge Deller
2572fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
258daef22cfSKees Cook	bool "16KB"
259ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
2602fd83038SHelge Deller
2612fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
262daef22cfSKees Cook	bool "64KB"
263ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
2642fd83038SHelge Deller
2652fd83038SHelge Dellerendchoice
2662fd83038SHelge Deller
267af21b01dSHelge Dellerconfig PARISC_SELF_EXTRACT
268af21b01dSHelge Deller	bool "Build kernel as self-extracting executable"
269af21b01dSHelge Deller	default y
270af21b01dSHelge Deller	help
271af21b01dSHelge Deller	  Say Y if you want to build the parisc kernel as a kind of
272af21b01dSHelge Deller	  self-extracting executable.
273af21b01dSHelge Deller
274af21b01dSHelge Deller	  If you say N here, the kernel will be compressed with gzip
275af21b01dSHelge Deller	  which can be loaded by the palo bootloader directly too.
276af21b01dSHelge Deller
277af21b01dSHelge Deller	  If you don't know what to do here, say Y.
278af21b01dSHelge Deller
2791da177e4SLinus Torvaldsconfig SMP
2801da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
281a7f7f624SMasahiro Yamada	help
2821da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2834a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2844a474157SRobert Graffham	  than one CPU, say Y.
2851da177e4SLinus Torvalds
2864a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2872a3f53d5SHelge Deller	  machines, but will use only one CPU of a multiprocessor machine.
2882a3f53d5SHelge Deller	  On a uniprocessor machine, the kernel will run faster if you say N.
2891da177e4SLinus Torvalds
2904f4cfa6cSMauro Carvalho Chehab	  See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
291693a0654SAlexander A. Klimov	  available at <https://www.tldp.org/docs.html#howto>.
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2941da177e4SLinus Torvalds
295bc294838SSven Schnelleconfig TOC
296bc294838SSven Schnelle	bool "Support TOC switch"
297bc294838SSven Schnelle	default y if 64BIT || !SMP
298bc294838SSven Schnelle	help
299bc294838SSven Schnelle	  Most PA-RISC machines have either a switch at the back of the machine
300bc294838SSven Schnelle	  or a command in BMC to trigger a TOC interrupt. If you say Y here a
301bc294838SSven Schnelle	  handler will be installed which will either show a backtrace on all
302bc294838SSven Schnelle	  CPUs, or enter a possible configured debugger like kgdb/kdb.
303bc294838SSven Schnelle
304bc294838SSven Schnelle	  Note that with this option enabled, the kernel will use an additional 16KB
305bc294838SSven Schnelle	  per possible CPU as a special stack for the TOC handler.
306bc294838SSven Schnelle
307bc294838SSven Schnelle	  If you don't want to debug the Kernel, say N.
308bc294838SSven Schnelle
309bf7b4c1bSHelge Dellerconfig PARISC_CPU_TOPOLOGY
310bf7b4c1bSHelge Deller	bool "Support cpu topology definition"
311bf7b4c1bSHelge Deller	depends on SMP
312bf7b4c1bSHelge Deller	default y
313bf7b4c1bSHelge Deller	help
314bf7b4c1bSHelge Deller	  Support PARISC cpu topology definition.
315bf7b4c1bSHelge Deller
316bf7b4c1bSHelge Dellerconfig SCHED_MC
317bf7b4c1bSHelge Deller	bool "Multi-core scheduler support"
318bf7b4c1bSHelge Deller	depends on PARISC_CPU_TOPOLOGY && PA8X00
319bf7b4c1bSHelge Deller	help
320bf7b4c1bSHelge Deller	  Multi-core scheduler support improves the CPU scheduler's decision
321bf7b4c1bSHelge Deller	  making when dealing with multi-core CPU chips at a cost of slightly
322bf7b4c1bSHelge Deller	  increased overhead in some places. If unsure say N here.
323bf7b4c1bSHelge Deller
324200c8804SHelge Dellerconfig IRQSTACKS
325200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
326416821d3SHelge Deller	default y
327200c8804SHelge Deller	help
328200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
329200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
330200c8804SHelge Deller	  overflowing the process kernel stacks.
331200c8804SHelge Deller
332b7795074SHelge Dellerconfig TLB_PTLOCK
333b7795074SHelge Deller	bool "Use page table locks in TLB fault handler"
334b7795074SHelge Deller	depends on SMP
335b7795074SHelge Deller	default n
336b7795074SHelge Deller	help
337b7795074SHelge Deller	  Select this option to enable page table locking in the TLB
338b7795074SHelge Deller	  fault handler. This ensures that page table entries are
339b7795074SHelge Deller	  updated consistently on SMP machines at the expense of some
340b7795074SHelge Deller	  loss in performance.
341b7795074SHelge Deller
3421da177e4SLinus Torvaldsconfig HOTPLUG_CPU
3431da177e4SLinus Torvalds	bool
3441da177e4SLinus Torvalds	default y if SMP
3451da177e4SLinus Torvalds
346a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
347a2ba82cdSKyle McMartin	def_bool y
348a2ba82cdSKyle McMartin	depends on 64BIT
349a2ba82cdSKyle McMartin
350dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_ENABLE
351a2ba82cdSKyle McMartin	def_bool y
352a2ba82cdSKyle McMartin	depends on 64BIT
353a2ba82cdSKyle McMartin
354a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
355a2ba82cdSKyle McMartin	def_bool y
356a2ba82cdSKyle McMartin
357dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_DEFAULT
358a2ba82cdSKyle McMartin	def_bool y
359dbdf0760SHelge Deller	depends on ARCH_SPARSEMEM_ENABLE
360c80d79d7SYasunori Goto
3618b631342SGrant Grundlersource "kernel/Kconfig.hz"
3623f22ab27SDave Hansen
3631da177e4SLinus Torvaldsconfig COMPAT
3641da177e4SLinus Torvalds	def_bool y
3651da177e4SLinus Torvalds	depends on 64BIT
3661da177e4SLinus Torvalds
367bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
368bf581e15SHelge Deller	def_bool y
369bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
370bf581e15SHelge Deller
371527973c8SHelge Dellerconfig AUDIT_ARCH
372527973c8SHelge Deller	def_bool y
373527973c8SHelge Deller
3741da177e4SLinus Torvaldsconfig NR_CPUS
3751da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3761da177e4SLinus Torvalds	range 2 32
3771da177e4SLinus Torvalds	depends on SMP
378435d34c7SHelge Deller	default "4"
3791da177e4SLinus Torvalds
380fc697dc0SSven Schnelleconfig KEXEC
381fc697dc0SSven Schnelle	bool "Kexec system call"
382fc697dc0SSven Schnelle	select KEXEC_CORE
383fc697dc0SSven Schnelle	help
384fc697dc0SSven Schnelle	  kexec is a system call that implements the ability to shutdown your
385fc697dc0SSven Schnelle	  current kernel, and to start another kernel.  It is like a reboot
386fc697dc0SSven Schnelle	  but it is independent of the system firmware.   And like a reboot
387fc697dc0SSven Schnelle	  you can start any kernel with it, not just Linux.
388fc697dc0SSven Schnelle
389fc697dc0SSven Schnelle	  It is an ongoing process to be certain the hardware in a machine
390fc697dc0SSven Schnelle	  shutdown, so do not be surprised if this code does not
391fc697dc0SSven Schnelle	  initially work for you.
392fc697dc0SSven Schnelle
3931191cf49SSven Schnelleconfig KEXEC_FILE
3941191cf49SSven Schnelle	bool "kexec file based system call"
3951191cf49SSven Schnelle	select KEXEC_CORE
3961191cf49SSven Schnelle	select KEXEC_ELF
3971191cf49SSven Schnelle	help
3981191cf49SSven Schnelle	  This enables the kexec_file_load() System call. This is
3991191cf49SSven Schnelle	  file based and takes file descriptors as system call argument
4001191cf49SSven Schnelle	  for kernel and initramfs as opposed to list of segments as
4011191cf49SSven Schnelle	  accepted by previous system call.
4021191cf49SSven Schnelle
4031da177e4SLinus Torvaldsendmenu
4041da177e4SLinus Torvalds
4051da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
406