mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
44629f57ac
This implements a scheme roughly analogous to the PowerPC virtual to hardware IRQ mapping, which we use for IRQ to per-controller ID mapping. This makes it possible for drivers to use the IDs directly for lookup instead of hardcoding the vector. The main motivation for this work is as a building block for dynamically allocating virtual IRQs for demuxing INTC events sharing a single INTEVT in addition to a common masking source. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
config INTC_USERIMASK
|
|
bool "Userspace interrupt masking support"
|
|
depends on ARCH_SHMOBILE || (SUPERH && CPU_SH4A)
|
|
help
|
|
This enables support for hardware-assisted userspace hardirq
|
|
masking.
|
|
|
|
SH-4A and newer interrupt blocks all support a special shadowed
|
|
page with all non-masking registers obscured when mapped in to
|
|
userspace. This is primarily for use by userspace device
|
|
drivers that are using special priority levels.
|
|
|
|
If in doubt, say N.
|
|
|
|
config INTC_BALANCING
|
|
bool "Hardware IRQ balancing support"
|
|
depends on SMP && SUPERH && CPU_SHX3
|
|
help
|
|
This enables support for IRQ auto-distribution mode on SH-X3
|
|
SMP parts. All of the balancing and CPU wakeup decisions are
|
|
taken care of automatically by hardware for distributed
|
|
vectors.
|
|
|
|
If in doubt, say N.
|
|
|
|
config INTC_MAPPING_DEBUG
|
|
bool "Expose IRQ to per-controller id mapping via debugfs"
|
|
depends on DEBUG_FS
|
|
help
|
|
This will create a debugfs entry for showing the relationship
|
|
between system IRQs and the per-controller id tables.
|
|
|
|
If in doubt, say N.
|