Re: [RESEND][PATCH] drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,


On 2016-05-25 16:38, Rob Herring wrote:
On Tue, May 24, 2016 at 11:29 PM, Jaewon Kim <jaewon31.kim@xxxxxxxxxxx> wrote:
From: Jaewon <jaewon31.kim@xxxxxxxxxxx>

There was an alignment mismatch issue for CMA and it was fixed by
commit 1cc8e3458b51 ("drivers: of: of_reserved_mem: fixup the alignment with CMA setup").
However the way of the commit considers not only dma-contiguous(CMA) but also
dma-coherent which has no that requirement.

This patch checks more to distinguish dma-contiguous(CMA) from dma-coherent.

Signed-off-by: Jaewon Kim <jaewon31.kim@xxxxxxxxxxx>
I suppose this needs to go to stable? If so, adding the stable tag and
kernel version would be nice so I don't have to.

---
  drivers/of/of_reserved_mem.c | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
I'm looking for an ack from Marek on this.

Acked-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]