OSDN Git Service

iommu/arm-smmu: Rate-limit the context fault handler
authorMitchel Humpherys <mitchelh@codeaurora.org>
Mon, 14 Sep 2015 19:08:09 +0000 (12:08 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:12 +0000 (11:14 -0700)
commit75c60f5e4de29d9085242001364003fc65127232
treeb98c51f1b68aa79ccfa03e72ba62791163042b62
parentb89acf2719e06e4f231daef3de20b49063b5ffb5
iommu/arm-smmu: Rate-limit the context fault handler

It's not uncommon for us to take a flood of context faults when
something terrible happens.  This usually brings down the system due to
excessive logging, which makes it difficult to debug the actual root
cause of the issue.  Fix this by rate-limiting the output from the
context fault handler.

Change-Id: I1fe83bbbc7cc7aa2cf6303c6c7d2bf5733f63557
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/iommu/arm-smmu.c