OSDN Git Service

iommu: Add domain attribute to make faults non-fatal
authorMitchel Humpherys <mitchelh@codeaurora.org>
Sat, 26 Sep 2015 00:26:31 +0000 (17:26 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:25 +0000 (11:14 -0700)
commit5ee33ef836b9ed469833bdf55c4a08d62b6bb39c
tree610991c66f83ef9c57fc652fb5f2cc2fb70d8fc3
parent8d42b78c4c69e5fd188f4bcc5d35fa3973a5f665
iommu: Add domain attribute to make faults non-fatal

During development, any IOMMU faults most likely need to be debugged
immediately.  Allowing the system to continue to run has a tendency to
mask the original problem, which makes debugging more difficult.  Some
drivers might want to make all faults fatal by default, unless
explicitly requested otherwise by a client.  Add a domain attribute for
this.

Change-Id: I454b143ea3cae1f3de36e0888afd15936aa63ce1
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
include/linux/iommu.h