[PATCH v2 0/2] iommu/vt-d: Fault logging improvements
From: Alex Williamson
Date: Thu Mar 17 2016 - 16:12:26 EST
Ratelimit and improve formatting.
- 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.
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(-)