linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH 0/4] Support non-default CMA regions to the dmabuf heaps interface
@ 2020-05-01  7:39 John Stultz
  2020-05-01  7:39 ` [RFC][PATCH 1/4] devicetree: bindings: Add linux,cma-heap tag for reserved memory John Stultz
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: John Stultz @ 2020-05-01  7:39 UTC (permalink / raw)
  To: lkml
  Cc: John Stultz, Rob Herring, Sumit Semwal, Andrew F. Davis,
	Benjamin Gaignard, Liam Mark, Pratik Patel, Laura Abbott,
	Brian Starkey, Chenbo Feng, Alistair Strachan, Sandeep Patil,
	Hridya Valsaraju, Christoph Hellwig, Marek Szyprowski,
	Robin Murphy, Andrew Morton, devicetree, dri-devel, linux-mm

This is a much belated second stab at allowing non-default CMA
regions to be exposed via the dmabuf heaps interface.

Previous attempt was here:
 https://lore.kernel.org/lkml/20191025225009.50305-2-john.stultz@linaro.org/T/

This pass tried to take Rob's earlier suggestion to use a flag
property.

Feedback would be greatly welcome!

thanks
-john

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: "Andrew F. Davis" <afd@ti.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Liam Mark <lmark@codeaurora.org>
Cc: Pratik Patel <pratikp@codeaurora.org>
Cc: Laura Abbott <labbott@redhat.com>
Cc: Brian Starkey <Brian.Starkey@arm.com>
Cc: Chenbo Feng <fengc@google.com>
Cc: Alistair Strachan <astrachan@google.com>
Cc: Sandeep Patil <sspatil@google.com>
Cc: Hridya Valsaraju <hridya@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-mm@kvack.org

John Stultz (4):
  devicetree: bindings: Add linux,cma-heap tag for reserved memory
  mm: cma: Add dma_heap flag to cma structure
  dma-buf: cma_heap: Extend logic to export CMA regions tagged with
    "linux,cma-heap"
  example: dts: hi3660-hikey960: Add dts entries to test cma heap
    binding

 .../reserved-memory/reserved-memory.txt        |  3 +++
 .../boot/dts/hisilicon/hi3660-hikey960.dts     |  7 +++++++
 drivers/dma-buf/heaps/cma_heap.c               | 18 +++++++++---------
 include/linux/cma.h                            |  3 +++
 kernel/dma/contiguous.c                        |  3 +++
 mm/cma.c                                       | 11 +++++++++++
 mm/cma.h                                       |  1 +
 7 files changed, 37 insertions(+), 9 deletions(-)

-- 
2.17.1



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

end of thread, other threads:[~2020-05-15  9:32 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01  7:39 [RFC][PATCH 0/4] Support non-default CMA regions to the dmabuf heaps interface John Stultz
2020-05-01  7:39 ` [RFC][PATCH 1/4] devicetree: bindings: Add linux,cma-heap tag for reserved memory John Stultz
2020-05-01 10:42   ` Brian Starkey
2020-05-01 18:40     ` John Stultz
2020-05-04  8:50       ` Brian Starkey
2020-05-06 16:04         ` Andrew F. Davis
2020-05-06 16:30           ` John Stultz
2020-05-06 17:35             ` Andrew F. Davis
2020-05-06 18:34               ` John Stultz
2020-05-01  7:39 ` [RFC][PATCH 2/4] mm: cma: Add dma_heap flag to cma structure John Stultz
2020-05-01 10:48   ` Brian Starkey
2020-05-01 18:42     ` John Stultz
2020-05-01  7:39 ` [RFC][PATCH 3/4] dma-buf: cma_heap: Extend logic to export CMA regions tagged with "linux,cma-heap" John Stultz
2020-05-01 10:21   ` Brian Starkey
2020-05-01 11:08     ` Robin Murphy
2020-05-01 19:01       ` John Stultz
2020-05-04  9:06         ` Brian Starkey
2020-05-12 16:37           ` Rob Herring
2020-05-13 10:44             ` Brian Starkey
2020-05-14 14:52               ` Rob Herring
2020-05-15  9:32                 ` Brian Starkey
2020-05-01  7:39 ` [RFC][PATCH 4/4] example: dts: hi3660-hikey960: Add dts entries to test cma heap binding John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).