lkml.org 
[lkml]   [2023]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v2 6/8] iommu/vt-d: Implement set_dev_pasid domain op
    Date
    > From: Jacob Pan <jacob.jun.pan@linux.intel.com>
    > Sent: Tuesday, March 28, 2023 7:22 AM
    >
    > Devices that use ENQCMDS to submit work on buffers mapped by DMA API
    > must attach a PASID to the default domain of the device. In preparation
    > for this use case, this patch implements set_dev_pasid() for the
    > default_domain_ops. Besides PASID attachment, device will also be
    > attached to the domain as the result of this call if the device has not
    > been attached before.
    >

    I didn't get the last point. PASID attach should only have the scope
    for the pasid. RID of the device might be attached to another domain
    which shouldn't be changed by this call.

    \
     
     \ /
      Last update: 2023-03-28 09:50    [W:4.795 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site