From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Mon, 12 May 2014 20:04:30 +0200 Subject: [PATCH] remoteproc: da8xx: don't select CMA on no-MMU In-Reply-To: References: <1399560433-1402630-1-git-send-email-arnd@arndb.de> <1399560990-1402858-18-git-send-email-arnd@arndb.de> Message-ID: <4687391.ryfZfnW8rY@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Monday 12 May 2014 16:09:56 Ohad Ben-Cohen wrote: > > On Thu, May 8, 2014 at 5:56 PM, Arnd Bergmann wrote: > > We can only use CMA on systems that have an MMU, because of > > the requirement to use memory migration. NOMMU systems are > > rather constrained to start with, but it seems reasonable > > to assume that DMA allocations can still succeed in the > > constrained case for remoteproc on NOMMU, so this patch > > changes the da8xx implementation to not rely on CMA when > > the MMU is disabled. > > > > Signed-off-by: Arnd Bergmann > > Cc: Ohad Ben-Cohen > > Cc: Robert Tivy > > --- > > Would you like me to pick this via the remoteproc tree or are you > planning to route this set elsewhere anyway? I'd prefer if you could pick it up into your tree. Arnd