[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130613134342.GE18614@n2100.arm.linux.org.uk>
Date: Thu, 13 Jun 2013 14:43:43 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Nicolas Ferre <nicolas.ferre@...el.com>
Cc: Wenyou Yang <wenyou.yang@...el.com>,
linux-arm-kernel@...ts.infradead.org, linux@...im.org.za,
plagnioj@...osoft.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Change the internal SRAM memory type
MT_MEMORY_NONCACHED
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@...el.com>
>
> Acked-by: Nicolas Ferre <nicolas.ferre@...el.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.
--
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