Lines Matching refs:prm
392 event.fault.prm.addr = (u64)desc->addr << VTD_PAGE_SHIFT; in intel_svm_prq_report()
393 event.fault.prm.pasid = desc->pasid; in intel_svm_prq_report()
394 event.fault.prm.grpid = desc->prg_index; in intel_svm_prq_report()
395 event.fault.prm.perm = prq_to_iommu_prot(desc); in intel_svm_prq_report()
398 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_prq_report()
400 event.fault.prm.flags |= IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in intel_svm_prq_report()
401 event.fault.prm.flags |= IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID; in intel_svm_prq_report()
532 struct iommu_fault_page_request *prm; in intel_svm_page_response() local
538 prm = &evt->fault.prm; in intel_svm_page_response()
540 pasid_present = prm->flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID; in intel_svm_page_response()
541 last_page = prm->flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE; in intel_svm_page_response()
543 desc.qw0 = QI_PGRP_PASID(prm->pasid) | QI_PGRP_DID(sid) | in intel_svm_page_response()
547 desc.qw1 = QI_PGRP_IDX(prm->grpid) | QI_PGRP_LPIG(last_page); in intel_svm_page_response()