linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Change the internal SRAM memory type MT_MEMORY_NONCACHED
Date: Thu, 13 Jun 2013 14:43:43 +0100	[thread overview]
Message-ID: <20130613134342.GE18614@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <51B9C6FE.7000302@atmel.com>

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@atmel.com>
>
> Acked-by: Nicolas Ferre <nicolas.ferre@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.

      reply	other threads:[~2013-06-13 13:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20  1:05 [PATCH] Change internal SRAM memory type to "MT_MEMORY_SO" Wenyou Yang
2013-05-20  1:06 ` [PATCH] ARM: at91: Fix: " Wenyou Yang
2013-05-21  9:06   ` Nicolas Ferre
2013-05-22  0:14   ` Russell King - ARM Linux
2013-05-24  7:11     ` Yang, Wenyou
2013-05-24 11:20       ` Russell King - ARM Linux
2013-05-24 14:03         ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-24 16:40           ` Russell King - ARM Linux
2013-05-24 16:52             ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-24 16:59               ` Russell King - ARM Linux
2013-05-24 17:11                 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-21  9:06 ` [PATCH] " Nicolas Ferre
2013-06-08  2:17 ` [PATCH] Change the internal SRAM memory type MT_MEMORY_NONCACHED Wenyou Yang
2013-06-13 13:19   ` Nicolas Ferre
2013-06-13 13:43     ` Russell King - ARM Linux [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130613134342.GE18614@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).