From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: some question about writel implement in arm platform
Date: Thu, 16 Apr 2015 08:19:43 +0200 [thread overview]
Message-ID: <3810108.M3CSfEDqyN@wuerfel> (raw)
In-Reply-To: <CADUS3om64T1pfRqo7nRAVcnj7SKUR2jt4ZsYBcHrgpa7Zb1pkw@mail.gmail.com>
On Thursday 16 April 2015 13:28:41 yoma sophian wrote:
> hi all:
> the implementation of writel in ARM is writel_relaxed() with barrier
> before (DSB + outer cache sync).
>
> if the memory is device memory, shall we still need outer cache sync?
Yes.
> if the memory is normal normal, under what circumstance we will write
> it with writel.
For normal memory, you never use writel.
> As far as I know, the writel is used for register writing.
Correct.
Arnd
next prev parent reply other threads:[~2015-04-16 6:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 5:28 some question about writel implement in arm platform yoma sophian
2015-04-16 6:19 ` Arnd Bergmann [this message]
2015-04-16 8:06 ` yoma sophian
2015-04-16 9:47 ` Arnd Bergmann
2015-04-17 1:23 ` yoma sophian
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=3810108.M3CSfEDqyN@wuerfel \
--to=arnd@arndb.de \
--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).