2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2010-09-27 20:45:59 +08:00
|
|
|
menu "IRQ subsystem"
|
|
|
|
# Options selectable by the architecture code
|
2011-03-09 02:52:55 +08:00
|
|
|
|
|
|
|
# Make sparse irq Kconfig switch below available
|
2012-01-26 10:02:40 +08:00
|
|
|
config MAY_HAVE_SPARSE_IRQ
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-09-27 20:45:59 +08:00
|
|
|
|
2014-05-07 23:44:22 +08:00
|
|
|
# Legacy support, required for itanic
|
|
|
|
config GENERIC_IRQ_LEGACY
|
|
|
|
bool
|
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Enable the generic irq autoprobe mechanism
|
2010-09-27 20:45:59 +08:00
|
|
|
config GENERIC_IRQ_PROBE
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-09-27 20:45:59 +08:00
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Use the generic /proc/interrupts implementation
|
2010-12-17 00:21:47 +08:00
|
|
|
config GENERIC_IRQ_SHOW
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-12-17 00:21:47 +08:00
|
|
|
|
2011-03-25 23:48:50 +08:00
|
|
|
# Print level/edge extra information
|
|
|
|
config GENERIC_IRQ_SHOW_LEVEL
|
|
|
|
bool
|
|
|
|
|
2017-06-20 07:37:38 +08:00
|
|
|
# Supports effective affinity mask
|
|
|
|
config GENERIC_IRQ_EFFECTIVE_AFF_MASK
|
2022-07-02 04:00:51 +08:00
|
|
|
depends on SMP
|
2017-06-20 07:37:38 +08:00
|
|
|
bool
|
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Support for delayed migration from interrupt context
|
2010-09-27 20:45:59 +08:00
|
|
|
config GENERIC_PENDING_IRQ
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-09-27 20:45:59 +08:00
|
|
|
|
2015-09-24 17:32:13 +08:00
|
|
|
# Support for generic irq migrating off cpu before the cpu is offline.
|
|
|
|
config GENERIC_IRQ_MIGRATION
|
|
|
|
bool
|
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Alpha specific irq affinity mechanism
|
2010-09-27 20:45:59 +08:00
|
|
|
config AUTO_IRQ_AFFINITY
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-09-27 20:45:59 +08:00
|
|
|
|
2020-03-06 21:03:47 +08:00
|
|
|
# Interrupt injection mechanism
|
|
|
|
config GENERIC_IRQ_INJECTION
|
|
|
|
bool
|
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Tasklet based software resend for pending interrupts on enable_irq()
|
2010-09-27 20:45:59 +08:00
|
|
|
config HARDIRQS_SW_RESEND
|
2011-02-17 21:39:05 +08:00
|
|
|
bool
|
2010-09-27 20:45:59 +08:00
|
|
|
|
2011-03-28 22:13:24 +08:00
|
|
|
# Edge style eoi based handler (cell)
|
|
|
|
config IRQ_EDGE_EOI_HANDLER
|
|
|
|
bool
|
|
|
|
|
2011-05-03 00:16:22 +08:00
|
|
|
# Generic configurable interrupt chip implementation
|
|
|
|
config GENERIC_IRQ_CHIP
|
|
|
|
bool
|
2014-01-31 08:50:10 +08:00
|
|
|
select IRQ_DOMAIN
|
2011-05-03 00:16:22 +08:00
|
|
|
|
2011-07-26 17:19:06 +08:00
|
|
|
# Generic irq_domain hw <--> linux irq number translation
|
|
|
|
config IRQ_DOMAIN
|
|
|
|
bool
|
|
|
|
|
2017-08-14 22:53:16 +08:00
|
|
|
# Support for simulated interrupts
|
|
|
|
config IRQ_SIM
|
|
|
|
bool
|
|
|
|
select IRQ_WORK
|
2020-05-14 16:39:01 +08:00
|
|
|
select IRQ_DOMAIN
|
2017-08-14 22:53:16 +08:00
|
|
|
|
2014-11-06 22:20:14 +08:00
|
|
|
# Support for hierarchical irq domains
|
|
|
|
config IRQ_DOMAIN_HIERARCHY
|
|
|
|
bool
|
|
|
|
select IRQ_DOMAIN
|
|
|
|
|
2021-04-04 20:06:39 +08:00
|
|
|
# Support for obsolete non-mapping irq domains
|
|
|
|
config IRQ_DOMAIN_NOMAP
|
|
|
|
bool
|
|
|
|
select IRQ_DOMAIN
|
|
|
|
|
2017-08-18 08:53:31 +08:00
|
|
|
# Support for hierarchical fasteoi+edge and fasteoi+level handlers
|
|
|
|
config IRQ_FASTEOI_HIERARCHY_HANDLERS
|
|
|
|
bool
|
|
|
|
|
2015-12-08 21:20:14 +08:00
|
|
|
# Generic IRQ IPI support
|
|
|
|
config GENERIC_IRQ_IPI
|
|
|
|
bool
|
2022-07-02 04:00:50 +08:00
|
|
|
depends on SMP
|
2020-10-16 04:41:44 +08:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
2015-12-08 21:20:14 +08:00
|
|
|
|
2023-01-03 22:12:15 +08:00
|
|
|
# Generic IRQ IPI Mux support
|
|
|
|
config GENERIC_IRQ_IPI_MUX
|
|
|
|
bool
|
|
|
|
depends on SMP
|
|
|
|
|
2014-11-12 18:39:03 +08:00
|
|
|
# Generic MSI hierarchical interrupt domain support
|
2022-11-11 21:54:40 +08:00
|
|
|
config GENERIC_MSI_IRQ
|
2014-11-12 18:39:03 +08:00
|
|
|
bool
|
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
|
|
|
|
2019-05-01 21:58:18 +08:00
|
|
|
config IRQ_MSI_IOMMU
|
|
|
|
bool
|
|
|
|
|
2017-06-23 22:11:07 +08:00
|
|
|
config IRQ_TIMINGS
|
|
|
|
bool
|
|
|
|
|
2017-09-14 05:29:14 +08:00
|
|
|
config GENERIC_IRQ_MATRIX_ALLOCATOR
|
|
|
|
bool
|
|
|
|
|
2017-10-17 15:54:57 +08:00
|
|
|
config GENERIC_IRQ_RESERVATION_MODE
|
|
|
|
bool
|
|
|
|
|
2011-03-09 02:52:55 +08:00
|
|
|
# Support forced irq threading
|
2011-02-24 07:52:23 +08:00
|
|
|
config IRQ_FORCED_THREADING
|
|
|
|
bool
|
|
|
|
|
2010-09-27 20:45:59 +08:00
|
|
|
config SPARSE_IRQ
|
2012-01-26 10:02:40 +08:00
|
|
|
bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2010-09-27 20:45:59 +08:00
|
|
|
|
|
|
|
Sparse irq numbering is useful for distro kernels that want
|
|
|
|
to define a high CONFIG_NR_CPUS value but still want to have
|
|
|
|
low kernel memory footprint on smaller machines.
|
|
|
|
|
|
|
|
( Sparse irqs can also be beneficial on NUMA boxes, as they spread
|
|
|
|
out the interrupt descriptors in a more NUMA-friendly way. )
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
|
2017-06-20 07:37:17 +08:00
|
|
|
config GENERIC_IRQ_DEBUGFS
|
|
|
|
bool "Expose irq internals in debugfs"
|
|
|
|
depends on DEBUG_FS
|
2020-03-06 21:03:47 +08:00
|
|
|
select GENERIC_IRQ_INJECTION
|
2017-06-20 07:37:17 +08:00
|
|
|
default n
|
2020-06-14 00:50:22 +08:00
|
|
|
help
|
2017-06-20 07:37:17 +08:00
|
|
|
|
|
|
|
Exposes internal state information through debugfs. Mostly for
|
|
|
|
developers and debugging of hard to diagnose interrupt problems.
|
|
|
|
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
|
2010-09-27 20:45:59 +08:00
|
|
|
endmenu
|
2018-03-08 07:57:27 +08:00
|
|
|
|
|
|
|
config GENERIC_IRQ_MULTI_HANDLER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Allow to specify the low level IRQ handler at run time.
|
2021-10-22 01:04:14 +08:00
|
|
|
|
|
|
|
# Cavium Octeon is the last system to use this deprecated option
|
|
|
|
# Do not even think of enabling this on any new platform
|
|
|
|
config DEPRECATED_IRQ_CPU_ONOFFLINE
|
|
|
|
bool
|
|
|
|
depends on CAVIUM_OCTEON_SOC
|
|
|
|
default CAVIUM_OCTEON_SOC
|