All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] iommu: Add device fault reporting API
@ 2019-06-03 14:57 ` Jean-Philippe Brucker
  0 siblings, 0 replies; 38+ messages in thread
From: Jean-Philippe Brucker @ 2019-06-03 14:57 UTC (permalink / raw)
  To: joro, alex.williamson
  Cc: jacob.jun.pan, eric.auger, ashok.raj, yi.l.liu, robdclark,
	linux-kernel, iommu, robin.murphy

Allow device drivers and VFIO to get notified on IOMMU translation
fault, and handle recoverable faults (PCI PRI). Several series require
this API (Intel VT-d and Arm SMMUv3 nested support, as well as the
generic host SVA implementation).

Changes since v1 [1]:
* Allocate iommu_param earlier, in iommu_probe_device().
* Pass struct iommu_fault to fault handlers, instead of the
  iommu_fault_event wrapper.
* Removed unused iommu_fault_event::iommu_private.
* Removed unnecessary iommu_page_response::addr.
* Added iommu_page_response::version, which would allow to introduce a
  new incompatible iommu_page_response structure (as opposed to just
  adding a flag + field).

[1] [PATCH 0/4] iommu: Add device fault reporting API
    https://lore.kernel.org/lkml/20190523180613.55049-1-jean-philippe.brucker@arm.com/

Jacob Pan (3):
  driver core: Add per device iommu param
  iommu: Introduce device fault data
  iommu: Introduce device fault report API

Jean-Philippe Brucker (1):
  iommu: Add recoverable fault reporting

 drivers/iommu/iommu.c      | 236 ++++++++++++++++++++++++++++++++++++-
 include/linux/device.h     |   3 +
 include/linux/iommu.h      |  87 ++++++++++++++
 include/uapi/linux/iommu.h | 153 ++++++++++++++++++++++++
 4 files changed, 476 insertions(+), 3 deletions(-)
 create mode 100644 include/uapi/linux/iommu.h

-- 
2.21.0


^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2019-06-18 15:16 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 14:57 [PATCH v2 0/4] iommu: Add device fault reporting API Jean-Philippe Brucker
2019-06-03 14:57 ` Jean-Philippe Brucker
2019-06-03 14:57 ` [PATCH v2 1/4] driver core: Add per device iommu param Jean-Philippe Brucker
2019-06-03 14:57   ` Jean-Philippe Brucker
2019-06-03 14:57 ` [PATCH v2 2/4] iommu: Introduce device fault data Jean-Philippe Brucker
2019-06-03 14:57   ` Jean-Philippe Brucker
2019-06-03 22:08   ` Jacob Pan
2019-06-03 22:08     ` Jacob Pan
2019-06-05  8:51     ` Tian, Kevin
2019-06-05  8:51       ` Tian, Kevin
2019-06-05 11:24       ` Jean-Philippe Brucker
2019-06-05 11:24         ` Jean-Philippe Brucker
2019-06-05 21:58         ` Jacob Pan
2019-06-05 21:58           ` Jacob Pan
2019-06-05 17:37       ` Jacob Pan
2019-06-05 17:37         ` Jacob Pan
2019-06-06  6:54         ` Tian, Kevin
2019-06-06  6:54           ` Tian, Kevin
2019-06-03 14:57 ` [PATCH v2 3/4] iommu: Introduce device fault report API Jean-Philippe Brucker
2019-06-03 14:57   ` Jean-Philippe Brucker
2019-06-03 14:57 ` [PATCH v2 4/4] iommu: Add recoverable fault reporting Jean-Philippe Brucker
2019-06-03 14:57   ` Jean-Philippe Brucker
2019-06-03 21:59 ` [PATCH v2 0/4] iommu: Add device fault reporting API Jacob Pan
2019-06-03 21:59   ` Jacob Pan
2019-06-05 11:26   ` Jean-Philippe Brucker
2019-06-05 11:26     ` Jean-Philippe Brucker
2019-06-12  8:19 ` Joerg Roedel
2019-06-12  8:19   ` Joerg Roedel
2019-06-12 11:54   ` Jean-Philippe Brucker
2019-06-12 11:54     ` Jean-Philippe Brucker
2019-06-12 13:11     ` Joerg Roedel
2019-06-12 13:11       ` Joerg Roedel
2019-06-12 17:59       ` [PATCH] iommu: Add padding to struct iommu_fault Jean-Philippe Brucker
2019-06-12 19:02         ` Jacob Pan
2019-06-12 19:19         ` Auger Eric
2019-06-18 15:15         ` Joerg Roedel
2019-06-12 18:58       ` [PATCH v2 0/4] iommu: Add device fault reporting API Jacob Pan
2019-06-12 18:58         ` Jacob Pan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.