blob: d1a758bc972afcb3f7c0103de781fa5720bea126 [file] [log] [blame]
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +01001# Select this to activate the generic irq options below
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +00002config HAVE_GENERIC_HARDIRQS
Jan Beulichfd4afaf2011-02-17 13:39:05 +00003 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +00004
5if HAVE_GENERIC_HARDIRQS
6menu "IRQ subsystem"
7#
8# Interrupt subsystem related configuration options
9#
10config GENERIC_HARDIRQS
11 def_bool y
12
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000013# Options selectable by the architecture code
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010014
15# Make sparse irq Kconfig switch below available
Rob Herring2ed86b12012-01-25 20:02:40 -060016config MAY_HAVE_SPARSE_IRQ
Jan Beulichfd4afaf2011-02-17 13:39:05 +000017 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000018
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010019# Enable the generic irq autoprobe mechanism
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000020config GENERIC_IRQ_PROBE
Jan Beulichfd4afaf2011-02-17 13:39:05 +000021 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000022
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010023# Use the generic /proc/interrupts implementation
Thomas Gleixnerc78b9b62010-12-16 17:21:47 +010024config GENERIC_IRQ_SHOW
Jan Beulichfd4afaf2011-02-17 13:39:05 +000025 bool
Thomas Gleixnerc78b9b62010-12-16 17:21:47 +010026
Thomas Gleixnerab7798f2011-03-25 16:48:50 +010027# Print level/edge extra information
28config GENERIC_IRQ_SHOW_LEVEL
29 bool
30
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010031# Support for delayed migration from interrupt context
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000032config GENERIC_PENDING_IRQ
Jan Beulichfd4afaf2011-02-17 13:39:05 +000033 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000034
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010035# Alpha specific irq affinity mechanism
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000036config AUTO_IRQ_AFFINITY
Jan Beulichfd4afaf2011-02-17 13:39:05 +000037 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000038
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010039# Tasklet based software resend for pending interrupts on enable_irq()
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000040config HARDIRQS_SW_RESEND
Jan Beulichfd4afaf2011-02-17 13:39:05 +000041 bool
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000042
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010043# Preflow handler support for fasteoi (sparc64)
Thomas Gleixner78129572011-02-10 15:14:20 +010044config IRQ_PREFLOW_FASTEOI
Jan Beulichfd4afaf2011-02-17 13:39:05 +000045 bool
Thomas Gleixner78129572011-02-10 15:14:20 +010046
Thomas Gleixner0521c8f2011-03-28 16:13:24 +020047# Edge style eoi based handler (cell)
48config IRQ_EDGE_EOI_HANDLER
49 bool
50
Thomas Gleixnerc42321c2011-05-02 18:16:22 +020051# Generic configurable interrupt chip implementation
52config GENERIC_IRQ_CHIP
53 bool
54
Grant Likely08a543a2011-07-26 03:19:06 -060055# Generic irq_domain hw <--> linux irq number translation
56config IRQ_DOMAIN
57 bool
58
Grant Likely092b2fb2012-03-29 14:10:30 -060059config 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
Mika Westerbergac5830a2012-04-10 15:25:42 +030065 in the file "irq_domain_mapping".
Grant Likely092b2fb2012-03-29 14:10:30 -060066
67 If you don't know what this means you don't need it.
68
Thomas Gleixnerc68fd4f2011-03-08 19:52:55 +010069# Support forced irq threading
Thomas Gleixner8d32a302011-02-23 23:52:23 +000070config IRQ_FORCED_THREADING
71 bool
72
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000073config SPARSE_IRQ
Rob Herring2ed86b12012-01-25 20:02:40 -060074 bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
Thomas Gleixnerd9817eb2010-09-27 12:45:59 +000075 ---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