[<prev] [next>] [day] [month] [year] [list]
Message-id: <001a01cc7864$f2c98ea0$d85cabe0$%szyprowski@samsung.com>
Date: Wed, 21 Sep 2011 15:47:05 +0200
From: Marek Szyprowski <m.szyprowski@...sung.com>
To: 'Mike Frysinger' <vapier.adi@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-media@...r.kernel.org, linux-mm@...ck.org,
linaro-mm-sig@...ts.linaro.org,
'Michal Nazarewicz' <mina86@...a86.com>,
'Kyungmin Park' <kyungmin.park@...sung.com>,
'Russell King' <linux@....linux.org.uk>,
'Andrew Morton' <akpm@...ux-foundation.org>,
'KAMEZAWA Hiroyuki' <kamezawa.hiroyu@...fujitsu.com>,
'Ankita Garg' <ankita@...ibm.com>,
'Daniel Walker' <dwalker@...eaurora.org>,
'Mel Gorman' <mel@....ul.ie>, 'Arnd Bergmann' <arnd@...db.de>,
'Jesse Barker' <jesse.barker@...aro.org>,
'Jonathan Corbet' <corbet@....net>,
'Shariq Hasnain' <shariq.hasnain@...aro.org>,
'Chunsang Jeong' <chunsang.jeong@...aro.org>
Subject: RE: [PATCH 7/8] ARM: integrate CMA with DMA-mapping subsystem
Hello,
On Thursday, September 08, 2011 7:27 PM Mike Frysinger wrote:
> On Fri, Aug 19, 2011 at 10:27, Marek Szyprowski wrote:
> > arch/arm/include/asm/device.h | 3 +
> > arch/arm/include/asm/dma-contiguous.h | 33 +++
>
> seems like these would be good asm-generic/ additions rather than arm
Only some of them can be really moved to asm-generic imho. The following
lines are definitely architecture specific:
void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size);
Some other archs might define empty fixup function. Right now only ARM
architecture is the real client of the CMA. IMHO if any other arch stats
using CMA, some of the CMA definitions can be then moved to asm-generic.
Right now I wanted to keep it as simple as possible.
Best regards
--
Marek Szyprowski
Samsung Poland R&D Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists