Lines Matching refs:pasid
302 static void __idxd_wq_set_pasid_locked(struct idxd_wq *wq, int pasid)
312 wqcfg.pasid = pasid;
318 int idxd_wq_set_pasid(struct idxd_wq *wq, int pasid)
326 __idxd_wq_set_pasid_locked(wq, pasid);
350 wqcfg.pasid = 0;
580 void idxd_device_drain_pasid(struct idxd_device *idxd, int pasid)
585 operand = pasid;
588 dev_dbg(dev, "pasid %d drained\n", pasid);
1285 if (ie->pasid == IOMMU_PASID_INVALID)
1289 mperm.pasid = ie->pasid;
1315 ie->pasid = IOMMU_PASID_INVALID;
1331 ie->pasid = device_pasid_enabled(idxd) ? idxd->pasid : IOMMU_PASID_INVALID;
1356 ie->pasid = IOMMU_PASID_INVALID;
1415 * In the event that the WQ is configurable for pasid, the driver
1416 * should setup the pasid, pasid_en bit. This is true for both kernel
1419 * A dedicated wq that is not 'kernel' type will configure pasid and
1425 u32 pasid = wq_dedicated(wq) ? idxd->pasid : 0;
1427 __idxd_wq_set_pasid_locked(wq, pasid);
1543 if (idxd->pasid != IOMMU_PASID_INVALID)