1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21d6a21b0SPaul Mundtconfig SH_INTC 3049d2804SGeert Uytterhoeven bool 41d6a21b0SPaul Mundt select IRQ_DOMAIN 51d6a21b0SPaul Mundt 6049d2804SGeert Uytterhoevenif SH_INTC 7049d2804SGeert Uytterhoeven 833fc1a21SPaul Mundtcomment "Interrupt controller options" 933fc1a21SPaul Mundt 1033fc1a21SPaul Mundtconfig INTC_USERIMASK 1133fc1a21SPaul Mundt bool "Userspace interrupt masking support" 1239c5abbcSGeert Uytterhoeven depends on (SUPERH && CPU_SH4A) || COMPILE_TEST 1333fc1a21SPaul Mundt help 1433fc1a21SPaul Mundt This enables support for hardware-assisted userspace hardirq 1533fc1a21SPaul Mundt masking. 1633fc1a21SPaul Mundt 1733fc1a21SPaul Mundt SH-4A and newer interrupt blocks all support a special shadowed 1833fc1a21SPaul Mundt page with all non-masking registers obscured when mapped in to 1933fc1a21SPaul Mundt userspace. This is primarily for use by userspace device 2033fc1a21SPaul Mundt drivers that are using special priority levels. 2133fc1a21SPaul Mundt 2233fc1a21SPaul Mundt If in doubt, say N. 2333fc1a21SPaul Mundt 2433fc1a21SPaul Mundtconfig INTC_BALANCING 2533fc1a21SPaul Mundt bool "Hardware IRQ balancing support" 2633fc1a21SPaul Mundt depends on SMP && SUPERH && CPU_SHX3 2733fc1a21SPaul Mundt help 2833fc1a21SPaul Mundt This enables support for IRQ auto-distribution mode on SH-X3 2933fc1a21SPaul Mundt SMP parts. All of the balancing and CPU wakeup decisions are 3033fc1a21SPaul Mundt taken care of automatically by hardware for distributed 3133fc1a21SPaul Mundt vectors. 3233fc1a21SPaul Mundt 3333fc1a21SPaul Mundt If in doubt, say N. 3433fc1a21SPaul Mundt 3533fc1a21SPaul Mundtconfig INTC_MAPPING_DEBUG 3633fc1a21SPaul Mundt bool "Expose IRQ to per-controller id mapping via debugfs" 3733fc1a21SPaul Mundt depends on DEBUG_FS 3833fc1a21SPaul Mundt help 3933fc1a21SPaul Mundt This will create a debugfs entry for showing the relationship 4033fc1a21SPaul Mundt between system IRQs and the per-controller id tables. 4133fc1a21SPaul Mundt 4233fc1a21SPaul Mundt If in doubt, say N. 43049d2804SGeert Uytterhoeven 44049d2804SGeert Uytterhoevenendif 45