Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iommu/
Ddmar.c1591 static const char *dmar_get_fault_reason(u8 fault_reason, int *fault_type) in dmar_get_fault_reason() argument
1593 if (fault_reason >= 0x20 && (fault_reason - 0x20 < in dmar_get_fault_reason()
1596 return irq_remap_fault_reasons[fault_reason - 0x20]; in dmar_get_fault_reason()
1597 } else if (fault_reason >= 0x30 && (fault_reason - 0x30 < in dmar_get_fault_reason()
1600 return dma_remap_sm_fault_reasons[fault_reason - 0x30]; in dmar_get_fault_reason()
1601 } else if (fault_reason < ARRAY_SIZE(dma_remap_fault_reasons)) { in dmar_get_fault_reason()
1603 return dma_remap_fault_reasons[fault_reason]; in dmar_get_fault_reason()
1676 u8 fault_reason, int pasid, u16 source_id, in dmar_fault_do_one() argument
1682 reason = dmar_get_fault_reason(fault_reason, &fault_type); in dmar_fault_do_one()
1688 fault_reason, reason); in dmar_fault_do_one()
[all …]