xref: /openbmc/linux/kernel/irq/Kconfig (revision 95e9fd10)
1# Select this to activate the generic irq options below
2config HAVE_GENERIC_HARDIRQS
3	bool
4
5if HAVE_GENERIC_HARDIRQS
6menu "IRQ subsystem"
7#
8# Interrupt subsystem related configuration options
9#
10config GENERIC_HARDIRQS
11       def_bool y
12
13# Options selectable by the architecture code
14
15# Make sparse irq Kconfig switch below available
16config MAY_HAVE_SPARSE_IRQ
17       bool
18
19# Enable the generic irq autoprobe mechanism
20config GENERIC_IRQ_PROBE
21	bool
22
23# Use the generic /proc/interrupts implementation
24config GENERIC_IRQ_SHOW
25       bool
26
27# Print level/edge extra information
28config GENERIC_IRQ_SHOW_LEVEL
29       bool
30
31# Support for delayed migration from interrupt context
32config GENERIC_PENDING_IRQ
33	bool
34
35# Alpha specific irq affinity mechanism
36config AUTO_IRQ_AFFINITY
37       bool
38
39# Tasklet based software resend for pending interrupts on enable_irq()
40config HARDIRQS_SW_RESEND
41       bool
42
43# Preflow handler support for fasteoi (sparc64)
44config IRQ_PREFLOW_FASTEOI
45       bool
46
47# Edge style eoi based handler (cell)
48config IRQ_EDGE_EOI_HANDLER
49       bool
50
51# Generic configurable interrupt chip implementation
52config GENERIC_IRQ_CHIP
53       bool
54
55# Generic irq_domain hw <--> linux irq number translation
56config IRQ_DOMAIN
57	bool
58
59config IRQ_DOMAIN_DEBUG
60	bool "Expose hardware/virtual IRQ mapping via debugfs"
61	depends on IRQ_DOMAIN && DEBUG_FS
62	help
63	  This option will show the mapping relationship between hardware irq
64	  numbers and Linux irq numbers. The mapping is exposed via debugfs
65	  in the file "irq_domain_mapping".
66
67	  If you don't know what this means you don't need it.
68
69# Support forced irq threading
70config IRQ_FORCED_THREADING
71       bool
72
73config SPARSE_IRQ
74	bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
75	---help---
76
77	  Sparse irq numbering is useful for distro kernels that want
78	  to define a high CONFIG_NR_CPUS value but still want to have
79	  low kernel memory footprint on smaller machines.
80
81	  ( Sparse irqs can also be beneficial on NUMA boxes, as they spread
82	    out the interrupt descriptors in a more NUMA-friendly way. )
83
84	  If you don't know what to do here, say N.
85
86endmenu
87endif
88