Home
last modified time | relevance | path

Searched refs:iommu_fault (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/iommu/
Diommu-sva-lib.h16 struct iommu_fault;
20 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie);
31 static inline int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf()
Dio-pgfault.c44 struct iommu_fault fault;
186 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf()
/linux-6.1.9/drivers/iommu/amd/
Diommu_v2.c514 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()
[all …]
/linux-6.1.9/include/uapi/linux/
Diommu.h115 struct iommu_fault { struct
/linux-6.1.9/include/linux/
Diommu.h52 typedef int (*iommu_dev_fault_handler_t)(struct iommu_fault *, void *);
343 struct iommu_fault fault;
/linux-6.1.9/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c1460 struct iommu_fault *flt = &fault_evt.fault; in arm_smmu_handle_evt()