structures are unflattened, so we need to get reserved memory layout
directly from fdt.
Later, those reserved memory regions are assigned to devices on each
device structure initialization.
Signed-off-by: Marek Szyprowski
[joshc: rework to implement new DT binding, provide mechanism for
plugging in new
/20131030134702.19b57c40...@trevor.secretlab.ca
adapted to support #memory-region-cells]
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
.../bindings/reserved-memory/reserved-memory.txt | 138
1 file changed, 138 insertions(+)
create mode 100644
Documentation
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm/Kconfig |1 +
arch/arm/mm/init.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e25419817791..d0262bea8020 100644
--- a/arch/arm
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm64/Kconfig |1 +
arch/arm64/mm/init.c |2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 27bbcfc7202a..6abf15407dca 100644
--- a/arch
Refactor internal dma_contiguous_init_reserved_mem() function, which
creates CMA area from previously reserved memory region and add support
for handling 'shared-dma-pool' reserved-memory device tree nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek
Add support for handling 'shared-dma-pool' reserved-memory device tree
nodes.
Based on previous code provided by Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-coherent.c | 41 +
1 file changed, 41 insertions(+)
di
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/powerpc/Kconfig |1 +
arch/powerpc/kernel/prom.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 957bf344c0f5..3b6617fed8fc
l' regions with 'reusable' property.
v1: http://thread.gmane.org/gmane.linux.documentation/19579
- initial version prepared by Josh Cartwright
Summary:
Grant Likely (1):
of: document bindings for reserved-memory nodes
Marek Szyprowski (6):
drivers: of: add initialization code for reserv
Hello,
On 2014-02-18 17:58, Grant Likely wrote:
On Tue, 18 Feb 2014 14:37:58 +0100, Marek Szyprowski
wrote:
> From: Josh Cartwright
>
> Add support for handling 'shared-dma-pool' reserved-memory nodes using
> dma exclusive driver (dma_alloc_coherent()).
>
> Si
Hello,
On 2014-02-18 17:56, Grant Likely wrote:
On Tue, 18 Feb 2014 14:37:57 +0100, Marek Szyprowski
wrote:
> This patch adds device tree support for contiguous and reserved memory
> regions defined in device tree.
>
> Large memory blocks can be reliably reserved only durin
Enable reserved memory initialization from device tree.
Signed-off-by: Marek Szyprowski
---
arch/arm/Kconfig |1 +
arch/arm/mm/init.c |3 +++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e25419817791..d0262bea8020 100644
--- a/arch/arm
/20131030134702.19b57c40...@trevor.secretlab.ca
adapted to support #memory-region-cells]
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
.../bindings/reserved-memory/reserved-memory.txt | 138
1 file changed, 138 insertions(+)
create mode 100644
Documentation
From: Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes using
dma exclusive driver (dma_alloc_coherent()).
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/Kconfig |7
drivers/of/Makefile
From: Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes using
Contiguous Memory Allocator driver.
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/Kconfig |7
drivers/of/Makefile |1
structures are unflattened, so we need to get reserved memory layout
directly from fdt.
Later, those reserved memory regions are assigned to devices on each
device structure initialization.
Signed-off-by: Marek Szyprowski
[joshc: rework to implement new DT binding, provide mechanism for
plugging in new
Add new dma_contiguous_init_reserved_mem() function, which creates CMA area
from previously reserved memory region.
Signed-off-by: Marek Szyprowski
---
drivers/base/dma-contiguous.c | 70 +++-
include/linux/dma-contiguous.h |7
2 files changed, 55
reserved-memory nodes
Josh Cartwright (2):
drivers: of: implement reserved-memory handling for dma
drivers: of: implement reserved-memory handling for cma
Marek Szyprowski (3):
base: dma-contiguous: add dma_contiguous_init_reserved_mem() function
drivers: of: add initialization code for
Hello,
On 2014-02-05 12:05, Grant Likely wrote:
On Tue, 04 Feb 2014 13:09:29 +0100, Marek Szyprowski
wrote:
> This patch adds device tree support for contiguous and reserved memory
> regions defined in device tree.
>
> Large memory blocks can be reliably reserved only durin
On 2014-02-10 22:59, Grant Likely wrote:
On Thu, 06 Feb 2014 14:26:13 +0100, Marek Szyprowski
wrote:
> Hello,
>
> On 2014-02-05 11:15, Grant Likely wrote:
> > On Tue, 04 Feb 2014 13:09:32 +0100, Marek Szyprowski
wrote:
> > > Enable reserved memory initial
Hello,
On 2014-02-05 11:15, Grant Likely wrote:
On Tue, 04 Feb 2014 13:09:32 +0100, Marek Szyprowski
wrote:
> Enable reserved memory initialization from device tree.
>
> Cc: Benjamin Herrenschmidt
> Cc: Laura Abbott
> Signed-off-by: Marek Szyprowski
> ---
> arch
that "[clk-name]-clk-parent" and "[clk-name]-clk-rate" will be a bit
more descriptive names instead of quite ambiguous "asn".
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
--
To unsubscribe from this list: send the line "unsubscribe devi
Enable reserved memory initialization from device tree.
Cc: Benjamin Herrenschmidt
Cc: Laura Abbott
Signed-off-by: Marek Szyprowski
---
arch/arm/mm/init.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c
index 804d61566a53..ebafdb479410 100644
From: Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes using
Contiguous Memory Allocator driver.
Cc: Benjamin Herrenschmidt
Cc: Laura Abbott
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/Kconfig
...@trevor.secretlab.ca
adapted to support #memory-region-cells]
Cc: Benjamin Herrenschmidt
Cc: Laura Abbott
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
.../bindings/reserved-memory/reserved-memory.txt | 138
1 file changed, 138 insertions(+)
create mode 100644
structures are unflattened, so we need to get reserved memory layout
directly from fdt.
Later, those reserved memory regions are assigned to devices on each
device structure initialization.
Cc: Benjamin Herrenschmidt
Cc: Laura Abbott
Signed-off-by: Marek Szyprowski
[joshc: rework to implement new DT
From: Josh Cartwright
Add support for handling 'shared-dma-pool' reserved-memory nodes using
dma exclusive driver (dma_alloc_coherent()).
Cc: Benjamin Herrenschmidt
Cc: Laura Abbott
Signed-off-by: Josh Cartwright
Signed-off-by: Marek Szyprowski
---
drivers/of/Kconfig
gs for reserved-memory nodes
Josh Cartwright (2):
drivers: of: implement reserved-memory handling for dma
drivers: of: implement reserved-memory handling for cma
Marek Szyprowski (2):
drivers: of: add initialization code for reserved memory
ARM: init: add support for reserved memory de
Hi Grant!
On 2013-10-30 14:47, Grant Likely wrote:
On Fri, 11 Oct 2013 09:27:26 +0200, Marek Szyprowski
wrote:
> Hi all!
>
> Benjamin Herrenschmidt pointed a few issues in the proposed design of
> device tree bindings for contiguous memory allocator and reserved memory
>
stly there for legacy reasons and
new systems ought to be able to move away from it.
The main problem here is usb gadget subsystem, which simply doesn't support
deferred probe yet. UDC driver (which uses those regulators) need to be
initialized before usb gadget driver (i.e. mass storage or c
Hello,
On 2013-10-15 13:40, Grant Likely wrote:
On Fri, 11 Oct 2013 09:27:26 +0200, Marek Szyprowski
wrote:
> Hi all!
>
> Benjamin Herrenschmidt pointed a few issues in the proposed design of
> device tree bindings for contiguous memory allocator and reserved memory
> r
of_pci_irq.o
obj-$(CONFIG_OF_MTD) += of_mtd.o
-obj-$(CONFIG_OF_RESERVED_MEM) += of_reserved_mem.o
diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c
deleted file mode 100644
index 0fe40c7..000
--- a/drivers/of/of_reserved_mem.c
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * Device
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
This reverts commit 10bcdfb8ba24760f715f0a700c3812747ef5. There is
no consensus on the bindings for the reserved memory, so the code for
handing it will be reverted.
Signed-off-by: Marek Szyprowski
---
arch/arm/mm/init.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mm
101 - 133 of 133 matches
Mail list logo