OSDN Git Service

iommu/arm-smmu: Make unmapped accesses more obvious
authorMitchel Humpherys <mitchelh@codeaurora.org>
Thu, 5 Nov 2015 19:50:29 +0000 (11:50 -0800)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:33 +0000 (11:14 -0700)
commit3a25b40a4e0aff69443e446e4293c7b63828c331
tree8056819d6d3a670b87bad339c09fae546fc647b5
parentfa8f99c506b31cd32cd9da8627bd1b3b1e813351
iommu/arm-smmu: Make unmapped accesses more obvious

The fault handler currently spits out a ton of information that can make
clients' eyes glaze over, and understandably so.  One of the most
important pieces of information we obtain from the fault handler is
whether the faulting address is actually mapped (which we check with a
software table walk), but that information is currently not obvious (you
have to know that "soft iova-to-phys=0" means that the software table
walk failed).  Fix this by adding a more obvious error message when we
detect an unmapped access.

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