xref: /linux/arch/parisc/Kconfig (revision bf7b4c1b3c92f246a535a7c792177041d0442011)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvaldsconfig PARISC
31da177e4SLinus Torvalds	def_bool y
44a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
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
1118d98a79SHelge Deller	select ARCH_HAS_ELF_RANDOMIZE
12ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
13e35a2ce6SHelge Deller	select ARCH_HAS_UBSAN_SANITIZE_ALL
14e35a2ce6SHelge Deller	select ARCH_WANTS_UBSAN_NO_NULL
1554ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
169eb16864SKyle McMartin	select RTC_CLASS
173afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1898a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
194fe9e1d9SHelge Deller	select HAVE_MEMBLOCK
204fe9e1d9SHelge Deller	select NO_BOOTMEM
21f67d3c83SKyle McMartin	select BUG
220de79858SHelge Deller	select BUILDTIME_EXTABLE_SORT
23cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
24b6adc16eSHelge Deller	select HAVE_KERNEL_BZIP2
25b6adc16eSHelge Deller	select HAVE_KERNEL_GZIP
26b6adc16eSHelge Deller	select HAVE_KERNEL_LZ4
27b6adc16eSHelge Deller	select HAVE_KERNEL_LZMA
28b6adc16eSHelge Deller	select HAVE_KERNEL_LZO
29b6adc16eSHelge Deller	select HAVE_KERNEL_XZ
3064daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
3172e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
32629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
33df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
349a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
35*bf7b4c1bSHelge Deller	select GENERIC_CPU_DEVICES
36b1195c0eSJames Bottomley	select GENERIC_STRNCPY_FROM_USER
37bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
38fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
39786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
404febd95aSStephen Rothwell	select VIRT_TO_BUS
41786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
42415bfae9SAl Viro	select CLONE_BACKWARDS
434f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
44d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
457a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
46773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
47910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
4864e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
4943b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
5043b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
5143b1f6abSHelge Deller	select GENERIC_CLOCKEVENTS
5279387179SChristoph Hellwig	select ARCH_NO_COHERENT_DMA_MMAP
53fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
5472e73af1SThomas Gleixner
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
571da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
581da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
591da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
601da177e4SLinus Torvalds
6174ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
6274ad3d28SBabu Moger	def_bool y
6374ad3d28SBabu Moger
644c97a0c8SBabu Mogerconfig CPU_BIG_ENDIAN
654c97a0c8SBabu Moger	def_bool y
664c97a0c8SBabu Moger
671da177e4SLinus Torvaldsconfig MMU
681da177e4SLinus Torvalds	def_bool y
691da177e4SLinus Torvalds
701da177e4SLinus Torvaldsconfig STACK_GROWSUP
711da177e4SLinus Torvalds	def_bool y
721da177e4SLinus Torvalds
7395c354feSNick Pigginconfig GENERIC_LOCKBREAK
7495c354feSNick Piggin	bool
7595c354feSNick Piggin	default y
7695c354feSNick Piggin	depends on SMP && PREEMPT
7795c354feSNick Piggin
781da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
791da177e4SLinus Torvalds	def_bool y
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
821da177e4SLinus Torvalds	bool
831da177e4SLinus Torvalds
84f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
85f0d1b0b3SDavid Howells	bool
86f0d1b0b3SDavid Howells	default n
87f0d1b0b3SDavid Howells
88f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
89f0d1b0b3SDavid Howells	bool
90f0d1b0b3SDavid Howells	default n
91f0d1b0b3SDavid Howells
926891f8a1SHelge Dellerconfig GENERIC_BUG
936891f8a1SHelge Deller	bool
946891f8a1SHelge Deller	default y
956891f8a1SHelge Deller	depends on BUG
966891f8a1SHelge Deller
9759e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
9859e18a2eSAkinobu Mita	bool
9959e18a2eSAkinobu Mita	default y
10059e18a2eSAkinobu Mita
1011da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
1021da177e4SLinus Torvalds	bool
1031da177e4SLinus Torvalds	default y
1041da177e4SLinus Torvalds
10506027bddSIngo Molnarconfig TIME_LOW_RES
10606027bddSIngo Molnar	bool
10706027bddSIngo Molnar	depends on SMP
10806027bddSIngo Molnar	default y
10906027bddSIngo Molnar
1101da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1111da177e4SLinus Torvaldsconfig PM
1121da177e4SLinus Torvalds	bool
1131da177e4SLinus Torvalds
114548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
115548f1176SHelge Deller	def_bool y
116548f1176SHelge Deller
11774a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
11874a0bd66SFUJITA Tomonori	def_bool y
11974a0bd66SFUJITA Tomonori
120f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
121f6ae31c2SFUJITA Tomonori	def_bool y
122f6ae31c2SFUJITA Tomonori
1235cae841bSAl Viroconfig ISA_DMA_API
1245cae841bSAl Viro	bool
1255cae841bSAl Viro
126a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
127a08b6b79Sviro@ZenIV.linux.org.uk	bool
1288b631342SGrant Grundler	depends on BROKEN
129a08b6b79Sviro@ZenIV.linux.org.uk	default y
130a08b6b79Sviro@ZenIV.linux.org.uk
131f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
132f24ffde4SKirill A. Shutemov	int
133f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
134f24ffde4SKirill A. Shutemov	default 2
135f24ffde4SKirill A. Shutemov
136736d2169SHelge Dellerconfig SYS_SUPPORTS_HUGETLBFS
137736d2169SHelge Deller	def_bool y if PA20
138736d2169SHelge Deller
1391da177e4SLinus Torvaldssource "init/Kconfig"
1401da177e4SLinus Torvalds
141dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
142dc52ddc0SMatt Helsley
1431da177e4SLinus Torvalds
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"
1521da177e4SLinus Torvalds	---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
1981da177e4SLinus Torvalds
1991da177e4SLinus Torvaldsconfig PREFETCH
2001da177e4SLinus Torvalds	def_bool y
20132104b29SKyle McMartin	depends on PA8X00 || PA7200
2021da177e4SLinus Torvalds
203ec758f98SHelge Dellerconfig MLONGCALLS
204ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
205ec758f98SHelge Deller	def_bool y if (!MODULES)
206ec758f98SHelge Deller	depends on PA8X00
207ec758f98SHelge Deller	help
208ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
209ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
210ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
211ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
212ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
213ec758f98SHelge Deller
214ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
215ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
216ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
217ec758f98SHelge Deller
218ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
219ec758f98SHelge Deller
2201da177e4SLinus Torvaldsconfig 64BIT
2211da177e4SLinus Torvalds	bool "64-bit kernel"
2221da177e4SLinus Torvalds	depends on PA8X00
2231da177e4SLinus Torvalds	help
2241da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2251da177e4SLinus Torvalds
2261da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2271da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2281da177e4SLinus Torvalds
2291da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2301da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2311da177e4SLinus Torvalds	  and slower than the 32bit one.
2321da177e4SLinus Torvalds
2332fd83038SHelge Dellerchoice
2342fd83038SHelge Deller	prompt "Kernel page size"
2351c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2362fd83038SHelge Deller
2372fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2382fd83038SHelge Deller	bool "4KB"
2392fd83038SHelge Deller	help
2402fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2412fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2422fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2432fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2442fd83038SHelge Deller	  with a larger page size).
2452fd83038SHelge Deller
2462fd83038SHelge Deller	  4KB                For best 32bit compatibility
2472fd83038SHelge Deller	  16KB               For best performance
2482fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2492fd83038SHelge Deller
2502fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2512fd83038SHelge Deller
2522fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
253daef22cfSKees Cook	bool "16KB"
254daef22cfSKees Cook	depends on PA8X00
2552fd83038SHelge Deller
2562fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
257daef22cfSKees Cook	bool "64KB"
258daef22cfSKees Cook	depends on PA8X00
2592fd83038SHelge Deller
2602fd83038SHelge Dellerendchoice
2612fd83038SHelge Deller
262af21b01dSHelge Dellerconfig PARISC_SELF_EXTRACT
263af21b01dSHelge Deller	bool "Build kernel as self-extracting executable"
264af21b01dSHelge Deller	default y
265af21b01dSHelge Deller	help
266af21b01dSHelge Deller	  Say Y if you want to build the parisc kernel as a kind of
267af21b01dSHelge Deller	  self-extracting executable.
268af21b01dSHelge Deller
269af21b01dSHelge Deller	  If you say N here, the kernel will be compressed with gzip
270af21b01dSHelge Deller	  which can be loaded by the palo bootloader directly too.
271af21b01dSHelge Deller
272af21b01dSHelge Deller	  If you don't know what to do here, say Y.
273af21b01dSHelge Deller
2741da177e4SLinus Torvaldsconfig SMP
2751da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
2761da177e4SLinus Torvalds	---help---
2771da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2784a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2794a474157SRobert Graffham	  than one CPU, say Y.
2801da177e4SLinus Torvalds
2814a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2821da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2831da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2844a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
2851da177e4SLinus Torvalds	  will run faster if you say N here.
2861da177e4SLinus Torvalds
28703502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
28803502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2891da177e4SLinus Torvalds
2901da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2911da177e4SLinus Torvalds
292*bf7b4c1bSHelge Dellerconfig PARISC_CPU_TOPOLOGY
293*bf7b4c1bSHelge Deller	bool "Support cpu topology definition"
294*bf7b4c1bSHelge Deller	depends on SMP
295*bf7b4c1bSHelge Deller	default y
296*bf7b4c1bSHelge Deller	help
297*bf7b4c1bSHelge Deller	  Support PARISC cpu topology definition.
298*bf7b4c1bSHelge Deller
299*bf7b4c1bSHelge Dellerconfig SCHED_MC
300*bf7b4c1bSHelge Deller	bool "Multi-core scheduler support"
301*bf7b4c1bSHelge Deller	depends on PARISC_CPU_TOPOLOGY && PA8X00
302*bf7b4c1bSHelge Deller	help
303*bf7b4c1bSHelge Deller	  Multi-core scheduler support improves the CPU scheduler's decision
304*bf7b4c1bSHelge Deller	  making when dealing with multi-core CPU chips at a cost of slightly
305*bf7b4c1bSHelge Deller	  increased overhead in some places. If unsure say N here.
306*bf7b4c1bSHelge Deller
307200c8804SHelge Dellerconfig IRQSTACKS
308200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
309416821d3SHelge Deller	default y
310200c8804SHelge Deller	help
311200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
312200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
313200c8804SHelge Deller	  overflowing the process kernel stacks.
314200c8804SHelge Deller
3151da177e4SLinus Torvaldsconfig HOTPLUG_CPU
3161da177e4SLinus Torvalds	bool
3171da177e4SLinus Torvalds	default y if SMP
3181da177e4SLinus Torvalds
319a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
320a2ba82cdSKyle McMartin	def_bool y
321a2ba82cdSKyle McMartin	depends on 64BIT
322a2ba82cdSKyle McMartin
3233f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
324a2ba82cdSKyle McMartin	def_bool y
325a2ba82cdSKyle McMartin	depends on 64BIT
326a2ba82cdSKyle McMartin
327a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
328a2ba82cdSKyle McMartin	def_bool y
329a2ba82cdSKyle McMartin
330a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
331a2ba82cdSKyle McMartin	def_bool y
332a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
3331da177e4SLinus Torvalds
334c80d79d7SYasunori Gotoconfig NODES_SHIFT
335c80d79d7SYasunori Goto	int
336c80d79d7SYasunori Goto	default "3"
337c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
338c80d79d7SYasunori Goto
33950a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
3408b631342SGrant Grundlersource "kernel/Kconfig.hz"
3413f22ab27SDave Hansensource "mm/Kconfig"
3423f22ab27SDave Hansen
3431da177e4SLinus Torvaldsconfig COMPAT
3441da177e4SLinus Torvalds	def_bool y
3451da177e4SLinus Torvalds	depends on 64BIT
3461da177e4SLinus Torvalds
347bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
348bf581e15SHelge Deller	def_bool y
349bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
350bf581e15SHelge Deller
351527973c8SHelge Dellerconfig AUDIT_ARCH
352527973c8SHelge Deller	def_bool y
353527973c8SHelge Deller
3541da177e4SLinus Torvaldsconfig NR_CPUS
3551da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3561da177e4SLinus Torvalds	range 2 32
3571da177e4SLinus Torvalds	depends on SMP
3581da177e4SLinus Torvalds	default "32"
3591da177e4SLinus Torvalds
3601da177e4SLinus Torvaldsendmenu
3611da177e4SLinus Torvalds
3621da177e4SLinus Torvalds
3631da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
3641da177e4SLinus Torvalds
3651da177e4SLinus Torvalds
3661da177e4SLinus Torvaldsmenu "Executable file formats"
3671da177e4SLinus Torvalds
3681da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
3691da177e4SLinus Torvalds
3701da177e4SLinus Torvaldsendmenu
3711da177e4SLinus Torvalds
372d5950b43SSam Ravnborgsource "net/Kconfig"
373d5950b43SSam Ravnborg
3741da177e4SLinus Torvaldssource "drivers/Kconfig"
3751da177e4SLinus Torvalds
3761da177e4SLinus Torvaldssource "fs/Kconfig"
3771da177e4SLinus Torvalds
3781da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3791da177e4SLinus Torvalds
380c90f0694SHelge Dellerconfig SECCOMP
381c90f0694SHelge Deller	def_bool y
382c90f0694SHelge Deller	prompt "Enable seccomp to safely compute untrusted bytecode"
383c90f0694SHelge Deller	---help---
384c90f0694SHelge Deller	  This kernel feature is useful for number crunching applications
385c90f0694SHelge Deller	  that may need to compute untrusted bytecode during their
386c90f0694SHelge Deller	  execution. By using pipes or other transports made available to
387c90f0694SHelge Deller	  the process as file descriptors supporting the read/write
388c90f0694SHelge Deller	  syscalls, it's possible to isolate those applications in
389c90f0694SHelge Deller	  their own address space using seccomp. Once seccomp is
390c90f0694SHelge Deller	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
391c90f0694SHelge Deller	  and the task is only allowed to execute a few safe syscalls
392c90f0694SHelge Deller	  defined by each seccomp mode.
393c90f0694SHelge Deller
394c90f0694SHelge Deller	  If unsure, say Y. Only embedded should say N here.
395c90f0694SHelge Deller
3961da177e4SLinus Torvaldssource "security/Kconfig"
3971da177e4SLinus Torvalds
3981da177e4SLinus Torvaldssource "crypto/Kconfig"
3991da177e4SLinus Torvalds
4001da177e4SLinus Torvaldssource "lib/Kconfig"
401