xref: /linux/arch/parisc/Kconfig (revision df24e1783e6e0eb3dc0e3ba5a8df3bb0cc537408)
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
13*df24e178SHelge Deller	select ARCH_HAS_PTE_SPECIAL
147c703e54SChristoph Hellwig	select ARCH_NO_SG_CHAIN
15855f9a8eSAnshuman Khandual	select ARCH_SUPPORTS_HUGETLBFS if PA20
1654ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
17aeb1e833SHelge Deller	select ARCH_STACKWALK
18aeb1e833SHelge Deller	select HAVE_RELIABLE_STACKTRACE
192f9237d4SChristoph Hellwig	select DMA_OPS
209eb16864SKyle McMartin	select RTC_CLASS
213afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
2298a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
23f67d3c83SKyle McMartin	select BUG
2410916706SShile Zhang	select BUILDTIME_TABLE_SORT
25eb01d42aSChristoph Hellwig	select HAVE_PCI
26cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
27b6adc16eSHelge Deller	select HAVE_KERNEL_BZIP2
28b6adc16eSHelge Deller	select HAVE_KERNEL_GZIP
29b6adc16eSHelge Deller	select HAVE_KERNEL_LZ4
30b6adc16eSHelge Deller	select HAVE_KERNEL_LZMA
31b6adc16eSHelge Deller	select HAVE_KERNEL_LZO
32b6adc16eSHelge Deller	select HAVE_KERNEL_XZ
3364daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
3472e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
35629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
36df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
379a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
38bf7b4c1bSHelge Deller	select GENERIC_CPU_DEVICES
3961c43943SHelge Deller	select GENERIC_LIB_DEVMEM_IS_ALLOWED
40bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
41fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
42786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
434febd95aSStephen Rothwell	select VIRT_TO_BUS
44786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
45415bfae9SAl Viro	select CLONE_BACKWARDS
464f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
47d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
487a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
49773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
5062217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL
5162217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL_RELATIVE
52ec5c1150SHelge Deller	select HAVE_ARCH_KFENCE
53910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
5464e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
5575ebedf1SHelge Deller	select HAVE_REGS_AND_STACK_ACCESS_API
5643b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
5743b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
58686092e7SArnd Bergmann	select LEGACY_TIMER_TICK
59fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
602214c0e7SHelge Deller	select THREAD_INFO_IN_TASK
61f616ab59SChristoph Hellwig	select NEED_DMA_MAP_STATE
6286596f0aSChristoph Hellwig	select NEED_SG_DMA_LENGTH
63eacbfce1SSven Schnelle	select HAVE_ARCH_KGDB
648858ac8eSSven Schnelle	select HAVE_KPROBES
65e0b59b7bSSven Schnelle	select HAVE_KRETPROBES
666ca63662SSven Schnelle	select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
676ca63662SSven Schnelle	select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
683d1dc719SSami Tolvanen	select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
6952a22e6cSSven Schnelle	select HAVE_KPROBES_ON_FTRACE
7052a22e6cSSven Schnelle	select HAVE_DYNAMIC_FTRACE_WITH_REGS
71cd1a41ceSThomas Gleixner	select HAVE_SOFTIRQ_ON_OWN_STACK if IRQSTACKS
724aae683fSMasahiro Yamada	select TRACE_IRQFLAGS_SUPPORT
7372e73af1SThomas Gleixner
741da177e4SLinus Torvalds	help
751da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
761da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
771da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
7824289f56SHelge Deller	  at <https://parisc.wiki.kernel.org>.
791da177e4SLinus Torvalds
8074ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
8174ad3d28SBabu Moger	def_bool y
8274ad3d28SBabu Moger
831da177e4SLinus Torvaldsconfig MMU
841da177e4SLinus Torvalds	def_bool y
851da177e4SLinus Torvalds
861da177e4SLinus Torvaldsconfig STACK_GROWSUP
871da177e4SLinus Torvalds	def_bool y
881da177e4SLinus Torvalds
8995c354feSNick Pigginconfig GENERIC_LOCKBREAK
9095c354feSNick Piggin	bool
9195c354feSNick Piggin	default y
9209613e83SThomas Gleixner	depends on SMP && PREEMPTION
9395c354feSNick Piggin
94f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
95f0d1b0b3SDavid Howells	bool
96f0d1b0b3SDavid Howells	default n
97f0d1b0b3SDavid Howells
98f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
99f0d1b0b3SDavid Howells	bool
100f0d1b0b3SDavid Howells	default n
101f0d1b0b3SDavid Howells
1026891f8a1SHelge Dellerconfig GENERIC_BUG
1036891f8a1SHelge Deller	bool
1046891f8a1SHelge Deller	default y
1056891f8a1SHelge Deller	depends on BUG
1066891f8a1SHelge Deller
10759e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
10859e18a2eSAkinobu Mita	bool
10959e18a2eSAkinobu Mita	default y
11059e18a2eSAkinobu Mita
1111da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
1121da177e4SLinus Torvalds	bool
1131da177e4SLinus Torvalds	default y
1141da177e4SLinus Torvalds
11506027bddSIngo Molnarconfig TIME_LOW_RES
11606027bddSIngo Molnar	bool
11706027bddSIngo Molnar	depends on SMP
11806027bddSIngo Molnar	default y
11906027bddSIngo Molnar
1201da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1211da177e4SLinus Torvaldsconfig PM
1221da177e4SLinus Torvalds	bool
1231da177e4SLinus Torvalds
124548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
125548f1176SHelge Deller	def_bool y
126548f1176SHelge Deller
1275cae841bSAl Viroconfig ISA_DMA_API
1285cae841bSAl Viro	bool
1295cae841bSAl Viro
130a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
131a08b6b79Sviro@ZenIV.linux.org.uk	bool
1328b631342SGrant Grundler	depends on BROKEN
133a08b6b79Sviro@ZenIV.linux.org.uk	default y
134a08b6b79Sviro@ZenIV.linux.org.uk
135f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
136f24ffde4SKirill A. Shutemov	int
137f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
138f24ffde4SKirill A. Shutemov	default 2
139f24ffde4SKirill A. Shutemov
1401da177e4SLinus Torvaldsmenu "Processor type and features"
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvaldschoice
1431da177e4SLinus Torvalds	prompt "Processor type"
1441da177e4SLinus Torvalds	default PA7000
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldsconfig PA7000
1471da177e4SLinus Torvalds	bool "PA7000/PA7100"
148a7f7f624SMasahiro Yamada	help
1491da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1501da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1511da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1521da177e4SLinus Torvalds	  you can specify "PA7000" here.
1531da177e4SLinus Torvalds
1541da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1551da177e4SLinus Torvalds	  which is required on some machines.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig PA7100LC
1581da177e4SLinus Torvalds	bool "PA7100LC"
1591da177e4SLinus Torvalds	help
1601da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1611da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1621da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig PA7200
1651da177e4SLinus Torvalds	bool "PA7200"
1661da177e4SLinus Torvalds	help
1671da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1681da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1691da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvaldsconfig PA7300LC
1721da177e4SLinus Torvalds	bool "PA7300LC"
1731da177e4SLinus Torvalds	help
1741da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1751da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1761da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvaldsconfig PA8X00
1791da177e4SLinus Torvalds	bool "PA8000 and up"
1801da177e4SLinus Torvalds	help
1811da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvaldsendchoice
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvalds# Define implied options from the CPU selection here
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvaldsconfig PA20
1881da177e4SLinus Torvalds	def_bool y
1891da177e4SLinus Torvalds	depends on PA8X00
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvaldsconfig PA11
1921da177e4SLinus Torvalds	def_bool y
1931da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
194c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_CPU
195c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvaldsconfig PREFETCH
1981da177e4SLinus Torvalds	def_bool y
19932104b29SKyle McMartin	depends on PA8X00 || PA7200
2001da177e4SLinus Torvalds
201778e45d7SHelge Dellerconfig PARISC_HUGE_KERNEL
202778e45d7SHelge Deller	def_bool y if !MODULES || UBSAN || FTRACE || COMPILE_TEST
203778e45d7SHelge Deller
204ec758f98SHelge Dellerconfig MLONGCALLS
205778e45d7SHelge Deller	def_bool y if PARISC_HUGE_KERNEL
206778e45d7SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels" if !PARISC_HUGE_KERNEL
207ec758f98SHelge Deller	depends on PA8X00
208ec758f98SHelge Deller	help
209ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
210ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
211ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
212ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
213ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
214ec758f98SHelge Deller
215ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
216ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
217ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
218ec758f98SHelge Deller
219ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
220ec758f98SHelge Deller
2211da177e4SLinus Torvaldsconfig 64BIT
2221da177e4SLinus Torvalds	bool "64-bit kernel"
2231da177e4SLinus Torvalds	depends on PA8X00
2241da177e4SLinus Torvalds	help
2251da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2261da177e4SLinus Torvalds
2271da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2281da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2311da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2321da177e4SLinus Torvalds	  and slower than the 32bit one.
2331da177e4SLinus Torvalds
2342fd83038SHelge Dellerchoice
2352fd83038SHelge Deller	prompt "Kernel page size"
2361c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2372fd83038SHelge Deller
2382fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2392fd83038SHelge Deller	bool "4KB"
2402fd83038SHelge Deller	help
2412fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2422fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2432fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2442fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2452fd83038SHelge Deller	  with a larger page size).
2462fd83038SHelge Deller
2472fd83038SHelge Deller	  4KB                For best 32bit compatibility
2482fd83038SHelge Deller	  16KB               For best performance
2492fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2502fd83038SHelge Deller
2512fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2522fd83038SHelge Deller
2532fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
254daef22cfSKees Cook	bool "16KB"
255ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
2562fd83038SHelge Deller
2572fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
258daef22cfSKees Cook	bool "64KB"
259ec5c1150SHelge Deller	depends on PA8X00 && BROKEN && !KFENCE
2602fd83038SHelge Deller
2612fd83038SHelge Dellerendchoice
2622fd83038SHelge Deller
263af21b01dSHelge Dellerconfig PARISC_SELF_EXTRACT
264af21b01dSHelge Deller	bool "Build kernel as self-extracting executable"
265af21b01dSHelge Deller	default y
266af21b01dSHelge Deller	help
267af21b01dSHelge Deller	  Say Y if you want to build the parisc kernel as a kind of
268af21b01dSHelge Deller	  self-extracting executable.
269af21b01dSHelge Deller
270af21b01dSHelge Deller	  If you say N here, the kernel will be compressed with gzip
271af21b01dSHelge Deller	  which can be loaded by the palo bootloader directly too.
272af21b01dSHelge Deller
273af21b01dSHelge Deller	  If you don't know what to do here, say Y.
274af21b01dSHelge Deller
2751da177e4SLinus Torvaldsconfig SMP
2761da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
277a7f7f624SMasahiro Yamada	help
2781da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2794a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2804a474157SRobert Graffham	  than one CPU, say Y.
2811da177e4SLinus Torvalds
2824a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2832a3f53d5SHelge Deller	  machines, but will use only one CPU of a multiprocessor machine.
2842a3f53d5SHelge Deller	  On a uniprocessor machine, the kernel will run faster if you say N.
2851da177e4SLinus Torvalds
2864f4cfa6cSMauro Carvalho Chehab	  See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
287693a0654SAlexander A. Klimov	  available at <https://www.tldp.org/docs.html#howto>.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2901da177e4SLinus Torvalds
291bf7b4c1bSHelge Dellerconfig PARISC_CPU_TOPOLOGY
292bf7b4c1bSHelge Deller	bool "Support cpu topology definition"
293bf7b4c1bSHelge Deller	depends on SMP
294bf7b4c1bSHelge Deller	default y
295bf7b4c1bSHelge Deller	help
296bf7b4c1bSHelge Deller	  Support PARISC cpu topology definition.
297bf7b4c1bSHelge Deller
298bf7b4c1bSHelge Dellerconfig SCHED_MC
299bf7b4c1bSHelge Deller	bool "Multi-core scheduler support"
300bf7b4c1bSHelge Deller	depends on PARISC_CPU_TOPOLOGY && PA8X00
301bf7b4c1bSHelge Deller	help
302bf7b4c1bSHelge Deller	  Multi-core scheduler support improves the CPU scheduler's decision
303bf7b4c1bSHelge Deller	  making when dealing with multi-core CPU chips at a cost of slightly
304bf7b4c1bSHelge Deller	  increased overhead in some places. If unsure say N here.
305bf7b4c1bSHelge Deller
306200c8804SHelge Dellerconfig IRQSTACKS
307200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
308416821d3SHelge Deller	default y
309200c8804SHelge Deller	help
310200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
311200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
312200c8804SHelge Deller	  overflowing the process kernel stacks.
313200c8804SHelge Deller
314b7795074SHelge Dellerconfig TLB_PTLOCK
315b7795074SHelge Deller	bool "Use page table locks in TLB fault handler"
316b7795074SHelge Deller	depends on SMP
317b7795074SHelge Deller	default n
318b7795074SHelge Deller	help
319b7795074SHelge Deller	  Select this option to enable page table locking in the TLB
320b7795074SHelge Deller	  fault handler. This ensures that page table entries are
321b7795074SHelge Deller	  updated consistently on SMP machines at the expense of some
322b7795074SHelge Deller	  loss in performance.
323b7795074SHelge Deller
3241da177e4SLinus Torvaldsconfig HOTPLUG_CPU
3251da177e4SLinus Torvalds	bool
3261da177e4SLinus Torvalds	default y if SMP
3271da177e4SLinus Torvalds
328a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
329a2ba82cdSKyle McMartin	def_bool y
330a2ba82cdSKyle McMartin	depends on 64BIT
331a2ba82cdSKyle McMartin
332dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_ENABLE
333a2ba82cdSKyle McMartin	def_bool y
334a2ba82cdSKyle McMartin	depends on 64BIT
335a2ba82cdSKyle McMartin
336a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
337a2ba82cdSKyle McMartin	def_bool y
338a2ba82cdSKyle McMartin
339dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_DEFAULT
340a2ba82cdSKyle McMartin	def_bool y
341dbdf0760SHelge Deller	depends on ARCH_SPARSEMEM_ENABLE
342c80d79d7SYasunori Goto
3438b631342SGrant Grundlersource "kernel/Kconfig.hz"
3443f22ab27SDave Hansen
3451da177e4SLinus Torvaldsconfig COMPAT
3461da177e4SLinus Torvalds	def_bool y
3471da177e4SLinus Torvalds	depends on 64BIT
3481da177e4SLinus Torvalds
349bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
350bf581e15SHelge Deller	def_bool y
351bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
352bf581e15SHelge Deller
353527973c8SHelge Dellerconfig AUDIT_ARCH
354527973c8SHelge Deller	def_bool y
355527973c8SHelge Deller
3561da177e4SLinus Torvaldsconfig NR_CPUS
3571da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3581da177e4SLinus Torvalds	range 2 32
3591da177e4SLinus Torvalds	depends on SMP
36068d247adSHelge Deller	default "4" if 64BIT
36168d247adSHelge Deller	default "16"
3621da177e4SLinus Torvalds
363fc697dc0SSven Schnelleconfig KEXEC
364fc697dc0SSven Schnelle	bool "Kexec system call"
365fc697dc0SSven Schnelle	select KEXEC_CORE
366fc697dc0SSven Schnelle	help
367fc697dc0SSven Schnelle	  kexec is a system call that implements the ability to shutdown your
368fc697dc0SSven Schnelle	  current kernel, and to start another kernel.  It is like a reboot
369fc697dc0SSven Schnelle	  but it is independent of the system firmware.   And like a reboot
370fc697dc0SSven Schnelle	  you can start any kernel with it, not just Linux.
371fc697dc0SSven Schnelle
372fc697dc0SSven Schnelle	  It is an ongoing process to be certain the hardware in a machine
373fc697dc0SSven Schnelle	  shutdown, so do not be surprised if this code does not
374fc697dc0SSven Schnelle	  initially work for you.
375fc697dc0SSven Schnelle
3761191cf49SSven Schnelleconfig KEXEC_FILE
3771191cf49SSven Schnelle	bool "kexec file based system call"
3781191cf49SSven Schnelle	select KEXEC_CORE
3791191cf49SSven Schnelle	select KEXEC_ELF
3801191cf49SSven Schnelle	help
3811191cf49SSven Schnelle	  This enables the kexec_file_load() System call. This is
3821191cf49SSven Schnelle	  file based and takes file descriptors as system call argument
3831191cf49SSven Schnelle	  for kernel and initramfs as opposed to list of segments as
3841191cf49SSven Schnelle	  accepted by previous system call.
3851191cf49SSven Schnelle
3861da177e4SLinus Torvaldsendmenu
3871da177e4SLinus Torvalds
3881da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
389