Lines Matching refs:iommu_fault
514 struct amd_iommu_fault *iommu_fault; in ppr_notifier() local
524 iommu_fault = data; in ppr_notifier()
525 tag = iommu_fault->tag & 0x1ff; in ppr_notifier()
526 finish = (iommu_fault->tag >> 9) & 1; in ppr_notifier()
528 seg_id = PCI_SBDF_TO_SEGID(iommu_fault->sbdf); in ppr_notifier()
529 devid = PCI_SBDF_TO_DEVID(iommu_fault->sbdf); in ppr_notifier()
539 amd_iommu_complete_ppr(pdev, iommu_fault->pasid, in ppr_notifier()
544 dev_state = get_device_state(iommu_fault->sbdf); in ppr_notifier()
548 pasid_state = get_pasid_state(dev_state, iommu_fault->pasid); in ppr_notifier()
551 amd_iommu_complete_ppr(dev_state->pdev, iommu_fault->pasid, in ppr_notifier()
570 fault->address = iommu_fault->address; in ppr_notifier()
574 fault->pasid = iommu_fault->pasid; in ppr_notifier()
575 fault->flags = iommu_fault->flags; in ppr_notifier()