From: Scott Wood <scottwood@freescale.com>
To: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Cc: linuxppc-dev@ozlabs.org, Li Yang <leoli@freescale.com>,
pku.leo@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH] ucc_geth: Rework the TX logic.
Date: Mon, 30 Mar 2009 14:32:23 -0500 [thread overview]
Message-ID: <49D11E47.8080106@freescale.com> (raw)
In-Reply-To: <OF70832E04.3DC53F05-ONC1257589.00663AFF-C1257589.0066C397@transmode.se>
Joakim Tjernlund wrote:
>> different since descriptors are in MURAM which is ioremap()ed -- though
>> switching to a cacheable mapping with barriers should be a performance
>> improvement.
>
> I always thought that MURAM was very fast. The whole reason to have BDs in
> MURAM is that it is faster than normal RAM, at least that is what I
> thought.
Yeah, on second thought it probably wouldn't be worth it. There's also
the question of under what circumstances the QE's MURAM accesses will be
cache-coherent.
As for the CPU not reordering guarded+cache inhibited accesses, that
initially seemed to be true for the new arch stuff (book3e/book3s, but
not really, see below), but the classic arch documentation only
guarantees stores to such regions to be in-order (and the
explicitly-specified operation of eieio on I+G accesses wouldn't make
much sense if they were already guaranteed to be in-order).
Then I looked at the EREF to see what older book E documents had to say
on the issue, and it suggests that when the architecture document says
"out of order", it really means "speculative" (and reading the arch
doc's definition of "out of order" seems to confirm this -- redefining
terms is bad, m'kay?). So it seems that the simple answer is no,
guarded storage is not guaranteed to be in order, unless the only thing
that can cause an out-of-order access is speculative execution.
-Scott
next prev parent reply other threads:[~2009-03-30 19:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 17:44 [PATCH] ucc_geth: Rework the TX logic Joakim Tjernlund
2009-03-26 18:03 ` Anton Vorontsov
2009-03-26 18:26 ` Joakim Tjernlund
2009-03-27 9:45 ` Li Yang
2009-03-27 10:23 ` Joakim Tjernlund
2009-03-27 10:39 ` Li Yang
2009-03-27 11:39 ` Joakim Tjernlund
2009-03-27 13:26 ` Scott Wood
2009-03-30 16:38 ` Joakim Tjernlund
2009-03-30 17:22 ` Scott Wood
2009-03-30 17:34 ` Joakim Tjernlund
2009-03-30 17:45 ` Scott Wood
2009-03-30 18:42 ` Joakim Tjernlund
2009-03-30 19:32 ` Scott Wood [this message]
2009-03-31 9:07 ` Joakim Tjernlund
2009-03-31 10:58 ` Li Yang
2009-03-31 14:37 ` Scott Wood
2009-03-31 8:16 ` Li Yang
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=49D11E47.8080106@freescale.com \
--to=scottwood@freescale.com \
--cc=Joakim.Tjernlund@transmode.se \
--cc=leoli@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=pku.leo@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;
as well as URLs for NNTP newsgroup(s).