From: Shuah Khan Date: Thu, 15 Aug 2013 17:59:26 +0000 (-0600) Subject: iommu: Change iommu driver to call attach_device_to_domain trace event X-Git-Tag: v3.13-rc1~79^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54db778858bc83f9231e5b358cb978f559f7016;p=pandora-kernel.git iommu: Change iommu driver to call attach_device_to_domain trace event Change iommu driver to call attach_device_to_domain trace event. This iommu_device class event can be enabled to trigger when devices are attached to a domain. Trace information includes device name. Testing: Added trace calls to iommu_prepare_identity_map() for testing some of the conditions that are hard to trigger. Here is the trace from the testing: swapper/0-1 [003] .... 1.854102: attach_device_to_domain: IOMMU: device=0000:00:02.0 Signed-off-by: Shuah Khan Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed