Primary motivation was to get rid of the "WARN_ON(!irqs_disabled());" check. The second patch avoids a possible loop (if cleanup_domain() is invoked `entry->domain == NULL' then it loops for ever). The irqs_disabled() check has been replaced with a lockdep_assert_held() check.
v1..v2: - Fix the grammar of comments as suggested by Gary Hook. Put the cleanup fix at the begin of the queue. Anna-Maria _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu