From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Dave Hylands <dhylands@gmail.com>
Cc: naveen yadav <yad.naveen@gmail.com>,
kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: ARM cortex A9 feature
Date: Thu, 14 Jul 2011 20:44:11 +0100 [thread overview]
Message-ID: <20110714194411.GA8942@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CABi1daHh7cgyhJ4c3zo+jSUY4uzbFtihtgw0Q2Mcrndno_gcTA@mail.gmail.com>
On Thu, Jul 14, 2011 at 09:56:34AM -0700, Dave Hylands wrote:
> Hi Naveen,
>
> On Wed, Jul 13, 2011 at 11:26 PM, naveen yadav <yad.naveen@gmail.com> wrote:
> > Hi All,
> >
> > I am reading ARM cortex a9 manual and got few question in mind.
> >
> > 1. Where I need strong order type memory ? any sample example is very helpfull.
>
> Often when dealing with hardware, you need to ensure that when your code does:
>
> reg1 = val1;
> reg2 = val2;
>
> that these writes actually occur in the order that the code issues
> them. Using volatile pointers will get the compiler to not reorder the
> instructions, but you still need the writes to hit the hardware in the
> same order that they were issued. Using strongly ordered memory is one
> way to achieve that.
Note that device memory also gives that an ordering guarantee too.
next prev parent reply other threads:[~2011-07-14 19:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-14 6:26 naveen yadav
2011-07-14 16:56 ` Dave Hylands
2011-07-14 19:44 ` Russell King - ARM Linux [this message]
2011-07-15 5:15 ` naveen yadav
2011-07-15 6:03 ` Dave Hylands
2011-07-15 13:15 ` Woodruff, Richard
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=20110714194411.GA8942@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=dhylands@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yad.naveen@gmail.com \
/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
all inboxes | Powered by JetHome®