On Thu, Mar 31, 2022 at 01:59:22PM -0700, Jacob Pan wrote:
That is a mistake - SVA needs to follow the general PASID design - the+ handle->dev = dev;why do we need to store pasid here? Conceptually, pasid is per sva domain
+ handle->domain = domain;
+ handle->pasid = mm->pasid;
not per bind. You can get it from handle->domain->sva_cookie.
domain does not encode the PASID, the PASID comes from the device