Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
d9817ebe | 2 | menu "IRQ subsystem" |
d9817ebe | 3 | # Options selectable by the architecture code |
c68fd4f3 TG |
4 | |
5 | # Make sparse irq Kconfig switch below available | |
2ed86b16 | 6 | config MAY_HAVE_SPARSE_IRQ |
fd4afaf3 | 7 | bool |
d9817ebe | 8 | |
c940e01c TG |
9 | # Legacy support, required for itanic |
10 | config GENERIC_IRQ_LEGACY | |
11 | bool | |
12 | ||
c68fd4f3 | 13 | # Enable the generic irq autoprobe mechanism |
d9817ebe | 14 | config GENERIC_IRQ_PROBE |
fd4afaf3 | 15 | bool |
d9817ebe | 16 | |
c68fd4f3 | 17 | # Use the generic /proc/interrupts implementation |
c78b9b65 | 18 | config GENERIC_IRQ_SHOW |
fd4afaf3 | 19 | bool |
c78b9b65 | 20 | |
ab7798ff TG |
21 | # Print level/edge extra information |
22 | config GENERIC_IRQ_SHOW_LEVEL | |
23 | bool | |
24 | ||
0d3f5425 TG |
25 | # Supports effective affinity mask |
26 | config GENERIC_IRQ_EFFECTIVE_AFF_MASK | |
0e6c027c | 27 | depends on SMP |
0d3f5425 TG |
28 | bool |
29 | ||
c68fd4f3 | 30 | # Support for delayed migration from interrupt context |
d9817ebe | 31 | config GENERIC_PENDING_IRQ |
fd4afaf3 | 32 | bool |
d9817ebe | 33 | |
f1e0bb0a YY |
34 | # Support for generic irq migrating off cpu before the cpu is offline. |
35 | config GENERIC_IRQ_MIGRATION | |
36 | bool | |
37 | ||
c68fd4f3 | 38 | # Alpha specific irq affinity mechanism |
d9817ebe | 39 | config AUTO_IRQ_AFFINITY |
fd4afaf3 | 40 | bool |
d9817ebe | 41 | |
acd26bcf TG |
42 | # Interrupt injection mechanism |
43 | config GENERIC_IRQ_INJECTION | |
44 | bool | |
45 | ||
c68fd4f3 | 46 | # Tasklet based software resend for pending interrupts on enable_irq() |
d9817ebe | 47 | config HARDIRQS_SW_RESEND |
fd4afaf3 | 48 | bool |
d9817ebe | 49 | |
c42321c7 TG |
50 | # Generic configurable interrupt chip implementation |
51 | config GENERIC_IRQ_CHIP | |
52 | bool | |
923fa4ea | 53 | select IRQ_DOMAIN |
c42321c7 | 54 | |
08a543ad GL |
55 | # Generic irq_domain hw <--> linux irq number translation |
56 | config IRQ_DOMAIN | |
57 | bool | |
58 | ||
b19af510 BG |
59 | # Support for simulated interrupts |
60 | config IRQ_SIM | |
61 | bool | |
62 | select IRQ_WORK | |
337cbeb2 | 63 | select IRQ_DOMAIN |
b19af510 | 64 | |
f8264e34 JL |
65 | # Support for hierarchical irq domains |
66 | config IRQ_DOMAIN_HIERARCHY | |
67 | bool | |
68 | select IRQ_DOMAIN | |
69 | ||
e37af801 MZ |
70 | # Support for obsolete non-mapping irq domains |
71 | config IRQ_DOMAIN_NOMAP | |
72 | bool | |
73 | select IRQ_DOMAIN | |
74 | ||
7703b08c DD |
75 | # Support for hierarchical fasteoi+edge and fasteoi+level handlers |
76 | config IRQ_FASTEOI_HIERARCHY_HANDLERS | |
77 | bool | |
78 | ||
379b6564 QY |
79 | # Generic IRQ IPI support |
80 | config GENERIC_IRQ_IPI | |
81 | bool | |
0f5209fe | 82 | depends on SMP |
151a5351 | 83 | select IRQ_DOMAIN_HIERARCHY |
379b6564 | 84 | |
835a486c AP |
85 | # Generic IRQ IPI Mux support |
86 | config GENERIC_IRQ_IPI_MUX | |
87 | bool | |
88 | depends on SMP | |
89 | ||
f3cf8bb0 | 90 | # Generic MSI hierarchical interrupt domain support |
13e7accb | 91 | config GENERIC_MSI_IRQ |
f3cf8bb0 JL |
92 | bool |
93 | select IRQ_DOMAIN_HIERARCHY | |
f3cf8bb0 | 94 | |
96093fe5 | 95 | # irqchip drivers should select this if they call iommu_dma_prepare_msi() |
aaebdf8d JG |
96 | config IRQ_MSI_IOMMU |
97 | bool | |
98 | ||
b2d3d61a DL |
99 | config IRQ_TIMINGS |
100 | bool | |
101 | ||
2f75d9e1 TG |
102 | config GENERIC_IRQ_MATRIX_ALLOCATOR |
103 | bool | |
104 | ||
2b5175c4 TG |
105 | config GENERIC_IRQ_RESERVATION_MODE |
106 | bool | |
107 | ||
99cf63c5 BH |
108 | # Snapshot for interrupt statistics |
109 | config GENERIC_IRQ_STAT_SNAPSHOT | |
110 | bool | |
111 | ||
c68fd4f3 | 112 | # Support forced irq threading |
8d32a307 TG |
113 | config IRQ_FORCED_THREADING |
114 | bool | |
115 | ||
d9817ebe | 116 | config SPARSE_IRQ |
2ed86b16 | 117 | bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ |
a7f7f624 | 118 | help |
d9817ebe TG |
119 | |
120 | Sparse irq numbering is useful for distro kernels that want | |
121 | to define a high CONFIG_NR_CPUS value but still want to have | |
122 | low kernel memory footprint on smaller machines. | |
123 | ||
124 | ( Sparse irqs can also be beneficial on NUMA boxes, as they spread | |
125 | out the interrupt descriptors in a more NUMA-friendly way. ) | |
126 | ||
127 | If you don't know what to do here, say N. | |
128 | ||
087cdfb6 TG |
129 | config GENERIC_IRQ_DEBUGFS |
130 | bool "Expose irq internals in debugfs" | |
131 | depends on DEBUG_FS | |
acd26bcf | 132 | select GENERIC_IRQ_INJECTION |
087cdfb6 | 133 | default n |
a7f7f624 | 134 | help |
087cdfb6 TG |
135 | |
136 | Exposes internal state information through debugfs. Mostly for | |
137 | developers and debugging of hard to diagnose interrupt problems. | |
138 | ||
139 | If you don't know what to do here, say N. | |
140 | ||
bad6722e EF |
141 | # Clear forwarded VM interrupts during kexec. |
142 | # This option ensures the kernel clears active states for interrupts | |
143 | # forwarded to virtual machines (VMs) during a machine kexec. | |
144 | config GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD | |
145 | bool | |
146 | ||
d9817ebe | 147 | endmenu |
caacdbf4 PD |
148 | |
149 | config GENERIC_IRQ_MULTI_HANDLER | |
150 | bool | |
151 | help | |
152 | Allow to specify the low level IRQ handler at run time. | |
8d15a729 MZ |
153 | |
154 | # Cavium Octeon is the last system to use this deprecated option | |
155 | # Do not even think of enabling this on any new platform | |
156 | config DEPRECATED_IRQ_CPU_ONOFFLINE | |
157 | bool | |
158 | depends on CAVIUM_OCTEON_SOC | |
159 | default CAVIUM_OCTEON_SOC |