162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ciconfig SH_INTC 362306a36Sopenharmony_ci bool 462306a36Sopenharmony_ci select IRQ_DOMAIN 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciif SH_INTC 762306a36Sopenharmony_ci 862306a36Sopenharmony_cicomment "Interrupt controller options" 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciconfig INTC_USERIMASK 1162306a36Sopenharmony_ci bool "Userspace interrupt masking support" 1262306a36Sopenharmony_ci depends on (SUPERH && CPU_SH4A) || COMPILE_TEST 1362306a36Sopenharmony_ci help 1462306a36Sopenharmony_ci This enables support for hardware-assisted userspace hardirq 1562306a36Sopenharmony_ci masking. 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci SH-4A and newer interrupt blocks all support a special shadowed 1862306a36Sopenharmony_ci page with all non-masking registers obscured when mapped in to 1962306a36Sopenharmony_ci userspace. This is primarily for use by userspace device 2062306a36Sopenharmony_ci drivers that are using special priority levels. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci If in doubt, say N. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ciconfig INTC_BALANCING 2562306a36Sopenharmony_ci bool "Hardware IRQ balancing support" 2662306a36Sopenharmony_ci depends on SMP && SUPERH && CPU_SHX3 2762306a36Sopenharmony_ci help 2862306a36Sopenharmony_ci This enables support for IRQ auto-distribution mode on SH-X3 2962306a36Sopenharmony_ci SMP parts. All of the balancing and CPU wakeup decisions are 3062306a36Sopenharmony_ci taken care of automatically by hardware for distributed 3162306a36Sopenharmony_ci vectors. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci If in doubt, say N. 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ciconfig INTC_MAPPING_DEBUG 3662306a36Sopenharmony_ci bool "Expose IRQ to per-controller id mapping via debugfs" 3762306a36Sopenharmony_ci depends on DEBUG_FS 3862306a36Sopenharmony_ci help 3962306a36Sopenharmony_ci This will create a debugfs entry for showing the relationship 4062306a36Sopenharmony_ci between system IRQs and the per-controller id tables. 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci If in doubt, say N. 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ciendif 45