Thread (5 messages) 5 messages, 3 authors, 2016-02-27

Re: WARNING: amd_iommu. linux-4.4.1-rt6

From: Thomas Gleixner <hidden>
Date: 2016-02-27 09:59:32

On Sat, 27 Feb 2016, Thomas Gleixner wrote:
quoted hunk ↗ jump to hunk
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -1952,10 +1952,10 @@ static int __attach_device(struct iommu_
 	int ret;
 
 	/*
-	 * Must be called with IRQs disabled. Warn here to detect early
-	 * when its not.
+	 * Must be called with IRQs disabled on a non RT kernel. Warn here to
+	 * detect early when its not.
 	 */
-	WARN_ON(!irqs_disabled());
+	WARN_ON_NORT(!irqs_disabled());
That wants to be

+	WARN_ON_NONRT(!irqs_disabled());

of course.

-ENOTAWAKEYET
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help