lkml.org 
[lkml]   [2011]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4] Intel iommu: Speed up processing of the identity_mapping function


    Chris Wright wrote:
    > * Mike Travis (travis@sgi.com) wrote:
    >> @@ -2138,6 +2134,7 @@ static int domain_add_dev_info(struct dm
    >> list_add(&info->global, &device_domain_list);
    >> pdev->dev.archdata.iommu = info;
    >
    > The si_domain is cached right here...can you not use this instead of
    > adding an iommu impl. specific bit to pci_dev?
    >
    >> spin_unlock_irqrestore(&device_domain_lock, flags);
    >> + pdev->is_identity_mapped = (domain == si_domain);

    Yes, it looks like I came at the solution backwards... I added
    the bit then figured out how to set it. I'll update that patch.


    \
     
     \ /
      Last update: 2011-03-30 21:31    [from the cache]
    ©2003-2011 Jasper Spaans