iommu: Introduce device fault data
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Mon, 3 Jun 2019 14:57:47 +0000 (15:57 +0100)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Jun 2019 08:19:06 +0000 (10:19 +0200)
commit4e32348ba5269aac1165f496b78189201568dd8c
tree645db77880ee054afc5d90be66f490b94c074d6f
parentec6bc2e9e81b8805390851d7c7c907b0ed08b646
iommu: Introduce device fault data

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 care about non internal faults that are likely to be reported
to an external subsystem.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Liu, Yi L <yi.l.liu@linux.intel.com>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h
include/uapi/linux/iommu.h [new file with mode: 0644]