lkml.org 
[lkml]   [2016]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v2 0/2] iommu/vt-d: Fault logging improvements
From
Date
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(-)

\
 
 \ /
  Last update: 2016-03-17 22:01    [W:0.090 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site