All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/1] Add iommu map_sg/unmap_sg API
@ 2014-08-01  0:54 ` Olav Haugan
  0 siblings, 0 replies; 24+ messages in thread
From: Olav Haugan @ 2014-08-01  0:54 UTC (permalink / raw)
  To: joro
  Cc: robdclark, will.deacon, thierry.reding, iommu, linux-arm-kernel,
	linux-arm-msm, mitchelh, Olav Haugan

Patch for adding map_sg/unmap_sg to the generic IOMMU API.

v3 -> v4:
* Removed BUG_ON in both map_sg and unmap_sg
* Removed PAGE_ALIGN of length of mapping

v2 -> v3:
* Updated commit text
* Simplifed fallback code and fixed variable types in map_sg function.
* Renamed and changed arguments to map and unmap functions

v1 -> v2:
* Added support for "option" argument to unmap call. This can be used by
  IOMMU driver implentations to allow clients to signal to the driver not
  to do TLB invalidate for example.
* Added fallback in case iommu_{map,unmap}_range is called for an IOMMU driver
  that does not have these implemented.
* Rebased on top of Joerg's tree.
* Split out patch from the rest of the patches.



Olav Haugan (1):
  iommu-api: Add map_sg/unmap_sg functions

 drivers/iommu/iommu.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 include/linux/iommu.h | 28 ++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

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

end of thread, other threads:[~2014-08-08 17:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-01  0:54 [PATCH v4 0/1] Add iommu map_sg/unmap_sg API Olav Haugan
2014-08-01  0:54 ` Olav Haugan
2014-08-01  0:54 ` [PATCH v4 1/1] iommu-api: Add map_sg/unmap_sg functions Olav Haugan
2014-08-01  0:54   ` Olav Haugan
     [not found]   ` <1406854484-3848-2-git-send-email-ohaugan-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2014-08-01  8:22     ` Will Deacon
2014-08-01  8:22       ` Will Deacon
     [not found]       ` <20140801082228.GC15733-5wv7dgnIgG8@public.gmane.org>
2014-08-01 16:44         ` Olav Haugan
2014-08-01 16:44           ` Olav Haugan
     [not found]           ` <53DBC3F1.40705-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2014-08-04 18:03             ` Olav Haugan
2014-08-04 18:03               ` Olav Haugan
2014-08-05 15:13     ` Konrad Rzeszutek Wilk
2014-08-05 15:13       ` Konrad Rzeszutek Wilk
     [not found]       ` <20140805151323.GB19709-0iZWjJA6G8GSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2014-08-06 17:08         ` Olav Haugan
2014-08-06 17:08           ` Olav Haugan
     [not found]           ` <53E26127.1040805-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2014-08-06 20:17             ` Joerg Roedel
2014-08-06 20:17               ` Joerg Roedel
     [not found]               ` <20140806201740.GW9809-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-08-06 23:28                 ` Olav Haugan
2014-08-06 23:28                   ` Olav Haugan
2014-08-07  6:24                   ` Thierry Reding
2014-08-07  6:24                     ` Thierry Reding
2014-08-07 21:52                     ` Olav Haugan
2014-08-07 21:52                       ` Olav Haugan
2014-08-08 17:14                       ` Konrad Rzeszutek Wilk
2014-08-08 17:14                         ` Konrad Rzeszutek Wilk

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.