Skip to content

Revert support for reserved memory regions defined in device tree

Benjamin Herrenschmidt linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am 1381477716.5630.74.camel@pasglop

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Revert support for reserved memory regions defined in device tree
Quoted 7 lines · Marek Szyprowski

Hi all!

Benjamin Herrenschmidt pointed a few issues in the proposed design of device tree bindings for contiguous memory allocator and reserved memory regions:
https://lkml.org/lkml/2013/9/15/151
http://www.spinics.net/lists/arm-kernel/msg273548.html

Are you guys in Edinburgh ?

I'll be there from Tuesday PM (so really Wed) to Friday (fly out on Sat). We should catch up, brainstorm and come up with something.

Cheers,
Ben.

Quoted 31 lines

Some time has passed, but there is still no consensus on the bindings for the reserved memory and various drawback of this solution has been shown, so in my opinion the best I can do now is to revert them completely and start from scratch again later.

This patch series reverts patches related to device tree bindings proposed in the following thread:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/263216
and merged by commit 64c353864e3f7ccba0ade1bd6f562f9a3bc7e68d ("Merge branch 'for-v3.12' of git://git.linaro.org/people/mszyprowski/linux-dma-mapping").

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Marek Szyprowski (2):
Revert "ARM: init: add support for reserved memory defined by device tree" Revert "drivers: of: add initialization code for dma reserved memory"

 Documentation/devicetree/bindings/memory.txt |  168 -------------------------
 arch/arm/mm/init.c                           |    3 -
 drivers/of/Kconfig                           |    6 -
 drivers/of/Makefile                          |    1 -
 drivers/of/of_reserved_mem.c                 |  173 --------------------------
 drivers/of/platform.c                        |    4 -
 include/linux/of_reserved_mem.h              |   14 ---
 7 files changed, 369 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/memory.txt
 delete mode 100644 drivers/of/of_reserved_mem.c
 delete mode 100644 include/linux/of_reserved_mem.h