All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: Joakim Tjernlund <Joakim.Tjernlund@lumentis.se>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MPC860 reorder and invalidate dcache
Date: Sat, 17 Aug 2002 12:19:52 -0400	[thread overview]
Message-ID: <3D5E77A8.4050009@embeddededge.com> (raw)
In-Reply-To: 000f01c245f9$5429e440$0200a8c0@telia.com


Joakim Tjernlund wrote:


> ... The other mapping is used for flash commands and to write data to flash.
> Each time I read I do a invalidate_dcache_range() to pick up updates made from
> the uncached mapping.

Why don't you do a single invalidate after the write to cover the region
you just updated?

> I was just hoping that the 'sync' instruction was an "accident", but now I know
> better.

Those of us that have programmed PowerPC all of these years seldom include
a 'sync' instruction by accident.  We are more likely to not use them and
then discover later they are necessary :-)



	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-08-17 16:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 21:33 linuxppc_2_4_dev tree Cameron, Steve
2002-08-16 15:50 ` MPC860 reorder and invalidate dcache Joakim Tjernlund
2002-08-16 23:20   ` Dan Malek
2002-08-17 11:40     ` Joakim Tjernlund
2002-08-17 13:33       ` Dan Malek
2002-08-17 14:21         ` Joakim Tjernlund
2002-08-17 16:19           ` Dan Malek [this message]
2002-08-18 22:04             ` Joakim Tjernlund

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=3D5E77A8.4050009@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=Joakim.Tjernlund@lumentis.se \
    --cc=linuxppc-embedded@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.