All of lore.kernel.org
 help / color / mirror / Atom feed
* iommu/amd: avoid irqs_disabled() check
@ 2018-05-04 16:22 Sebastian Andrzej Siewior
       [not found] ` <20180504162233.11283-1-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Andrzej Siewior @ 2018-05-04 16:22 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: tglx-hfZtesqFncYOwBW4kG4KsQ

Primary motivation was to get rid of the "WARN_ON(!irqs_disabled());"
check. The first 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.

Sebastian

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

end of thread, other threads:[~2018-05-07 13:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04 16:22 iommu/amd: avoid irqs_disabled() check Sebastian Andrzej Siewior
     [not found] ` <20180504162233.11283-1-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-04 16:22   ` [PATCH 1/3] iommu/amd: Prevent possible null pointer dereference and infinite loop Sebastian Andrzej Siewior
2018-05-04 16:22   ` [PATCH 2/3] iommu/amd: Cleanup locking in __attach/detach_device() Sebastian Andrzej Siewior
2018-05-04 16:22   ` [PATCH 3/3] iommu/amd: Do not flush when device is busy Sebastian Andrzej Siewior
     [not found]     ` <20180504162233.11283-4-bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2018-05-04 16:52       ` Gary R Hook
     [not found]         ` <0e5269ee-093f-9bb2-0a18-ee0e56fcf8f7-5C7GfCeVMHo@public.gmane.org>
2018-05-07 12:38           ` Anna-Maria Gleixner
     [not found]             ` <alpine.DEB.2.20.1805071430530.2795-krIhswJi0h8yMciVaGeJ0d53zsg1cpMQ@public.gmane.org>
2018-05-07 13:26               ` Gary R Hook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.