Re: WARNING: amd_iommu. linux-4.4.1-rt6
From: Thomas Gleixner <hidden>
Date: 2016-02-27 09:59:32
From: Thomas Gleixner <hidden>
Date: 2016-02-27 09:59:32
On Sat, 27 Feb 2016, Thomas Gleixner wrote:
--- 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