Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/ !
Diommu-sva.h12 struct iommu_fault;
16 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie);
26 iommu_sva_handle_iopf(struct iommu_fault *fault, void *data);
29 static inline int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf()
66 iommu_sva_handle_iopf(struct iommu_fault *fault, void *data) in iommu_sva_handle_iopf()
Dio-pgfault.c44 struct iommu_fault fault;
143 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf()
Diommu-sva.c152 iommu_sva_handle_iopf(struct iommu_fault *fault, void *data) in iommu_sva_handle_iopf()
/linux-6.6.21/drivers/iommu/amd/ !
Diommu_v2.c517 struct amd_iommu_fault *iommu_fault; in ppr_notifier() local
527 iommu_fault = data; in ppr_notifier()
528 tag = iommu_fault->tag & 0x1ff; in ppr_notifier()
529 finish = (iommu_fault->tag >> 9) & 1; in ppr_notifier()
531 seg_id = PCI_SBDF_TO_SEGID(iommu_fault->sbdf); in ppr_notifier()
532 devid = PCI_SBDF_TO_DEVID(iommu_fault->sbdf); in ppr_notifier()
542 amd_iommu_complete_ppr(pdev, iommu_fault->pasid, in ppr_notifier()
547 dev_state = get_device_state(iommu_fault->sbdf); in ppr_notifier()
551 pasid_state = get_pasid_state(dev_state, iommu_fault->pasid); in ppr_notifier()
554 amd_iommu_complete_ppr(dev_state->pdev, iommu_fault->pasid, in ppr_notifier()
[all …]
/linux-6.6.21/include/uapi/linux/ !
Diommu.h115 struct iommu_fault { struct
/linux-6.6.21/include/linux/ !
Diommu.h51 typedef int (*iommu_dev_fault_handler_t)(struct iommu_fault *, void *);
101 enum iommu_page_response_code (*iopf_handler)(struct iommu_fault *fault,
391 struct iommu_fault fault;
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/ !
Darm-smmu-v3.c1478 struct iommu_fault *flt = &fault_evt.fault; in arm_smmu_handle_evt()