Re: [PATCH v5 17/23] iommu/vt-d: report non-recoverable faults to device

2018-05-14 Thread Lu Baolu
Hi, On 05/12/2018 04:54 AM, Jacob Pan wrote: > Currently, dmar fault IRQ handler does nothing more than rate > limited printk, no critical hardware handling need to be done > in IRQ context. Not exactly. dmar_fault() needs to clear all the faults so that the subsequent faults could be logged. >

[PATCH v5 17/23] iommu/vt-d: report non-recoverable faults to device

2018-05-11 Thread Jacob Pan
Currently, dmar fault IRQ handler does nothing more than rate limited printk, no critical hardware handling need to be done in IRQ context. For some use case such as vIOMMU, it might be useful to report non-recoverable faults outside host IOMMU subsystem. DMAR fault can come from both DMA and inter