From: Dan Malek <dan@embeddededge.com>
To: Joakim Tjernlund <Joakim.Tjernlund@lumentis.se>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: dc* (Data Cache) instructions in mem*() and *_page() functions not used on 8xx
Date: Sun, 03 Nov 2002 21:09:16 -0500 [thread overview]
Message-ID: <3DC5D6CC.6010905@embeddededge.com> (raw)
In-Reply-To: 002501c281dc$c92182c0$0200a8c0@telia.com
Joakim Tjernlund wrote:
> I don't follow you here, do you need to do all this for a modern(>=D4) 8xx CPU?
Yes. On "working" silicon, the dcbz (among others) requires special
processing.....probably enough to ensure it costs more to use this
instruction in a general purpose case.
> I hope not, but something needs to be done since copytofrom_user does not
> work for me.
What do you mean it doesn't work? It should work fine if you don't
try to use the dcbz. That is, leave the code alone. The bigger problem
is the newer glibc library has to be modified to conditionally not use
this as well.
> The same resoning goes for the new option. If you have a new enough(>=D4) CPU,
> then you can enable this optimization(I think?!).
I don't know. Linux is the only OS that will cause VM faults on a dcbz,
maybe it will never work. Until someone verifies it works on the newer
silicon we can't assume it will. This certainly isn't a reason to not use
the processor or not ship products.......
Thanks.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-11-04 2:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 7:51 [PATCH] arch/ppc/8xx_io/enet.c Joakim Tjernlund
2002-10-23 15:32 ` Ricardo Scop
2002-10-23 15:44 ` Ricardo Scop
2002-10-25 16:02 ` dc* (Data Cache) instructions in mem*() and *_page() functions not used on 8xx Joakim Tjernlund
2002-10-27 23:23 ` Joakim Tjernlund
2002-10-29 15:27 ` Dan Malek
2002-10-29 16:02 ` Joakim Tjernlund
2002-10-29 16:23 ` Dan Malek
2002-10-29 18:07 ` Joakim Tjernlund
2002-11-01 11:14 ` Joakim Tjernlund
2002-11-01 17:33 ` Dan Malek
2002-11-01 19:27 ` Joakim Tjernlund
2002-11-04 2:09 ` Dan Malek [this message]
2002-11-04 10:25 ` Joakim Tjernlund
2002-10-24 7:14 ` [PATCH] arch/ppc/8xx_io/enet.c Joakim Tjernlund
2002-10-24 10:12 ` Steven Scholz
2002-10-24 10:14 ` 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=3DC5D6CC.6010905@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 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).