blob: 60228fae943fb0ac27fcd6ed70c1e0ac2d89f182 [file] [log] [blame]
Paul Mundt1d6a21b2012-08-01 17:13:46 +09001config SH_INTC
2 def_bool y
3 select IRQ_DOMAIN
4
Paul Mundt33fc1a22010-10-06 15:38:16 +09005comment "Interrupt controller options"
6
7config INTC_USERIMASK
8 bool "Userspace interrupt masking support"
Geert Uytterhoeven39c5abb2014-05-22 20:00:06 +02009 depends on (SUPERH && CPU_SH4A) || COMPILE_TEST
Paul Mundt33fc1a22010-10-06 15:38:16 +090010 help
11 This enables support for hardware-assisted userspace hardirq
12 masking.
13
14 SH-4A and newer interrupt blocks all support a special shadowed
15 page with all non-masking registers obscured when mapped in to
16 userspace. This is primarily for use by userspace device
17 drivers that are using special priority levels.
18
19 If in doubt, say N.
20
21config INTC_BALANCING
22 bool "Hardware IRQ balancing support"
23 depends on SMP && SUPERH && CPU_SHX3
24 help
25 This enables support for IRQ auto-distribution mode on SH-X3
26 SMP parts. All of the balancing and CPU wakeup decisions are
27 taken care of automatically by hardware for distributed
28 vectors.
29
30 If in doubt, say N.
31
32config INTC_MAPPING_DEBUG
33 bool "Expose IRQ to per-controller id mapping via debugfs"
34 depends on DEBUG_FS
35 help
36 This will create a debugfs entry for showing the relationship
37 between system IRQs and the per-controller id tables.
38
39 If in doubt, say N.