Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 2 | menu "IRQ subsystem" |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 3 | # Options selectable by the architecture code |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 4 | |
| 5 | # Make sparse irq Kconfig switch below available |
Rob Herring | 2ed86b1 | 2012-01-25 20:02:40 -0600 | [diff] [blame] | 6 | config MAY_HAVE_SPARSE_IRQ |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 7 | bool |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 8 | |
Thomas Gleixner | c940e01 | 2014-05-07 15:44:22 +0000 | [diff] [blame] | 9 | # Legacy support, required for itanic |
| 10 | config GENERIC_IRQ_LEGACY |
| 11 | bool |
| 12 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 13 | # Enable the generic irq autoprobe mechanism |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 14 | config GENERIC_IRQ_PROBE |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 15 | bool |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 16 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 17 | # Use the generic /proc/interrupts implementation |
Thomas Gleixner | c78b9b6 | 2010-12-16 17:21:47 +0100 | [diff] [blame] | 18 | config GENERIC_IRQ_SHOW |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 19 | bool |
Thomas Gleixner | c78b9b6 | 2010-12-16 17:21:47 +0100 | [diff] [blame] | 20 | |
Thomas Gleixner | ab7798f | 2011-03-25 16:48:50 +0100 | [diff] [blame] | 21 | # Print level/edge extra information |
| 22 | config GENERIC_IRQ_SHOW_LEVEL |
| 23 | bool |
| 24 | |
Thomas Gleixner | 0d3f542 | 2017-06-20 01:37:38 +0200 | [diff] [blame] | 25 | # Supports effective affinity mask |
| 26 | config GENERIC_IRQ_EFFECTIVE_AFF_MASK |
| 27 | bool |
| 28 | |
Thomas Gleixner | 7b6ef12 | 2014-05-07 15:44:05 +0000 | [diff] [blame] | 29 | # Facility to allocate a hardware interrupt. This is legacy support |
| 30 | # and should not be used in new code. Use irq domains instead. |
| 31 | config GENERIC_IRQ_LEGACY_ALLOC_HWIRQ |
| 32 | bool |
| 33 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 34 | # Support for delayed migration from interrupt context |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 35 | config GENERIC_PENDING_IRQ |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 36 | bool |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 37 | |
Yang Yingliang | f1e0bb0 | 2015-09-24 17:32:13 +0800 | [diff] [blame] | 38 | # Support for generic irq migrating off cpu before the cpu is offline. |
| 39 | config GENERIC_IRQ_MIGRATION |
| 40 | bool |
| 41 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 42 | # Alpha specific irq affinity mechanism |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 43 | config AUTO_IRQ_AFFINITY |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 44 | bool |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 45 | |
Thomas Gleixner | acd26bc | 2020-03-06 14:03:47 +0100 | [diff] [blame] | 46 | # Interrupt injection mechanism |
| 47 | config GENERIC_IRQ_INJECTION |
| 48 | bool |
| 49 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 50 | # Tasklet based software resend for pending interrupts on enable_irq() |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 51 | config HARDIRQS_SW_RESEND |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 52 | bool |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 53 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 54 | # Preflow handler support for fasteoi (sparc64) |
Thomas Gleixner | 7812957 | 2011-02-10 15:14:20 +0100 | [diff] [blame] | 55 | config IRQ_PREFLOW_FASTEOI |
Jan Beulich | fd4afaf | 2011-02-17 13:39:05 +0000 | [diff] [blame] | 56 | bool |
Thomas Gleixner | 7812957 | 2011-02-10 15:14:20 +0100 | [diff] [blame] | 57 | |
Thomas Gleixner | 0521c8f | 2011-03-28 16:13:24 +0200 | [diff] [blame] | 58 | # Edge style eoi based handler (cell) |
| 59 | config IRQ_EDGE_EOI_HANDLER |
| 60 | bool |
| 61 | |
Thomas Gleixner | c42321c | 2011-05-02 18:16:22 +0200 | [diff] [blame] | 62 | # Generic configurable interrupt chip implementation |
| 63 | config GENERIC_IRQ_CHIP |
| 64 | bool |
Nitin A Kamble | 923fa4e | 2014-01-30 16:50:10 -0800 | [diff] [blame] | 65 | select IRQ_DOMAIN |
Thomas Gleixner | c42321c | 2011-05-02 18:16:22 +0200 | [diff] [blame] | 66 | |
Grant Likely | 08a543a | 2011-07-26 03:19:06 -0600 | [diff] [blame] | 67 | # Generic irq_domain hw <--> linux irq number translation |
| 68 | config IRQ_DOMAIN |
| 69 | bool |
| 70 | |
Bartosz Golaszewski | b19af51 | 2017-08-14 16:53:16 +0200 | [diff] [blame] | 71 | # Support for simulated interrupts |
| 72 | config IRQ_SIM |
| 73 | bool |
| 74 | select IRQ_WORK |
| 75 | |
Jiang Liu | f8264e3 | 2014-11-06 22:20:14 +0800 | [diff] [blame] | 76 | # Support for hierarchical irq domains |
| 77 | config IRQ_DOMAIN_HIERARCHY |
| 78 | bool |
| 79 | select IRQ_DOMAIN |
| 80 | |
David Daney | 7703b08 | 2017-08-17 17:53:31 -0700 | [diff] [blame] | 81 | # Support for hierarchical fasteoi+edge and fasteoi+level handlers |
| 82 | config IRQ_FASTEOI_HIERARCHY_HANDLERS |
| 83 | bool |
| 84 | |
Qais Yousef | 379b656 | 2015-12-08 13:20:14 +0000 | [diff] [blame] | 85 | # Generic IRQ IPI support |
| 86 | config GENERIC_IRQ_IPI |
| 87 | bool |
| 88 | |
Jiang Liu | f3cf8bb | 2014-11-12 11:39:03 +0100 | [diff] [blame] | 89 | # Generic MSI interrupt support |
| 90 | config GENERIC_MSI_IRQ |
| 91 | bool |
| 92 | |
| 93 | # Generic MSI hierarchical interrupt domain support |
| 94 | config GENERIC_MSI_IRQ_DOMAIN |
| 95 | bool |
| 96 | select IRQ_DOMAIN_HIERARCHY |
| 97 | select GENERIC_MSI_IRQ |
| 98 | |
Julien Grall | aaebdf8 | 2019-05-01 14:58:18 +0100 | [diff] [blame] | 99 | config IRQ_MSI_IOMMU |
| 100 | bool |
| 101 | |
Marc Zyngier | 76ba59f | 2014-08-26 11:03:16 +0100 | [diff] [blame] | 102 | config HANDLE_DOMAIN_IRQ |
| 103 | bool |
| 104 | |
Daniel Lezcano | b2d3d61 | 2017-06-23 16:11:07 +0200 | [diff] [blame] | 105 | config IRQ_TIMINGS |
| 106 | bool |
| 107 | |
Thomas Gleixner | 2f75d9e | 2017-09-13 23:29:14 +0200 | [diff] [blame] | 108 | config GENERIC_IRQ_MATRIX_ALLOCATOR |
| 109 | bool |
| 110 | |
Thomas Gleixner | 2b5175c | 2017-10-17 09:54:57 +0200 | [diff] [blame] | 111 | config GENERIC_IRQ_RESERVATION_MODE |
| 112 | bool |
| 113 | |
Thomas Gleixner | c68fd4f | 2011-03-08 19:52:55 +0100 | [diff] [blame] | 114 | # Support forced irq threading |
Thomas Gleixner | 8d32a30 | 2011-02-23 23:52:23 +0000 | [diff] [blame] | 115 | config IRQ_FORCED_THREADING |
| 116 | bool |
| 117 | |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 118 | config SPARSE_IRQ |
Rob Herring | 2ed86b1 | 2012-01-25 20:02:40 -0600 | [diff] [blame] | 119 | bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 120 | ---help--- |
| 121 | |
| 122 | Sparse irq numbering is useful for distro kernels that want |
| 123 | to define a high CONFIG_NR_CPUS value but still want to have |
| 124 | low kernel memory footprint on smaller machines. |
| 125 | |
| 126 | ( Sparse irqs can also be beneficial on NUMA boxes, as they spread |
| 127 | out the interrupt descriptors in a more NUMA-friendly way. ) |
| 128 | |
| 129 | If you don't know what to do here, say N. |
| 130 | |
Thomas Gleixner | 087cdfb | 2017-06-20 01:37:17 +0200 | [diff] [blame] | 131 | config GENERIC_IRQ_DEBUGFS |
| 132 | bool "Expose irq internals in debugfs" |
| 133 | depends on DEBUG_FS |
Thomas Gleixner | acd26bc | 2020-03-06 14:03:47 +0100 | [diff] [blame] | 134 | select GENERIC_IRQ_INJECTION |
Thomas Gleixner | 087cdfb | 2017-06-20 01:37:17 +0200 | [diff] [blame] | 135 | default n |
| 136 | ---help--- |
| 137 | |
| 138 | Exposes internal state information through debugfs. Mostly for |
| 139 | developers and debugging of hard to diagnose interrupt problems. |
| 140 | |
| 141 | If you don't know what to do here, say N. |
| 142 | |
Thomas Gleixner | d9817eb | 2010-09-27 12:45:59 +0000 | [diff] [blame] | 143 | endmenu |
Palmer Dabbelt | caacdbf | 2018-03-07 15:57:27 -0800 | [diff] [blame] | 144 | |
| 145 | config GENERIC_IRQ_MULTI_HANDLER |
| 146 | bool |
| 147 | help |
| 148 | Allow to specify the low level IRQ handler at run time. |