• S
    iommu: Change iommu driver to call map trace event · e0be7c86
    Shuah Khan 提交于
    Change iommu driver to call map trace event. This iommu_map_unmap class event
    can be enabled to trigger when iommu map iommu ops is called. Trace information
    includes iova, physical address (map event only), and size.
    
    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: map: IOMMU: iova=0x00000000cb800000 paddr=0x00000000cf9fffff size=0x400
    Signed-off-by: NShuah Khan <shuah.kh@samsung.com>
    Signed-off-by: NJoerg Roedel <joro@8bytes.org>
    e0be7c86
iommu.c 25.1 KB