From mboxrd@z Thu Jan 1 00:00:00 1970 From: tixy@yxit.co.uk (Tixy) Date: Thu, 18 Aug 2011 09:13:36 +0100 Subject: [PATCH 06/12] ARM: mxc: Setup consistent dma size at boot time In-Reply-To: References: <1312813712-22808-1-git-send-email-tixy@yxit.co.uk> <1312813712-22808-7-git-send-email-tixy@yxit.co.uk> <20110808164731.GP31404@pengutronix.de> Message-ID: <1313655216.2254.9.camel@computer2> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 2011-08-17 at 23:12 -0400, Nicolas Pitre wrote: > On Mon, 8 Aug 2011, Sascha Hauer wrote: > > > Hi Jon, > > > > On Mon, Aug 08, 2011 at 03:28:26PM +0100, Jon Medhurst wrote: > > > Signed-off-by: Jon Medhurst > > > CC: Sascha Hauer > > > CC: Amit Kucheria > > > --- > > > arch/arm/plat-mxc/include/mach/common.h | 1 + > > > arch/arm/plat-mxc/include/mach/memory.h | 15 --------------- > > > arch/arm/mach-imx/mm-imx1.c | 1 + > > > arch/arm/mach-imx/mm-imx21.c | 1 + > > > arch/arm/mach-imx/mm-imx25.c | 1 + > > > arch/arm/mach-imx/mm-imx27.c | 1 + > > > arch/arm/mach-imx/mm-imx31.c | 1 + > > > arch/arm/mach-imx/mm-imx35.c | 1 + > > > arch/arm/mach-mx5/mm-mx50.c | 1 + > > > arch/arm/mach-mx5/mm.c | 2 ++ > > > arch/arm/plat-mxc/system.c | 16 ++++++++++++++++ > > > 11 files changed, 26 insertions(+), 15 deletions(-) > > > > Should the base patch be ok I'd like to rework this one. I want to > > call init_consistent_dma_size on a per board base instead in a global > > function with ifdeffery. > > Hello Sascha, > > Did you manage to work on this? Ideally it would be nice to have a > reworked patch from you that could be used in this series as some later > patches depend on this series. Are we happy with the base patch? Specifically, having init_consistent_dma_size() declaired in include/asm/dma-mapping.h? If so, I don't mind making the changes if Sascha can give me some rules and pattern to apply. E.g. is it In mach-imx/mm-imx2*.c #if defined(CONFIG_VIDEO_MX2_HOSTSUPPORT) init_consistent_dma_size(SZ_4M); #endif And likewise with CONFIG_MX1_VIDEO in mach-imx/mm-imx1.c and CONFIG_MX3_VIDEO in mach-imx/mm-imx3*.c. What about mach-mx5? -- Tixy