Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. #
  2. # General architecture dependent options
  3. #
  4. config KEXEC_CORE
  5. bool
  6. config OPROFILE
  7. tristate "OProfile system profiling"
  8. depends on PROFILING
  9. depends on HAVE_OPROFILE
  10. select RING_BUFFER
  11. select RING_BUFFER_ALLOW_SWAP
  12. help
  13. OProfile is a profiling system capable of profiling the
  14. whole system, include the kernel, kernel modules, libraries,
  15. and applications.
  16. If unsure, say N.
  17. config OPROFILE_EVENT_MULTIPLEX
  18. bool "OProfile multiplexing support (EXPERIMENTAL)"
  19. default n
  20. depends on OPROFILE && X86
  21. help
  22. The number of hardware counters is limited. The multiplexing
  23. feature enables OProfile to gather more events than counters
  24. are provided by the hardware. This is realized by switching
  25. between events at an user specified time interval.
  26. If unsure, say N.
  27. config HAVE_OPROFILE
  28. bool
  29. config OPROFILE_NMI_TIMER
  30. def_bool y
  31. depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI && !PPC64
  32. config KPROBES
  33. bool "Kprobes"
  34. depends on MODULES
  35. depends on HAVE_KPROBES
  36. select KALLSYMS
  37. help
  38. Kprobes allows you to trap at almost any kernel address and
  39. execute a callback function. register_kprobe() establishes
  40. a probepoint and specifies the callback. Kprobes is useful
  41. for kernel debugging, non-intrusive instrumentation and testing.
  42. If in doubt, say "N".
  43. config JUMP_LABEL
  44. bool "Optimize very unlikely/likely branches"
  45. depends on HAVE_ARCH_JUMP_LABEL
  46. help
  47. This option enables a transparent branch optimization that
  48. makes certain almost-always-true or almost-always-false branch
  49. conditions even cheaper to execute within the kernel.
  50. Certain performance-sensitive kernel code, such as trace points,
  51. scheduler functionality, networking code and KVM have such
  52. branches and include support for this optimization technique.
  53. If it is detected that the compiler has support for "asm goto",
  54. the kernel will compile such branches with just a nop
  55. instruction. When the condition flag is toggled to true, the
  56. nop will be converted to a jump instruction to execute the
  57. conditional block of instructions.
  58. This technique lowers overhead and stress on the branch prediction
  59. of the processor and generally makes the kernel faster. The update
  60. of the condition is slower, but those are always very rare.
  61. ( On 32-bit x86, the necessary options added to the compiler
  62. flags may increase the size of the kernel slightly. )
  63. config STATIC_KEYS_SELFTEST
  64. bool "Static key selftest"
  65. depends on JUMP_LABEL
  66. help
  67. Boot time self-test of the branch patching code.
  68. config OPTPROBES
  69. def_bool y
  70. depends on KPROBES && HAVE_OPTPROBES
  71. depends on !PREEMPT
  72. config KPROBES_ON_FTRACE
  73. def_bool y
  74. depends on KPROBES && HAVE_KPROBES_ON_FTRACE
  75. depends on DYNAMIC_FTRACE_WITH_REGS
  76. help
  77. If function tracer is enabled and the arch supports full
  78. passing of pt_regs to function tracing, then kprobes can
  79. optimize on top of function tracing.
  80. config UPROBES
  81. def_bool n
  82. help
  83. Uprobes is the user-space counterpart to kprobes: they
  84. enable instrumentation applications (such as 'perf probe')
  85. to establish unintrusive probes in user-space binaries and
  86. libraries, by executing handler functions when the probes
  87. are hit by user-space applications.
  88. ( These probes come in the form of single-byte breakpoints,
  89. managed by the kernel and kept transparent to the probed
  90. application. )
  91. config HAVE_64BIT_ALIGNED_ACCESS
  92. def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
  93. help
  94. Some architectures require 64 bit accesses to be 64 bit
  95. aligned, which also requires structs containing 64 bit values
  96. to be 64 bit aligned too. This includes some 32 bit
  97. architectures which can do 64 bit accesses, as well as 64 bit
  98. architectures without unaligned access.
  99. This symbol should be selected by an architecture if 64 bit
  100. accesses are required to be 64 bit aligned in this way even
  101. though it is not a 64 bit architecture.
  102. See Documentation/unaligned-memory-access.txt for more
  103. information on the topic of unaligned memory accesses.
  104. config HAVE_EFFICIENT_UNALIGNED_ACCESS
  105. bool
  106. help
  107. Some architectures are unable to perform unaligned accesses
  108. without the use of get_unaligned/put_unaligned. Others are
  109. unable to perform such accesses efficiently (e.g. trap on
  110. unaligned access and require fixing it up in the exception
  111. handler.)
  112. This symbol should be selected by an architecture if it can
  113. perform unaligned accesses efficiently to allow different
  114. code paths to be selected for these cases. Some network
  115. drivers, for example, could opt to not fix up alignment
  116. problems with received packets if doing so would not help
  117. much.
  118. See Documentation/unaligned-memory-access.txt for more
  119. information on the topic of unaligned memory accesses.
  120. config ARCH_USE_BUILTIN_BSWAP
  121. bool
  122. help
  123. Modern versions of GCC (since 4.4) have builtin functions
  124. for handling byte-swapping. Using these, instead of the old
  125. inline assembler that the architecture code provides in the
  126. __arch_bswapXX() macros, allows the compiler to see what's
  127. happening and offers more opportunity for optimisation. In
  128. particular, the compiler will be able to combine the byteswap
  129. with a nearby load or store and use load-and-swap or
  130. store-and-swap instructions if the architecture has them. It
  131. should almost *never* result in code which is worse than the
  132. hand-coded assembler in <asm/swab.h>. But just in case it
  133. does, the use of the builtins is optional.
  134. Any architecture with load-and-swap or store-and-swap
  135. instructions should set this. And it shouldn't hurt to set it
  136. on architectures that don't have such instructions.
  137. config KRETPROBES
  138. def_bool y
  139. depends on KPROBES && HAVE_KRETPROBES
  140. config USER_RETURN_NOTIFIER
  141. bool
  142. depends on HAVE_USER_RETURN_NOTIFIER
  143. help
  144. Provide a kernel-internal notification when a cpu is about to
  145. switch to user mode.
  146. config HAVE_IOREMAP_PROT
  147. bool
  148. config HAVE_KPROBES
  149. bool
  150. config HAVE_KRETPROBES
  151. bool
  152. config HAVE_OPTPROBES
  153. bool
  154. config HAVE_KPROBES_ON_FTRACE
  155. bool
  156. config HAVE_NMI
  157. bool
  158. config HAVE_NMI_WATCHDOG
  159. depends on HAVE_NMI
  160. bool
  161. #
  162. # An arch should select this if it provides all these things:
  163. #
  164. # task_pt_regs() in asm/processor.h or asm/ptrace.h
  165. # arch_has_single_step() if there is hardware single-step support
  166. # arch_has_block_step() if there is hardware block-step support
  167. # asm/syscall.h supplying asm-generic/syscall.h interface
  168. # linux/regset.h user_regset interfaces
  169. # CORE_DUMP_USE_REGSET #define'd in linux/elf.h
  170. # TIF_SYSCALL_TRACE calls tracehook_report_syscall_{entry,exit}
  171. # TIF_NOTIFY_RESUME calls tracehook_notify_resume()
  172. # signal delivery calls tracehook_signal_handler()
  173. #
  174. config HAVE_ARCH_TRACEHOOK
  175. bool
  176. config HAVE_DMA_CONTIGUOUS
  177. bool
  178. config GENERIC_SMP_IDLE_THREAD
  179. bool
  180. config GENERIC_IDLE_POLL_SETUP
  181. bool
  182. # Select if arch init_task initializer is different to init/init_task.c
  183. config ARCH_INIT_TASK
  184. bool
  185. # Select if arch has its private alloc_task_struct() function
  186. config ARCH_TASK_STRUCT_ALLOCATOR
  187. bool
  188. # Select if arch has its private alloc_thread_stack() function
  189. config ARCH_THREAD_STACK_ALLOCATOR
  190. bool
  191. # Select if arch wants to size task_struct dynamically via arch_task_struct_size:
  192. config ARCH_WANTS_DYNAMIC_TASK_STRUCT
  193. bool
  194. config HAVE_REGS_AND_STACK_ACCESS_API
  195. bool
  196. help
  197. This symbol should be selected by an architecure if it supports
  198. the API needed to access registers and stack entries from pt_regs,
  199. declared in asm/ptrace.h
  200. For example the kprobes-based event tracer needs this API.
  201. config HAVE_CLK
  202. bool
  203. help
  204. The <linux/clk.h> calls support software clock gating and
  205. thus are a key power management tool on many systems.
  206. config HAVE_DMA_API_DEBUG
  207. bool
  208. config HAVE_HW_BREAKPOINT
  209. bool
  210. depends on PERF_EVENTS
  211. config HAVE_MIXED_BREAKPOINTS_REGS
  212. bool
  213. depends on HAVE_HW_BREAKPOINT
  214. help
  215. Depending on the arch implementation of hardware breakpoints,
  216. some of them have separate registers for data and instruction
  217. breakpoints addresses, others have mixed registers to store
  218. them but define the access type in a control register.
  219. Select this option if your arch implements breakpoints under the
  220. latter fashion.
  221. config HAVE_USER_RETURN_NOTIFIER
  222. bool
  223. config HAVE_PERF_EVENTS_NMI
  224. bool
  225. help
  226. System hardware can generate an NMI using the perf event
  227. subsystem. Also has support for calculating CPU cycle events
  228. to determine how many clock cycles in a given period.
  229. config HAVE_PERF_REGS
  230. bool
  231. help
  232. Support selective register dumps for perf events. This includes
  233. bit-mapping of each registers and a unique architecture id.
  234. config HAVE_PERF_USER_STACK_DUMP
  235. bool
  236. help
  237. Support user stack dumps for perf event samples. This needs
  238. access to the user stack pointer which is not unified across
  239. architectures.
  240. config HAVE_ARCH_JUMP_LABEL
  241. bool
  242. config HAVE_RCU_TABLE_FREE
  243. bool
  244. config ARCH_HAVE_NMI_SAFE_CMPXCHG
  245. bool
  246. config HAVE_ALIGNED_STRUCT_PAGE
  247. bool
  248. help
  249. This makes sure that struct pages are double word aligned and that
  250. e.g. the SLUB allocator can perform double word atomic operations
  251. on a struct page for better performance. However selecting this
  252. might increase the size of a struct page by a word.
  253. config HAVE_CMPXCHG_LOCAL
  254. bool
  255. config HAVE_CMPXCHG_DOUBLE
  256. bool
  257. config ARCH_WANT_IPC_PARSE_VERSION
  258. bool
  259. config ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  260. bool
  261. config ARCH_WANT_OLD_COMPAT_IPC
  262. select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
  263. bool
  264. config HAVE_ARCH_SECCOMP_FILTER
  265. bool
  266. help
  267. An arch should select this symbol if it provides all of these things:
  268. - syscall_get_arch()
  269. - syscall_get_arguments()
  270. - syscall_rollback()
  271. - syscall_set_return_value()
  272. - SIGSYS siginfo_t support
  273. - secure_computing is called from a ptrace_event()-safe context
  274. - secure_computing return value is checked and a return value of -1
  275. results in the system call being skipped immediately.
  276. - seccomp syscall wired up
  277. For best performance, an arch should use seccomp_phase1 and
  278. seccomp_phase2 directly. It should call seccomp_phase1 for all
  279. syscalls if TIF_SECCOMP is set, but seccomp_phase1 does not
  280. need to be called from a ptrace-safe context. It must then
  281. call seccomp_phase2 if seccomp_phase1 returns anything other
  282. than SECCOMP_PHASE1_OK or SECCOMP_PHASE1_SKIP.
  283. As an additional optimization, an arch may provide seccomp_data
  284. directly to seccomp_phase1; this avoids multiple calls
  285. to the syscall_xyz helpers for every syscall.
  286. config SECCOMP_FILTER
  287. def_bool y
  288. depends on HAVE_ARCH_SECCOMP_FILTER && SECCOMP && NET
  289. help
  290. Enable tasks to build secure computing environments defined
  291. in terms of Berkeley Packet Filter programs which implement
  292. task-defined system call filtering polices.
  293. See Documentation/prctl/seccomp_filter.txt for details.
  294. config HAVE_GCC_PLUGINS
  295. bool
  296. help
  297. An arch should select this symbol if it supports building with
  298. GCC plugins.
  299. menuconfig GCC_PLUGINS
  300. bool "GCC plugins"
  301. depends on HAVE_GCC_PLUGINS
  302. depends on !COMPILE_TEST
  303. help
  304. GCC plugins are loadable modules that provide extra features to the
  305. compiler. They are useful for runtime instrumentation and static analysis.
  306. See Documentation/gcc-plugins.txt for details.
  307. config GCC_PLUGIN_CYC_COMPLEXITY
  308. bool "Compute the cyclomatic complexity of a function"
  309. depends on GCC_PLUGINS
  310. help
  311. The complexity M of a function's control flow graph is defined as:
  312. M = E - N + 2P
  313. where
  314. E = the number of edges
  315. N = the number of nodes
  316. P = the number of connected components (exit nodes).
  317. config GCC_PLUGIN_SANCOV
  318. bool
  319. depends on GCC_PLUGINS
  320. help
  321. This plugin inserts a __sanitizer_cov_trace_pc() call at the start of
  322. basic blocks. It supports all gcc versions with plugin support (from
  323. gcc-4.5 on). It is based on the commit "Add fuzzing coverage support"
  324. by Dmitry Vyukov <dvyukov@google.com>.
  325. config HAVE_CC_STACKPROTECTOR
  326. bool
  327. help
  328. An arch should select this symbol if:
  329. - its compiler supports the -fstack-protector option
  330. - it has implemented a stack canary (e.g. __stack_chk_guard)
  331. config CC_STACKPROTECTOR
  332. def_bool n
  333. help
  334. Set when a stack-protector mode is enabled, so that the build
  335. can enable kernel-side support for the GCC feature.
  336. choice
  337. prompt "Stack Protector buffer overflow detection"
  338. depends on HAVE_CC_STACKPROTECTOR
  339. default CC_STACKPROTECTOR_NONE
  340. help
  341. This option turns on the "stack-protector" GCC feature. This
  342. feature puts, at the beginning of functions, a canary value on
  343. the stack just before the return address, and validates
  344. the value just before actually returning. Stack based buffer
  345. overflows (that need to overwrite this return address) now also
  346. overwrite the canary, which gets detected and the attack is then
  347. neutralized via a kernel panic.
  348. config CC_STACKPROTECTOR_NONE
  349. bool "None"
  350. help
  351. Disable "stack-protector" GCC feature.
  352. config CC_STACKPROTECTOR_REGULAR
  353. bool "Regular"
  354. select CC_STACKPROTECTOR
  355. help
  356. Functions will have the stack-protector canary logic added if they
  357. have an 8-byte or larger character array on the stack.
  358. This feature requires gcc version 4.2 or above, or a distribution
  359. gcc with the feature backported ("-fstack-protector").
  360. On an x86 "defconfig" build, this feature adds canary checks to
  361. about 3% of all kernel functions, which increases kernel code size
  362. by about 0.3%.
  363. config CC_STACKPROTECTOR_STRONG
  364. bool "Strong"
  365. select CC_STACKPROTECTOR
  366. help
  367. Functions will have the stack-protector canary logic added in any
  368. of the following conditions:
  369. - local variable's address used as part of the right hand side of an
  370. assignment or function argument
  371. - local variable is an array (or union containing an array),
  372. regardless of array type or length
  373. - uses register local variables
  374. This feature requires gcc version 4.9 or above, or a distribution
  375. gcc with the feature backported ("-fstack-protector-strong").
  376. On an x86 "defconfig" build, this feature adds canary checks to
  377. about 20% of all kernel functions, which increases the kernel code
  378. size by about 2%.
  379. endchoice
  380. config HAVE_ARCH_WITHIN_STACK_FRAMES
  381. bool
  382. help
  383. An architecture should select this if it can walk the kernel stack
  384. frames to determine if an object is part of either the arguments
  385. or local variables (i.e. that it excludes saved return addresses,
  386. and similar) by implementing an inline arch_within_stack_frames(),
  387. which is used by CONFIG_HARDENED_USERCOPY.
  388. config HAVE_CONTEXT_TRACKING
  389. bool
  390. help
  391. Provide kernel/user boundaries probes necessary for subsystems
  392. that need it, such as userspace RCU extended quiescent state.
  393. Syscalls need to be wrapped inside user_exit()-user_enter() through
  394. the slow path using TIF_NOHZ flag. Exceptions handlers must be
  395. wrapped as well. Irqs are already protected inside
  396. rcu_irq_enter/rcu_irq_exit() but preemption or signal handling on
  397. irq exit still need to be protected.
  398. config HAVE_VIRT_CPU_ACCOUNTING
  399. bool
  400. config HAVE_VIRT_CPU_ACCOUNTING_GEN
  401. bool
  402. default y if 64BIT
  403. help
  404. With VIRT_CPU_ACCOUNTING_GEN, cputime_t becomes 64-bit.
  405. Before enabling this option, arch code must be audited
  406. to ensure there are no races in concurrent read/write of
  407. cputime_t. For example, reading/writing 64-bit cputime_t on
  408. some 32-bit arches may require multiple accesses, so proper
  409. locking is needed to protect against concurrent accesses.
  410. config HAVE_IRQ_TIME_ACCOUNTING
  411. bool
  412. help
  413. Archs need to ensure they use a high enough resolution clock to
  414. support irq time accounting and then call enable_sched_clock_irqtime().
  415. config HAVE_ARCH_TRANSPARENT_HUGEPAGE
  416. bool
  417. config HAVE_ARCH_HUGE_VMAP
  418. bool
  419. config HAVE_ARCH_SOFT_DIRTY
  420. bool
  421. config HAVE_MOD_ARCH_SPECIFIC
  422. bool
  423. help
  424. The arch uses struct mod_arch_specific to store data. Many arches
  425. just need a simple module loader without arch specific data - those
  426. should not enable this.
  427. config MODULES_USE_ELF_RELA
  428. bool
  429. help
  430. Modules only use ELF RELA relocations. Modules with ELF REL
  431. relocations will give an error.
  432. config MODULES_USE_ELF_REL
  433. bool
  434. help
  435. Modules only use ELF REL relocations. Modules with ELF RELA
  436. relocations will give an error.
  437. config HAVE_UNDERSCORE_SYMBOL_PREFIX
  438. bool
  439. help
  440. Some architectures generate an _ in front of C symbols; things like
  441. module loading and assembly files need to know about this.
  442. config HAVE_IRQ_EXIT_ON_IRQ_STACK
  443. bool
  444. help
  445. Architecture doesn't only execute the irq handler on the irq stack
  446. but also irq_exit(). This way we can process softirqs on this irq
  447. stack instead of switching to a new one when we call __do_softirq()
  448. in the end of an hardirq.
  449. This spares a stack switch and improves cache usage on softirq
  450. processing.
  451. config PGTABLE_LEVELS
  452. int
  453. default 2
  454. config ARCH_HAS_ELF_RANDOMIZE
  455. bool
  456. help
  457. An architecture supports choosing randomized locations for
  458. stack, mmap, brk, and ET_DYN. Defined functions:
  459. - arch_mmap_rnd()
  460. - arch_randomize_brk()
  461. config HAVE_ARCH_MMAP_RND_BITS
  462. bool
  463. help
  464. An arch should select this symbol if it supports setting a variable
  465. number of bits for use in establishing the base address for mmap
  466. allocations, has MMU enabled and provides values for both:
  467. - ARCH_MMAP_RND_BITS_MIN
  468. - ARCH_MMAP_RND_BITS_MAX
  469. config HAVE_EXIT_THREAD
  470. bool
  471. help
  472. An architecture implements exit_thread.
  473. config ARCH_MMAP_RND_BITS_MIN
  474. int
  475. config ARCH_MMAP_RND_BITS_MAX
  476. int
  477. config ARCH_MMAP_RND_BITS_DEFAULT
  478. int
  479. config ARCH_MMAP_RND_BITS
  480. int "Number of bits to use for ASLR of mmap base address" if EXPERT
  481. range ARCH_MMAP_RND_BITS_MIN ARCH_MMAP_RND_BITS_MAX
  482. default ARCH_MMAP_RND_BITS_DEFAULT if ARCH_MMAP_RND_BITS_DEFAULT
  483. default ARCH_MMAP_RND_BITS_MIN
  484. depends on HAVE_ARCH_MMAP_RND_BITS
  485. help
  486. This value can be used to select the number of bits to use to
  487. determine the random offset to the base address of vma regions
  488. resulting from mmap allocations. This value will be bounded
  489. by the architecture's minimum and maximum supported values.
  490. This value can be changed after boot using the
  491. /proc/sys/vm/mmap_rnd_bits tunable
  492. config HAVE_ARCH_MMAP_RND_COMPAT_BITS
  493. bool
  494. help
  495. An arch should select this symbol if it supports running applications
  496. in compatibility mode, supports setting a variable number of bits for
  497. use in establishing the base address for mmap allocations, has MMU
  498. enabled and provides values for both:
  499. - ARCH_MMAP_RND_COMPAT_BITS_MIN
  500. - ARCH_MMAP_RND_COMPAT_BITS_MAX
  501. config ARCH_MMAP_RND_COMPAT_BITS_MIN
  502. int
  503. config ARCH_MMAP_RND_COMPAT_BITS_MAX
  504. int
  505. config ARCH_MMAP_RND_COMPAT_BITS_DEFAULT
  506. int
  507. config ARCH_MMAP_RND_COMPAT_BITS
  508. int "Number of bits to use for ASLR of mmap base address for compatible applications" if EXPERT
  509. range ARCH_MMAP_RND_COMPAT_BITS_MIN ARCH_MMAP_RND_COMPAT_BITS_MAX
  510. default ARCH_MMAP_RND_COMPAT_BITS_DEFAULT if ARCH_MMAP_RND_COMPAT_BITS_DEFAULT
  511. default ARCH_MMAP_RND_COMPAT_BITS_MIN
  512. depends on HAVE_ARCH_MMAP_RND_COMPAT_BITS
  513. help
  514. This value can be used to select the number of bits to use to
  515. determine the random offset to the base address of vma regions
  516. resulting from mmap allocations for compatible applications This
  517. value will be bounded by the architecture's minimum and maximum
  518. supported values.
  519. This value can be changed after boot using the
  520. /proc/sys/vm/mmap_rnd_compat_bits tunable
  521. config HAVE_COPY_THREAD_TLS
  522. bool
  523. help
  524. Architecture provides copy_thread_tls to accept tls argument via
  525. normal C parameter passing, rather than extracting the syscall
  526. argument from pt_regs.
  527. config HAVE_STACK_VALIDATION
  528. bool
  529. help
  530. Architecture supports the 'objtool check' host tool command, which
  531. performs compile-time stack metadata validation.
  532. config HAVE_ARCH_HASH
  533. bool
  534. default n
  535. help
  536. If this is set, the architecture provides an <asm/hash.h>
  537. file which provides platform-specific implementations of some
  538. functions in <linux/hash.h> or fs/namei.c.
  539. config ISA_BUS_API
  540. def_bool ISA
  541. #
  542. # ABI hall of shame
  543. #
  544. config CLONE_BACKWARDS
  545. bool
  546. help
  547. Architecture has tls passed as the 4th argument of clone(2),
  548. not the 5th one.
  549. config CLONE_BACKWARDS2
  550. bool
  551. help
  552. Architecture has the first two arguments of clone(2) swapped.
  553. config CLONE_BACKWARDS3
  554. bool
  555. help
  556. Architecture has tls passed as the 3rd argument of clone(2),
  557. not the 5th one.
  558. config ODD_RT_SIGACTION
  559. bool
  560. help
  561. Architecture has unusual rt_sigaction(2) arguments
  562. config OLD_SIGSUSPEND
  563. bool
  564. help
  565. Architecture has old sigsuspend(2) syscall, of one-argument variety
  566. config OLD_SIGSUSPEND3
  567. bool
  568. help
  569. Even weirder antique ABI - three-argument sigsuspend(2)
  570. config OLD_SIGACTION
  571. bool
  572. help
  573. Architecture has old sigaction(2) syscall. Nope, not the same
  574. as OLD_SIGSUSPEND | OLD_SIGSUSPEND3 - alpha has sigsuspend(2),
  575. but fairly different variant of sigaction(2), thanks to OSF/1
  576. compatibility...
  577. config COMPAT_OLD_SIGACTION
  578. bool
  579. config ARCH_NO_COHERENT_DMA_MMAP
  580. bool
  581. config CPU_NO_EFFICIENT_FFS
  582. def_bool n
  583. source "kernel/gcov/Kconfig"