All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iommu/vt-d: Fault logging improvements
@ 2016-03-17 20:12 Alex Williamson
  2016-03-17 20:12 ` [PATCH v2 1/2] iommu/vt-d: Ratelimit fault handler Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alex Williamson @ 2016-03-17 20:12 UTC (permalink / raw)
  To: iommu, dwmw2; +Cc: joe, joro, linux-kernel

Ratelimit and improve formatting.

v2:

 - Use a single ratelimit state as suggested by Joe Perches, except
   I chose to move it up to dmar_fault() so that it includes the
   "handling fault status reg" pr_err and we can avoid collecting
   entries for logging if we don't plan to print them.
 - Added reformatting changes suggested by Joe Perches.
 - While there is clearly more that could be done with disabling
   fault handling for specific context entries on storm and sending
   errors to drivers, this makes a marked improvement on its own.

Thanks,
Alex

---

Alex Williamson (2):
      iommu/vt-d: Ratelimit fault handler
      iommu/vt-d: Improve fault handler error messages


 drivers/iommu/dmar.c |   47 +++++++++++++++++++++++++++--------------------
 1 file changed, 27 insertions(+), 20 deletions(-)

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

end of thread, other threads:[~2016-04-05 14:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 20:12 [PATCH v2 0/2] iommu/vt-d: Fault logging improvements Alex Williamson
2016-03-17 20:12 ` [PATCH v2 1/2] iommu/vt-d: Ratelimit fault handler Alex Williamson
2016-03-17 20:33   ` Joe Perches
     [not found]     ` <1458246810.9556.22.camel-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2016-03-17 20:46       ` Alex Williamson
2016-03-17 20:46         ` Alex Williamson
     [not found] ` <20160317200557.29049.32879.stgit-GCcqpEzw8uZBDLzU/O5InQ@public.gmane.org>
2016-03-17 20:12   ` [PATCH v2 2/2] iommu/vt-d: Improve fault handler error messages Alex Williamson
2016-03-17 20:12     ` Alex Williamson
2016-04-05 14:20   ` [PATCH v2 0/2] iommu/vt-d: Fault logging improvements Joerg Roedel
2016-04-05 14:20     ` Joerg Roedel
2016-03-17 20:25 ` Joe Perches

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.