All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] common-dma-mapping-introduce-common-remapping-functions-fix-4.patch removed from -mm tree
@ 2014-10-09 20:35 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2014-10-09 20:35 UTC (permalink / raw
  To: lauraa, mitchelh, mm-commits


The patch titled
     Subject: common: dma-mapping: Store page array in vm_struct
has been removed from the -mm tree.  Its filename was
     common-dma-mapping-introduce-common-remapping-functions-fix-4.patch

This patch was dropped because it was folded into common-dma-mapping-introduce-common-remapping-functions.patch

------------------------------------------------------
From: Laura Abbott <lauraa@codeaurora.org>
Subject: common: dma-mapping: Store page array in vm_struct

Commit 54329ac (common: dma-mapping: introduce common remapping functions)
factored out common code for remapping arrays of pages.  The code before
the refactor relied on setting area->pages with the array of mapped pages
for easy access later.  The refactor dropped this, breaking parts of the
ARM DMA API.  Fix this by setting the page array in the same place.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Reported-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/base/dma-mapping.c |    2 ++
 1 file changed, 2 insertions(+)

diff -puN drivers/base/dma-mapping.c~common-dma-mapping-introduce-common-remapping-functions-fix-4 drivers/base/dma-mapping.c
--- a/drivers/base/dma-mapping.c~common-dma-mapping-introduce-common-remapping-functions-fix-4
+++ a/drivers/base/dma-mapping.c
@@ -285,6 +285,8 @@ void *dma_common_pages_remap(struct page
 	if (!area)
 		return NULL;
 
+	area->pages = pages;
+
 	if (map_vm_area(area, prot, pages)) {
 		vunmap(area->addr);
 		return NULL;
_

Patches currently in -mm which might be from lauraa@codeaurora.org are

origin.patch
lib-genallocc-add-power-aligned-algorithm.patch
lib-genallocc-add-genpool-range-check-function.patch
common-dma-mapping-introduce-common-remapping-functions.patch
arm-use-genalloc-for-the-atomic-pool.patch
arm64-add-atomic-pool-for-non-coherent-and-cma-allocations.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-09 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 20:35 [folded-merged] common-dma-mapping-introduce-common-remapping-functions-fix-4.patch removed from -mm tree akpm

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.