linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] AMD IOMMU WARN NONRT
@ 2016-02-27 11:39 DIXLOR
  0 siblings, 0 replies; only message in thread
From: DIXLOR @ 2016-02-27 11:39 UTC (permalink / raw)
  To: linux-rt-users

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

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 #2: Криптографическая подпись S/MIME --]
[-- Type: application/pkcs7-signature, Size: 3577 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-27 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 11:39 [PATCH] AMD IOMMU WARN NONRT DIXLOR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).