[PATCH] arm: dma-mapping: move consistent_init to early_initcall

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Dec 2 17:19:09 EST 2010


On Thu, Dec 02, 2010 at 02:11:18PM -0800, Jeff Ohlstein wrote:
> Some machines require the use of coherent memory to bring up auxillary
> cpus, and thus want to use dma_alloc_coherent prior to smp_init
> completing.

I'd like to see the rest of the code to indicate why you need DMA
coherent memory for SMP boot.  It seems to me quite unnecessary.
DMA coherent memory is meant for talking to devices, not to other
CPUs which will be part of the symmetric part of the system.



More information about the linux-arm-kernel mailing list