Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD

Mark interrupts with no_action handler, cascade interrupts, low level
interrupts (bus error, halt ..) with IRQF_NO_THREAD to exclude them
from forced threading.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Wu Zhangjin and committed by
Ralf Baechle
5a4a4ad8 4d85f6af

+24 -10
+2 -1
arch/mips/ar7/irq.c
··· 98 98 99 99 static struct irqaction ar7_cascade_action = { 100 100 .handler = no_action, 101 - .name = "AR7 cascade interrupt" 101 + .name = "AR7 cascade interrupt", 102 + .flags = IRQF_NO_THREAD, 102 103 }; 103 104 104 105 static void __init ar7_irq_init(int base)
+1
arch/mips/bcm63xx/irq.c
··· 222 222 static struct irqaction cpu_ip2_cascade_action = { 223 223 .handler = no_action, 224 224 .name = "cascade_ip2", 225 + .flags = IRQF_NO_THREAD, 225 226 }; 226 227 227 228 void __init arch_init_irq(void)
+1
arch/mips/cobalt/irq.c
··· 48 48 static struct irqaction cascade = { 49 49 .handler = no_action, 50 50 .name = "cascade", 51 + .flags = IRQF_NO_THREAD, 51 52 }; 52 53 53 54 void __init arch_init_irq(void)
+4
arch/mips/dec/setup.c
··· 101 101 static struct irqaction ioirq = { 102 102 .handler = no_action, 103 103 .name = "cascade", 104 + .flags = IRQF_NO_THREAD, 104 105 }; 105 106 static struct irqaction fpuirq = { 106 107 .handler = no_action, 107 108 .name = "fpu", 109 + .flags = IRQF_NO_THREAD, 108 110 }; 109 111 110 112 static struct irqaction busirq = { 111 113 .flags = IRQF_DISABLED, 112 114 .name = "bus error", 115 + .flags = IRQF_NO_THREAD, 113 116 }; 114 117 115 118 static struct irqaction haltirq = { 116 119 .handler = dec_intr_halt, 117 120 .name = "halt", 121 + .flags = IRQF_NO_THREAD, 118 122 }; 119 123 120 124
+1 -1
arch/mips/emma/markeins/irq.c
··· 169 169 170 170 static struct irqaction irq_cascade = { 171 171 .handler = no_action, 172 - .flags = 0, 172 + .flags = IRQF_NO_THREAD, 173 173 .name = "cascade", 174 174 .dev_id = NULL, 175 175 .next = NULL,
+1
arch/mips/lasat/interrupt.c
··· 105 105 static struct irqaction cascade = { 106 106 .handler = no_action, 107 107 .name = "cascade", 108 + .flags = IRQF_NO_THREAD, 108 109 }; 109 110 110 111 void __init arch_init_irq(void)
+4 -2
arch/mips/mti-malta/malta-int.c
··· 350 350 351 351 static struct irqaction i8259irq = { 352 352 .handler = no_action, 353 - .name = "XT-PIC cascade" 353 + .name = "XT-PIC cascade", 354 + .flags = IRQF_NO_THREAD, 354 355 }; 355 356 356 357 static struct irqaction corehi_irqaction = { 357 358 .handler = no_action, 358 - .name = "CoreHi" 359 + .name = "CoreHi", 360 + .flags = IRQF_NO_THREAD, 359 361 }; 360 362 361 363 static msc_irqmap_t __initdata msc_irqmap[] = {
+2
arch/mips/pmc-sierra/msp71xx/msp_irq.c
··· 109 109 static struct irqaction cic_cascade_msp = { 110 110 .handler = no_action, 111 111 .name = "MSP CIC cascade" 112 + .flags = IRQF_NO_THREAD, 112 113 }; 113 114 114 115 static struct irqaction per_cascade_msp = { 115 116 .handler = no_action, 116 117 .name = "MSP PER cascade" 118 + .flags = IRQF_NO_THREAD, 117 119 }; 118 120 119 121 void __init arch_init_irq(void)
+1 -1
arch/mips/pnx8550/common/int.c
··· 167 167 168 168 static struct irqaction gic_action = { 169 169 .handler = no_action, 170 - .flags = IRQF_DISABLED, 170 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 171 171 .name = "GIC", 172 172 }; 173 173
+5 -5
arch/mips/sgi-ip22/ip22-int.c
··· 155 155 156 156 static struct irqaction local0_cascade = { 157 157 .handler = no_action, 158 - .flags = IRQF_DISABLED, 158 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 159 159 .name = "local0 cascade", 160 160 }; 161 161 162 162 static struct irqaction local1_cascade = { 163 163 .handler = no_action, 164 - .flags = IRQF_DISABLED, 164 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 165 165 .name = "local1 cascade", 166 166 }; 167 167 168 168 static struct irqaction buserr = { 169 169 .handler = no_action, 170 - .flags = IRQF_DISABLED, 170 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 171 171 .name = "Bus Error", 172 172 }; 173 173 174 174 static struct irqaction map0_cascade = { 175 175 .handler = no_action, 176 - .flags = IRQF_DISABLED, 176 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 177 177 .name = "mapable0 cascade", 178 178 }; 179 179 180 180 #ifdef USE_LIO3_IRQ 181 181 static struct irqaction map1_cascade = { 182 182 .handler = no_action, 183 - .flags = IRQF_DISABLED, 183 + .flags = IRQF_DISABLED | IRQF_NO_THREAD, 184 184 .name = "mapable1 cascade", 185 185 }; 186 186 #define SGI_INTERRUPTS SGINT_END
+1
arch/mips/sni/rm200.c
··· 359 359 static struct irqaction sni_rm200_irq2 = { 360 360 .handler = no_action, 361 361 .name = "cascade", 362 + .flags = IRQF_NO_THREAD, 362 363 }; 363 364 364 365 static struct resource sni_rm200_pic1_resource = {
+1
arch/mips/vr41xx/common/irq.c
··· 34 34 static struct irqaction cascade_irqaction = { 35 35 .handler = no_action, 36 36 .name = "cascade", 37 + .flags = IRQF_NO_THREAD, 37 38 }; 38 39 39 40 int cascade_irq(unsigned int irq, int (*get_irq)(unsigned int))