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

x86, iommu: Mark DMAR IRQ as non-threaded

Mark this lowlevel IRQ handler as non-threaded. This prevents a boot
crash when "threadirqs" is on the kernel commandline. Also the
interrupt handler is handling hardware critical events which should
not be delayed into a thread.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

+1 -1
+1 -1
drivers/iommu/dmar.c
··· 1388 1388 return ret; 1389 1389 } 1390 1390 1391 - ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu); 1391 + ret = request_irq(irq, dmar_fault, IRQF_NO_THREAD, iommu->name, iommu); 1392 1392 if (ret) 1393 1393 printk(KERN_ERR "IOMMU: can't request irq\n"); 1394 1394 return ret;