Lines Matching refs:pasid

31 #include "pasid.h"
834 unsigned long long addr, u32 pasid)
877 /* get the pointer to pasid directory entry */
880 pr_info("pasid directory entry is not present\n");
883 /* For request-without-pasid, get the pasid from context entry */
884 if (intel_iommu_sm && pasid == IOMMU_PASID_INVALID)
885 pasid = IOMMU_NO_PASID;
887 dir_index = pasid >> PASID_PDE_SHIFT;
889 pr_info("pasid dir entry: 0x%016llx\n", pde->val);
891 /* get the pointer to the pasid table entry */
894 pr_info("pasid table entry is not present\n");
897 index = pasid & PASID_PTE_MASK;
900 pr_info("pasid table entry[%d]: 0x%016llx\n", i, pte->val[i]);
1491 info->pfsid, dev_pasid->pasid,
1508 qi_flush_piotlb(iommu, did, dev_pasid->pasid, addr, npages, ih);
1691 * Vt-d spec rev3.0 (section 6.2.3.1) requires that each pasid
1900 context_set_sm_rid2pasid(struct context_entry *context, unsigned long pasid)
1902 context->hi |= pasid & ((1 << 20) - 1);
2334 u32 pasid)
2360 return intel_pasid_setup_first_level(iommu, dev, (pgd_t *)pgd, pasid,
2774 * Find the max pasid size of all IOMMU's in the system.
2775 * We need to ensure the system pasid table is no bigger
3960 * Clear the page table pointer in context or pasid table entries so that
4682 static void intel_iommu_remove_dev_pasid(struct device *dev, ioasid_t pasid)
4690 domain = iommu_get_domain_for_dev_pasid(dev, pasid, 0);
4700 intel_svm_remove_dev_pasid(dev, pasid);
4707 if (curr->dev == dev && curr->pasid == pasid) {
4719 intel_pasid_tear_down_entry(iommu, dev, pasid, false);
4720 intel_drain_pasid_prq(dev, pasid);
4724 struct device *dev, ioasid_t pasid)
4753 dev, pasid);
4756 dev, pasid);
4759 dev, pasid);
4764 dev_pasid->pasid = pasid;
5043 u32 pasid, u16 qdep)
5051 if (pasid == IOMMU_NO_PASID) {
5056 pasid, qdep, address, mask);