Re: [PATCH 2/4] iommu: Introduce device fault data

2019-05-24 Thread Jacob Pan
On Fri, 24 May 2019 17:14:30 +0100 Jean-Philippe Brucker wrote: > On 24/05/2019 14:49, Jacob Pan wrote: > > On Thu, 23 May 2019 19:43:46 +0100 > > Robin Murphy wrote: > >>> +/** > >>> + * struct iommu_fault_event - Generic fault event > >>> + * > >>> + * Can represent recoverable faults such a

Re: [PATCH 2/4] iommu: Introduce device fault data

2019-05-24 Thread Jean-Philippe Brucker
On 24/05/2019 14:49, Jacob Pan wrote: > On Thu, 23 May 2019 19:43:46 +0100 > Robin Murphy wrote: >>> +/** >>> + * struct iommu_fault_event - Generic fault event >>> + * >>> + * Can represent recoverable faults such as a page requests or >>> + * unrecoverable faults such as DMA or IRQ remapping fau

Re: [PATCH 2/4] iommu: Introduce device fault data

2019-05-24 Thread Jacob Pan
On Thu, 23 May 2019 19:43:46 +0100 Robin Murphy wrote: > On 23/05/2019 19:06, Jean-Philippe Brucker wrote: > > From: Jacob Pan > > > > Device faults detected by IOMMU can be reported outside the IOMMU > > subsystem for further processing. This patch introduces > > a generic device fault data st

Re: [PATCH 2/4] iommu: Introduce device fault data

2019-05-23 Thread Robin Murphy
On 23/05/2019 19:06, Jean-Philippe Brucker wrote: From: Jacob Pan Device faults detected by IOMMU can be reported outside the IOMMU subsystem for further processing. This patch introduces a generic device fault data structure. The fault can be either an unrecoverable fault or a page request, a

[PATCH 2/4] iommu: Introduce device fault data

2019-05-23 Thread Jean-Philippe Brucker
From: Jacob Pan Device faults detected by IOMMU can be reported outside the IOMMU subsystem for further processing. This patch introduces a generic device fault data structure. The fault can be either an unrecoverable fault or a page request, also referred to as a recoverable fault. We only car