[PATCH] Change the internal SRAM memory type MT_MEMORY_NONCACHED

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Jun 13 09:43:43 EDT 2013


On Thu, Jun 13, 2013 at 03:19:58PM +0200, Nicolas Ferre wrote:
> On 08/06/2013 04:17, Wenyou Yang :
>> Because MT_DEVICE is not executable in armv7, we change
>> the internal SRAM memory type to MT_MEMORY_NONCACHED.
>> As it seems that caching this internal SRAM memory is not necessary,
>> we chose the this memory type.
>>
>> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>
> Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
>
> But Russell, can we have your advice on this as you made us re-think  
> about that during previous patch discussion?

I think this is fine - using MT_MEMORY_NONCACHED gets you a memory-like
mapping instead of a strongly ordered or device mapping, but without
caching issues, which is what you want here.



More information about the linux-arm-kernel mailing list