Comment # 1 on bug 1199052 from
Additional info

Inspecting the code based on the given line reveals, that the warn is based on
this change:

https://lore.kernel.org/all/20211123161038.48009-2-mlevitsk@redhat.com/

@@ -825,7 +836,7 @@ static int iommu_ga_log_enable(struct amd_iommu *iommu)
             break;
     }

-    if (i >= LOOP_TIMEOUT)
+    if (WARN_ON(i >= LOOP_TIMEOUT))
         return -EINVAL;
 #endif /* CONFIG_IRQ_REMAP */
     return 0;


You are receiving this mail because: