| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # Select this to activate the generic irq options below | 
 | 2 | config HAVE_GENERIC_HARDIRQS | 
 | 3 | 	bool | 
 | 4 |  | 
 | 5 | if HAVE_GENERIC_HARDIRQS | 
 | 6 | menu "IRQ subsystem" | 
 | 7 | # | 
 | 8 | # Interrupt subsystem related configuration options | 
 | 9 | # | 
 | 10 | config GENERIC_HARDIRQS | 
 | 11 |        def_bool y | 
 | 12 |  | 
 | 13 | # Options selectable by the architecture code | 
 | 14 |  | 
 | 15 | # Make sparse irq Kconfig switch below available | 
 | 16 | config MAY_HAVE_SPARSE_IRQ | 
 | 17 |        bool | 
 | 18 |  | 
 | 19 | # Enable the generic irq autoprobe mechanism | 
 | 20 | config GENERIC_IRQ_PROBE | 
 | 21 | 	bool | 
 | 22 |  | 
 | 23 | # Use the generic /proc/interrupts implementation | 
 | 24 | config GENERIC_IRQ_SHOW | 
 | 25 |        bool | 
 | 26 |  | 
 | 27 | # Print level/edge extra information | 
 | 28 | config GENERIC_IRQ_SHOW_LEVEL | 
 | 29 |        bool | 
 | 30 |  | 
 | 31 | # Support for delayed migration from interrupt context | 
 | 32 | config GENERIC_PENDING_IRQ | 
 | 33 | 	bool | 
 | 34 |  | 
 | 35 | # Alpha specific irq affinity mechanism | 
 | 36 | config AUTO_IRQ_AFFINITY | 
 | 37 |        bool | 
 | 38 |  | 
 | 39 | # Tasklet based software resend for pending interrupts on enable_irq() | 
 | 40 | config HARDIRQS_SW_RESEND | 
 | 41 |        bool | 
 | 42 |  | 
 | 43 | # Preflow handler support for fasteoi (sparc64) | 
 | 44 | config IRQ_PREFLOW_FASTEOI | 
 | 45 |        bool | 
 | 46 |  | 
 | 47 | # Edge style eoi based handler (cell) | 
 | 48 | config IRQ_EDGE_EOI_HANDLER | 
 | 49 |        bool | 
 | 50 |  | 
 | 51 | # Generic configurable interrupt chip implementation | 
 | 52 | config GENERIC_IRQ_CHIP | 
 | 53 |        bool | 
 | 54 |  | 
 | 55 | # Generic irq_domain hw <--> linux irq number translation | 
 | 56 | config IRQ_DOMAIN | 
 | 57 | 	bool | 
 | 58 |  | 
 | 59 | config 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 | 
 | 70 | config IRQ_FORCED_THREADING | 
 | 71 |        bool | 
 | 72 |  | 
 | 73 | config 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 |  | 
 | 86 | endmenu | 
 | 87 | endif |