18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig SH_INTC 38c2ecf20Sopenharmony_ci bool 48c2ecf20Sopenharmony_ci select IRQ_DOMAIN 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciif SH_INTC 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cicomment "Interrupt controller options" 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciconfig INTC_USERIMASK 118c2ecf20Sopenharmony_ci bool "Userspace interrupt masking support" 128c2ecf20Sopenharmony_ci depends on (SUPERH && CPU_SH4A) || COMPILE_TEST 138c2ecf20Sopenharmony_ci help 148c2ecf20Sopenharmony_ci This enables support for hardware-assisted userspace hardirq 158c2ecf20Sopenharmony_ci masking. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci SH-4A and newer interrupt blocks all support a special shadowed 188c2ecf20Sopenharmony_ci page with all non-masking registers obscured when mapped in to 198c2ecf20Sopenharmony_ci userspace. This is primarily for use by userspace device 208c2ecf20Sopenharmony_ci drivers that are using special priority levels. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci If in doubt, say N. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ciconfig INTC_BALANCING 258c2ecf20Sopenharmony_ci bool "Hardware IRQ balancing support" 268c2ecf20Sopenharmony_ci depends on SMP && SUPERH && CPU_SHX3 278c2ecf20Sopenharmony_ci help 288c2ecf20Sopenharmony_ci This enables support for IRQ auto-distribution mode on SH-X3 298c2ecf20Sopenharmony_ci SMP parts. All of the balancing and CPU wakeup decisions are 308c2ecf20Sopenharmony_ci taken care of automatically by hardware for distributed 318c2ecf20Sopenharmony_ci vectors. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci If in doubt, say N. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciconfig INTC_MAPPING_DEBUG 368c2ecf20Sopenharmony_ci bool "Expose IRQ to per-controller id mapping via debugfs" 378c2ecf20Sopenharmony_ci depends on DEBUG_FS 388c2ecf20Sopenharmony_ci help 398c2ecf20Sopenharmony_ci This will create a debugfs entry for showing the relationship 408c2ecf20Sopenharmony_ci between system IRQs and the per-controller id tables. 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci If in doubt, say N. 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciendif 45