commit | 0ed6d2d27bcc2ace454a8c55446e1bc3efd2d529 | [log] [tgz] |
---|---|---|
author | Ohad Ben-Cohen <ohad@wizery.com> | Tue Sep 27 07:36:40 2011 -0400 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Fri Sep 30 16:40:32 2011 +0200 |
tree | 0ed0c8f9878ee5a921ab69131e38a45864e2498f | |
parent | 30bd918c7132adddd370c79fd5619bf108efd702 [diff] |
iommu/core: let drivers know if an iommu fault handler isn't installed Make report_iommu_fault() return -ENOSYS whenever an iommu fault handler isn't installed, so IOMMU drivers can then do their own platform-specific default behavior if they wanted. Fault handlers can still return -ENOSYS in case they want to elicit the default behavior of the IOMMU drivers. Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>