linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Adrian Cox <adrian@humboldt.co.uk>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Caching in the MPC107, linux 2.6
Date: Mon, 15 Mar 2004 13:38:49 -0700	[thread overview]
Message-ID: <20040315203849.GA13167@smtp.west.cox.net> (raw)
In-Reply-To: <1079380996.1677.2.camel@newt>


On Mon, Mar 15, 2004 at 08:03:16PM +0000, Adrian Cox wrote:

> On Sat, 2004-03-13 at 17:07, Tom Rini wrote:
>
> > Instead do:
> > BEGIN_FTR_SECTION
> > 	ori	r8,r8,_PAGE_COHERENT
> > END_FTR_SECTION_IFSET(CPU_FTR_745X_MPC107)
> >
> > And have the code that sets SPEC7450 also check for an MPC107.
>
> Something like this?

Actually, I was thinking that having an extra nop there on the !SMP &&
!(745x && MPC107) case wouldn't hurt much / at all, and having this
feature bit be done unconditionally.  But in cpu_setup_6xx.S we would
compare the host bridge vendor / device ID to that of an mpc107.  Or am
I not thinking right, and doing that comparison at that time would be a
bad idea?  If so, I can live with it being an unconditional option, iff
it's only required when MPC10X_STORE_GATHERING is enabled.

--
Tom Rini
http://gate.crashing.org/~trini/

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

  reply	other threads:[~2004-03-15 20:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12 10:46 Caching in the MPC107, linux 2.6 Adrian Cox
2004-03-12 22:32 ` Tom Rini
2004-03-13 11:32   ` Adrian Cox
2004-03-13 17:07 ` Tom Rini
2004-03-15 20:03   ` Adrian Cox
2004-03-15 20:38     ` Tom Rini [this message]
2004-03-15 22:42       ` Adrian Cox
2004-03-15 22:48         ` Tom Rini
2004-03-16 18:06           ` Adrian Cox

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=20040315203849.GA13167@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=adrian@humboldt.co.uk \
    --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).