From: Samuel Rydh <samuel@ibrium.se>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: I-cache flushing on the 7400
Date: Sat, 31 Mar 2001 20:15:50 +0200 [thread overview]
Message-ID: <20010331201550.A20735@ibrium.se> (raw)
In-Reply-To: <Pine.HPX.4.10.10103311944390.18988-100000@gra-ux1.iram.es>; from paubert@iram.es on Sat, Mar 31, 2001 at 07:51:55PM +0200
On Sat, Mar 31, 2001 at 07:51:55PM +0200, Gabriel Paubert wrote:
> > LI_PHYS( r2,split_store_patch )
> > stw r4,0(r2) // store instruction
> > dcbst 0,r2 // Flush cache
> > sync
> > icbi 0,r2
> > isync
> >
> > .... some instructions and then a rfi to split_store_patch ....
> > rfi
> >
> > split_store_patch:
> > nop
> >
>
> It should, while actually the isync does not seem necessary since rfi
> is a context synchronizing instruction (rfi and sc include implicitly the
> equivalent of an isync).
Yes, but in this case the rfi instruction is within the same cache-line
as the nop. I think I need the extra isync to make sure the cache
line in question is not touched before the invalidation is completed.
/Samuel
----------------------------------------------------------
E-mail <samuel@ibrium.se> WWW: <http://www.ibrium.se>
Phone/fax: (home) +46 8 4418431, (work) +46 8 7908470
----------------------------------------------------------
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-03-31 18:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-31 13:30 I-cache flushing on the 7400 Samuel Rydh
2001-03-31 17:07 ` Benjamin Herrenschmidt
2001-03-31 17:51 ` Gabriel Paubert
2001-03-31 18:15 ` Samuel Rydh [this message]
2001-03-31 19:26 ` Gabriel Paubert
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=20010331201550.A20735@ibrium.se \
--to=samuel@ibrium.se \
--cc=linuxppc-dev@lists.linuxppc.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).