OSDN Git Service

iommu/arm-smmu: Implement .trigger_fault
authorMitchel Humpherys <mitchelh@codeaurora.org>
Fri, 10 Jul 2015 00:26:15 +0000 (17:26 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:13:33 +0000 (11:13 -0700)
commit26817140679ca11c5521719cdc167a2c7f131aa4
treed375abcb38b4ceffff7b1ee651c4ea41413d7061
parent1f9b32916b0859cda5ca40f785fbffd45b3e5a25
iommu/arm-smmu: Implement .trigger_fault

In order to facilitate debugging and development, implement the
.trigger_fault method from iommu_ops.  This can be done on ARM SMMUv2 by
writing to the FSRRESTORE register.  Do it.

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