drm/msm: avoid flood of kernel logs on faults
authorRob Clark <robdclark@gmail.com>
Sat, 9 Aug 2014 13:07:25 +0000 (09:07 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 26 Aug 2014 14:43:31 +0000 (10:43 -0400)
87e956e9 changed the fault handler to return -ENOSYS, which causes the
iommu driver to print out a huge splat.  Which wouldn't be quite so bad
if nothing ever faulted.  But seems like some EXA composite operations
generate quite a lot of (seemingly harmless) faults.  That is probably a
userspace problem, but the huge increase in verbosity from iommu fault
dumps makes things kind of unusable.

We probably should actually log *some* message (not conditional on
drm.debug).  But ratelimit it.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_iommu.c

Simple merge