xref: /linux/arch/parisc/Kconfig (revision 2f9237d4f6df49b74c51cdac555b0a9979d0c237)
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
6ec7748b5SSam Ravnborg	select HAVE_IDE
742d4b839SMathieu Desnoyers	select HAVE_OPROFILE
8366dd4eaSHelge Deller	select HAVE_FUNCTION_TRACER
9366dd4eaSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER
10fc79168aSHelge Deller	select HAVE_SYSCALL_TRACEPOINTS
114530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
1218d98a79SHelge Deller	select ARCH_HAS_ELF_RANDOMIZE
13ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
14e35a2ce6SHelge Deller	select ARCH_HAS_UBSAN_SANITIZE_ALL
157c703e54SChristoph Hellwig	select ARCH_NO_SG_CHAIN
1654ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
17*2f9237d4SChristoph Hellwig	select DMA_OPS
189eb16864SKyle McMartin	select RTC_CLASS
193afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
2098a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
21f67d3c83SKyle McMartin	select BUG
2210916706SShile Zhang	select BUILDTIME_TABLE_SORT
23eb01d42aSChristoph Hellwig	select HAVE_PCI
24cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
25b6adc16eSHelge Deller	select HAVE_KERNEL_BZIP2
26b6adc16eSHelge Deller	select HAVE_KERNEL_GZIP
27b6adc16eSHelge Deller	select HAVE_KERNEL_LZ4
28b6adc16eSHelge Deller	select HAVE_KERNEL_LZMA
29b6adc16eSHelge Deller	select HAVE_KERNEL_LZO
30b6adc16eSHelge Deller	select HAVE_KERNEL_XZ
3164daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
3272e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
33629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
34df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
359a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
36bf7b4c1bSHelge Deller	select GENERIC_CPU_DEVICES
37b1195c0eSJames Bottomley	select GENERIC_STRNCPY_FROM_USER
38bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
39fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
40786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
414febd95aSStephen Rothwell	select VIRT_TO_BUS
42786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
43415bfae9SAl Viro	select CLONE_BACKWARDS
444f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
45d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
467a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
47773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
4862217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL
4962217bebSHelge Deller	select HAVE_ARCH_JUMP_LABEL_RELATIVE
50910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
5164e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
5275ebedf1SHelge Deller	select HAVE_REGS_AND_STACK_ACCESS_API
5343b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
5443b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
5543b1f6abSHelge Deller	select GENERIC_CLOCKEVENTS
56fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
57f616ab59SChristoph Hellwig	select NEED_DMA_MAP_STATE
5886596f0aSChristoph Hellwig	select NEED_SG_DMA_LENGTH
59eacbfce1SSven Schnelle	select HAVE_ARCH_KGDB
608858ac8eSSven Schnelle	select HAVE_KPROBES
61e0b59b7bSSven Schnelle	select HAVE_KRETPROBES
626ca63662SSven Schnelle	select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
636ca63662SSven Schnelle	select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
6452a22e6cSSven Schnelle	select HAVE_KPROBES_ON_FTRACE
6552a22e6cSSven Schnelle	select HAVE_DYNAMIC_FTRACE_WITH_REGS
66d2f36c78SAmanieu d'Antras	select HAVE_COPY_THREAD_TLS
6772e73af1SThomas Gleixner
681da177e4SLinus Torvalds	help
691da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
701da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
711da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
7224289f56SHelge Deller	  at <https://parisc.wiki.kernel.org>.
731da177e4SLinus Torvalds
7474ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
7574ad3d28SBabu Moger	def_bool y
7674ad3d28SBabu Moger
771da177e4SLinus Torvaldsconfig MMU
781da177e4SLinus Torvalds	def_bool y
791da177e4SLinus Torvalds
801da177e4SLinus Torvaldsconfig STACK_GROWSUP
811da177e4SLinus Torvalds	def_bool y
821da177e4SLinus Torvalds
83ededa081SHelge Dellerconfig ARCH_DEFCONFIG
84ededa081SHelge Deller	string
85ededa081SHelge Deller	default "arch/parisc/configs/generic-32bit_defconfig" if !64BIT
86ededa081SHelge Deller	default "arch/parisc/configs/generic-64bit_defconfig" if 64BIT
87ededa081SHelge Deller
8895c354feSNick Pigginconfig GENERIC_LOCKBREAK
8995c354feSNick Piggin	bool
9095c354feSNick Piggin	default y
9109613e83SThomas Gleixner	depends on SMP && PREEMPTION
9295c354feSNick Piggin
93f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
94f0d1b0b3SDavid Howells	bool
95f0d1b0b3SDavid Howells	default n
96f0d1b0b3SDavid Howells
97f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
98f0d1b0b3SDavid Howells	bool
99f0d1b0b3SDavid Howells	default n
100f0d1b0b3SDavid Howells
1016891f8a1SHelge Dellerconfig GENERIC_BUG
1026891f8a1SHelge Deller	bool
1036891f8a1SHelge Deller	default y
1046891f8a1SHelge Deller	depends on BUG
1056891f8a1SHelge Deller
10659e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
10759e18a2eSAkinobu Mita	bool
10859e18a2eSAkinobu Mita	default y
10959e18a2eSAkinobu Mita
1101da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
1111da177e4SLinus Torvalds	bool
1121da177e4SLinus Torvalds	default y
1131da177e4SLinus Torvalds
11406027bddSIngo Molnarconfig TIME_LOW_RES
11506027bddSIngo Molnar	bool
11606027bddSIngo Molnar	depends on SMP
11706027bddSIngo Molnar	default y
11806027bddSIngo Molnar
1191da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1201da177e4SLinus Torvaldsconfig PM
1211da177e4SLinus Torvalds	bool
1221da177e4SLinus Torvalds
123548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
124548f1176SHelge Deller	def_bool y
125548f1176SHelge Deller
1265cae841bSAl Viroconfig ISA_DMA_API
1275cae841bSAl Viro	bool
1285cae841bSAl Viro
129a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
130a08b6b79Sviro@ZenIV.linux.org.uk	bool
1318b631342SGrant Grundler	depends on BROKEN
132a08b6b79Sviro@ZenIV.linux.org.uk	default y
133a08b6b79Sviro@ZenIV.linux.org.uk
134f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
135f24ffde4SKirill A. Shutemov	int
136f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
137f24ffde4SKirill A. Shutemov	default 2
138f24ffde4SKirill A. Shutemov
139736d2169SHelge Dellerconfig SYS_SUPPORTS_HUGETLBFS
140736d2169SHelge Deller	def_bool y if PA20
141736d2169SHelge Deller
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldsmenu "Processor type and features"
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvaldschoice
1461da177e4SLinus Torvalds	prompt "Processor type"
1471da177e4SLinus Torvalds	default PA7000
1481da177e4SLinus Torvalds
1491da177e4SLinus Torvaldsconfig PA7000
1501da177e4SLinus Torvalds	bool "PA7000/PA7100"
151a7f7f624SMasahiro Yamada	help
1521da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1531da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1541da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1551da177e4SLinus Torvalds	  you can specify "PA7000" here.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1581da177e4SLinus Torvalds	  which is required on some machines.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsconfig PA7100LC
1611da177e4SLinus Torvalds	bool "PA7100LC"
1621da177e4SLinus Torvalds	help
1631da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1641da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1651da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig PA7200
1681da177e4SLinus Torvalds	bool "PA7200"
1691da177e4SLinus Torvalds	help
1701da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1711da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1721da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsconfig PA7300LC
1751da177e4SLinus Torvalds	bool "PA7300LC"
1761da177e4SLinus Torvalds	help
1771da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1781da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1791da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1801da177e4SLinus Torvalds
1811da177e4SLinus Torvaldsconfig PA8X00
1821da177e4SLinus Torvalds	bool "PA8000 and up"
1831da177e4SLinus Torvalds	help
1841da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvaldsendchoice
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvalds# Define implied options from the CPU selection here
1891da177e4SLinus Torvalds
1901da177e4SLinus Torvaldsconfig PA20
1911da177e4SLinus Torvalds	def_bool y
1921da177e4SLinus Torvalds	depends on PA8X00
1931da177e4SLinus Torvalds
1941da177e4SLinus Torvaldsconfig PA11
1951da177e4SLinus Torvalds	def_bool y
1961da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
197c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_CPU
198c1f59375SChristoph Hellwig	select ARCH_HAS_SYNC_DMA_FOR_DEVICE
199c1f59375SChristoph Hellwig	select DMA_NONCOHERENT_CACHE_SYNC
2001da177e4SLinus Torvalds
2011da177e4SLinus Torvaldsconfig PREFETCH
2021da177e4SLinus Torvalds	def_bool y
20332104b29SKyle McMartin	depends on PA8X00 || PA7200
2041da177e4SLinus Torvalds
205ec758f98SHelge Dellerconfig MLONGCALLS
206ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
207200036a8SHelge Deller	default y if !MODULES || UBSAN || FTRACE
208200036a8SHelge Deller	default n
209ec758f98SHelge Deller	depends on PA8X00
210ec758f98SHelge Deller	help
211ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
212ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
213ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
214ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
215ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
216ec758f98SHelge Deller
217ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
218ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
219ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
220ec758f98SHelge Deller
221ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
222ec758f98SHelge Deller
2231da177e4SLinus Torvaldsconfig 64BIT
2241da177e4SLinus Torvalds	bool "64-bit kernel"
2251da177e4SLinus Torvalds	depends on PA8X00
2261da177e4SLinus Torvalds	help
2271da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2281da177e4SLinus Torvalds
2291da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2301da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2331da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2341da177e4SLinus Torvalds	  and slower than the 32bit one.
2351da177e4SLinus Torvalds
2362fd83038SHelge Dellerchoice
2372fd83038SHelge Deller	prompt "Kernel page size"
2381c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2392fd83038SHelge Deller
2402fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2412fd83038SHelge Deller	bool "4KB"
2422fd83038SHelge Deller	help
2432fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2442fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2452fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2462fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2472fd83038SHelge Deller	  with a larger page size).
2482fd83038SHelge Deller
2492fd83038SHelge Deller	  4KB                For best 32bit compatibility
2502fd83038SHelge Deller	  16KB               For best performance
2512fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2522fd83038SHelge Deller
2532fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2542fd83038SHelge Deller
2552fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
256daef22cfSKees Cook	bool "16KB"
2571c971f39SHelge Deller	depends on PA8X00 && BROKEN
2582fd83038SHelge Deller
2592fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
260daef22cfSKees Cook	bool "64KB"
2611c971f39SHelge Deller	depends on PA8X00 && BROKEN
2622fd83038SHelge Deller
2632fd83038SHelge Dellerendchoice
2642fd83038SHelge Deller
265af21b01dSHelge Dellerconfig PARISC_SELF_EXTRACT
266af21b01dSHelge Deller	bool "Build kernel as self-extracting executable"
267af21b01dSHelge Deller	default y
268af21b01dSHelge Deller	help
269af21b01dSHelge Deller	  Say Y if you want to build the parisc kernel as a kind of
270af21b01dSHelge Deller	  self-extracting executable.
271af21b01dSHelge Deller
272af21b01dSHelge Deller	  If you say N here, the kernel will be compressed with gzip
273af21b01dSHelge Deller	  which can be loaded by the palo bootloader directly too.
274af21b01dSHelge Deller
275af21b01dSHelge Deller	  If you don't know what to do here, say Y.
276af21b01dSHelge Deller
2771da177e4SLinus Torvaldsconfig SMP
2781da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
279a7f7f624SMasahiro Yamada	help
2801da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2814a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2824a474157SRobert Graffham	  than one CPU, say Y.
2831da177e4SLinus Torvalds
2844a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2852a3f53d5SHelge Deller	  machines, but will use only one CPU of a multiprocessor machine.
2862a3f53d5SHelge Deller	  On a uniprocessor machine, the kernel will run faster if you say N.
2871da177e4SLinus Torvalds
2884f4cfa6cSMauro Carvalho Chehab	  See also <file:Documentation/admin-guide/lockup-watchdogs.rst> and the SMP-HOWTO
28903502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2901da177e4SLinus Torvalds
2911da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2921da177e4SLinus Torvalds
293bf7b4c1bSHelge Dellerconfig PARISC_CPU_TOPOLOGY
294bf7b4c1bSHelge Deller	bool "Support cpu topology definition"
295bf7b4c1bSHelge Deller	depends on SMP
296bf7b4c1bSHelge Deller	default y
297bf7b4c1bSHelge Deller	help
298bf7b4c1bSHelge Deller	  Support PARISC cpu topology definition.
299bf7b4c1bSHelge Deller
300bf7b4c1bSHelge Dellerconfig SCHED_MC
301bf7b4c1bSHelge Deller	bool "Multi-core scheduler support"
302bf7b4c1bSHelge Deller	depends on PARISC_CPU_TOPOLOGY && PA8X00
303bf7b4c1bSHelge Deller	help
304bf7b4c1bSHelge Deller	  Multi-core scheduler support improves the CPU scheduler's decision
305bf7b4c1bSHelge Deller	  making when dealing with multi-core CPU chips at a cost of slightly
306bf7b4c1bSHelge Deller	  increased overhead in some places. If unsure say N here.
307bf7b4c1bSHelge Deller
308200c8804SHelge Dellerconfig IRQSTACKS
309200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
310416821d3SHelge Deller	default y
311200c8804SHelge Deller	help
312200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
313200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
314200c8804SHelge Deller	  overflowing the process kernel stacks.
315200c8804SHelge Deller
3161da177e4SLinus Torvaldsconfig HOTPLUG_CPU
3171da177e4SLinus Torvalds	bool
3181da177e4SLinus Torvalds	default y if SMP
3191da177e4SLinus Torvalds
320a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
321a2ba82cdSKyle McMartin	def_bool y
322a2ba82cdSKyle McMartin	depends on 64BIT
323a2ba82cdSKyle McMartin
324dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_ENABLE
325a2ba82cdSKyle McMartin	def_bool y
326a2ba82cdSKyle McMartin	depends on 64BIT
327a2ba82cdSKyle McMartin
328a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
329a2ba82cdSKyle McMartin	def_bool y
330a2ba82cdSKyle McMartin
331dbdf0760SHelge Dellerconfig ARCH_SPARSEMEM_DEFAULT
332a2ba82cdSKyle McMartin	def_bool y
333dbdf0760SHelge Deller	depends on ARCH_SPARSEMEM_ENABLE
334c80d79d7SYasunori Goto
3358b631342SGrant Grundlersource "kernel/Kconfig.hz"
3363f22ab27SDave Hansen
3371da177e4SLinus Torvaldsconfig COMPAT
3381da177e4SLinus Torvalds	def_bool y
3391da177e4SLinus Torvalds	depends on 64BIT
34071d577dbSHelge Deller	select COMPAT_BINFMT_ELF if BINFMT_ELF
3411da177e4SLinus Torvalds
342bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
343bf581e15SHelge Deller	def_bool y
344bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
345bf581e15SHelge Deller
346527973c8SHelge Dellerconfig AUDIT_ARCH
347527973c8SHelge Deller	def_bool y
348527973c8SHelge Deller
3491da177e4SLinus Torvaldsconfig NR_CPUS
3501da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3511da177e4SLinus Torvalds	range 2 32
3521da177e4SLinus Torvalds	depends on SMP
353435d34c7SHelge Deller	default "4"
3541da177e4SLinus Torvalds
355fc697dc0SSven Schnelleconfig KEXEC
356fc697dc0SSven Schnelle	bool "Kexec system call"
357fc697dc0SSven Schnelle	select KEXEC_CORE
358fc697dc0SSven Schnelle	help
359fc697dc0SSven Schnelle	  kexec is a system call that implements the ability to shutdown your
360fc697dc0SSven Schnelle	  current kernel, and to start another kernel.  It is like a reboot
361fc697dc0SSven Schnelle	  but it is independent of the system firmware.   And like a reboot
362fc697dc0SSven Schnelle	  you can start any kernel with it, not just Linux.
363fc697dc0SSven Schnelle
364fc697dc0SSven Schnelle	  It is an ongoing process to be certain the hardware in a machine
365fc697dc0SSven Schnelle	  shutdown, so do not be surprised if this code does not
366fc697dc0SSven Schnelle	  initially work for you.
367fc697dc0SSven Schnelle
3681191cf49SSven Schnelleconfig KEXEC_FILE
3691191cf49SSven Schnelle	bool "kexec file based system call"
3701191cf49SSven Schnelle	select KEXEC_CORE
3711191cf49SSven Schnelle	select KEXEC_ELF
3721191cf49SSven Schnelle	help
3731191cf49SSven Schnelle	  This enables the kexec_file_load() System call. This is
3741191cf49SSven Schnelle	  file based and takes file descriptors as system call argument
3751191cf49SSven Schnelle	  for kernel and initramfs as opposed to list of segments as
3761191cf49SSven Schnelle	  accepted by previous system call.
3771191cf49SSven Schnelle
3781da177e4SLinus Torvaldsendmenu
3791da177e4SLinus Torvalds
3801da177e4SLinus Torvalds
3811da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
3821da177e4SLinus Torvalds
383c90f0694SHelge Dellerconfig SECCOMP
384c90f0694SHelge Deller	def_bool y
385c90f0694SHelge Deller	prompt "Enable seccomp to safely compute untrusted bytecode"
386a7f7f624SMasahiro Yamada	help
387c90f0694SHelge Deller	  This kernel feature is useful for number crunching applications
388c90f0694SHelge Deller	  that may need to compute untrusted bytecode during their
389c90f0694SHelge Deller	  execution. By using pipes or other transports made available to
390c90f0694SHelge Deller	  the process as file descriptors supporting the read/write
391c90f0694SHelge Deller	  syscalls, it's possible to isolate those applications in
392c90f0694SHelge Deller	  their own address space using seccomp. Once seccomp is
393c90f0694SHelge Deller	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
394c90f0694SHelge Deller	  and the task is only allowed to execute a few safe syscalls
395c90f0694SHelge Deller	  defined by each seccomp mode.
396c90f0694SHelge Deller
397c90f0694SHelge Deller	  If unsure, say Y. Only embedded should say N here.
398