hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/kernel/irq/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 menu "IRQ subsystem"
23 # Options selectable by the architecture code
34
....@@ -42,12 +43,12 @@
4243 config AUTO_IRQ_AFFINITY
4344 bool
4445
46
+# Interrupt injection mechanism
47
+config GENERIC_IRQ_INJECTION
48
+ bool
49
+
4550 # Tasklet based software resend for pending interrupts on enable_irq()
4651 config HARDIRQS_SW_RESEND
47
- bool
48
-
49
-# Preflow handler support for fasteoi (sparc64)
50
-config IRQ_PREFLOW_FASTEOI
5152 bool
5253
5354 # Edge style eoi based handler (cell)
....@@ -67,6 +68,7 @@
6768 config IRQ_SIM
6869 bool
6970 select IRQ_WORK
71
+ select IRQ_DOMAIN
7072
7173 # Support for hierarchical irq domains
7274 config IRQ_DOMAIN_HIERARCHY
....@@ -80,6 +82,7 @@
8082 # Generic IRQ IPI support
8183 config GENERIC_IRQ_IPI
8284 bool
85
+ depends on SMP
8386 select IRQ_DOMAIN_HIERARCHY
8487
8588 # Generic MSI interrupt support
....@@ -91,6 +94,9 @@
9194 bool
9295 select IRQ_DOMAIN_HIERARCHY
9396 select GENERIC_MSI_IRQ
97
+
98
+config IRQ_MSI_IOMMU
99
+ bool
94100
95101 config HANDLE_DOMAIN_IRQ
96102 bool
....@@ -104,13 +110,16 @@
104110 config GENERIC_IRQ_RESERVATION_MODE
105111 bool
106112
113
+config ARCH_WANTS_IRQ_RAW
114
+ bool
115
+
107116 # Support forced irq threading
108117 config IRQ_FORCED_THREADING
109118 bool
110119
111120 config SPARSE_IRQ
112121 bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
113
- ---help---
122
+ help
114123
115124 Sparse irq numbering is useful for distro kernels that want
116125 to define a high CONFIG_NR_CPUS value but still want to have
....@@ -124,8 +133,9 @@
124133 config GENERIC_IRQ_DEBUGFS
125134 bool "Expose irq internals in debugfs"
126135 depends on DEBUG_FS
136
+ select GENERIC_IRQ_INJECTION
127137 default n
128
- ---help---
138
+ help
129139
130140 Exposes internal state information through debugfs. Mostly for
131141 developers and debugging of hard to diagnose interrupt problems.