iommu/vt-d: Ratelimit fault handler
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 17 Mar 2016 20:12:25 +0000 (14:12 -0600)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 Apr 2016 14:21:49 +0000 (16:21 +0200)
commitc43fce4eebae257ca413733690e2076757282093
tree31120baca6aa7bb297520e1806dbddd827eccb26
parent9735a22799b9214d17d3c231fe377fc852f042e9
iommu/vt-d: Ratelimit fault handler

Fault rates can easily overwhelm the console and make the system
unresponsive.  Ratelimit to allow an opportunity for maintenance.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Fixes: 0ac2491f57af ('x86, dmar: move page fault handling code to dmar.c')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dmar.c