lkml.org 
[lkml]   [2022]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 1/6] iommu: Add a per domain PASID for DMA API
    On Tue, May 31, 2022 at 10:29:55AM -0700, Jacob Pan wrote:

    > The reason why I store PASID at IOMMU domain is for IOTLB flush within the
    > domain. Device driver is not aware of domain level IOTLB flush. We also
    > have iova_cookie for each domain which essentially is for RIDPASID.

    You need to make the PASID stuff work generically.

    The domain needs to hold a list of all the places it needs to flush
    and that list needs to be maintained during attach/detach.

    A single PASID on the domain is obviously never going to work
    generically.

    Jason

    \
     
     \ /
      Last update: 2022-05-31 21:06    [W:3.329 / U:0.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site