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