[PATCH] AMD IOMMU WARN NONRT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff -ur a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
--- a/drivers/iommu/amd_iommu.c    2016-02-17 23:31:25.000000000 +0300
+++ b/drivers/iommu/amd_iommu.c    2016-02-27 14:36:34.928583707 +0300
@@ -1952,10 +1952,10 @@
     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_NONRT(!irqs_disabled());

     /* lock domain */
     spin_lock(&domain->lock);
@@ -2118,10 +2118,10 @@
     struct protection_domain *domain;

     /*
-     * 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_NONRT(!irqs_disabled());

     if (WARN_ON(!dev_data->domain))
         return;



Attachment: smime.p7s
Description: Криптографическая подпись S/MIME


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux