iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] iommu/amd: avoid irqs_disabled() check
@ 2018-05-07 12:53 Anna-Maria Gleixner
       [not found] ` <20180507125329.24648-1-anna-maria-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Anna-Maria Gleixner @ 2018-05-07 12:53 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: tglx-hfZtesqFncYOwBW4kG4KsQ, bigeasy-hfZtesqFncYOwBW4kG4KsQ

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-05-15 14:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-07 12:53 [PATCH v2 0/4] iommu/amd: avoid irqs_disabled() check Anna-Maria Gleixner
     [not found] ` <20180507125329.24648-1-anna-maria-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-07 12:53   ` [PATCH v2 1/4] iommu/amd: Fix grammar of comments Anna-Maria Gleixner
     [not found]     ` <20180507125329.24648-2-anna-maria-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-15 14:47       ` Joerg Roedel
2018-05-07 12:53   ` [PATCH v2 2/4] iommu/amd: Prevent possible null pointer dereference and infinite loop Anna-Maria Gleixner
     [not found]     ` <20180507125329.24648-3-anna-maria-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-15 14:49       ` Joerg Roedel
2018-05-07 12:53   ` [PATCH v2 3/4] iommu/amd: Cleanup locking in __attach/detach_device() Anna-Maria Gleixner
     [not found]     ` <20180507125329.24648-4-anna-maria-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-15 14:47       ` Joerg Roedel
2018-05-07 12:53   ` [PATCH v2 4/4] iommu/amd: Do not flush when device is busy Anna-Maria Gleixner

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).