Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Vivien Chappelier <vivien.chappelier@enst-bretagne.fr>
Cc: linux-mips@oss.sgi.com, linux-mips@fnet.fr
Subject: Re: weekly O2 patches ;)
Date: Fri, 28 Dec 2001 12:55:20 -0200	[thread overview]
Message-ID: <20011228125520.A1323@dea.linux-mips.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0112221928160.13229-300000@melkor>; from vivien.chappelier@enst-bretagne.fr on Sat, Dec 22, 2001 at 07:28:44PM +0100

On Sat, Dec 22, 2001 at 07:28:44PM +0100, Vivien Chappelier wrote:

> diff -Naur linux/arch/mips64/mm/r4xx0.c linux.patch/arch/mips64/mm/r4xx0.c
> --- linux/arch/mips64/mm/r4xx0.c	Sun Dec  9 15:47:14 2001
> +++ linux.patch/arch/mips64/mm/r4xx0.c	Thu Dec 20 19:04:46 2001
> @@ -2141,9 +2141,17 @@
>  	unsigned long flags, addr, begin, end, pow2;
>  	int tmp;
>  
> -	tmp = ((config >> 17) & 1);
> +	/* XXX: disabling secondary cache for now */
> +	change_cp0_config(CONF_SE, 0);	
> +
> +	tmp = ((config >> 17) & 1); /* check if cache present */
>  	if(tmp)
>  		return 0;
> +
> +	tmp = ((config >> 12) & 1); /* check if cache enabled */
> +	if(!tmp)
> +		return 0;
> +
>  	tmp = ((config >> 22) & 3);
>  	switch(tmp) {
>  	case 0:

Perfect.  You just broke R4000SC / R4400SC.

  Ralf

      reply	other threads:[~2001-12-30 23:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-22 18:28 weekly O2 patches ;) Vivien Chappelier
2001-12-28 14:55 ` Ralf Baechle [this message]

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=20011228125520.A1323@dea.linux-mips.net \
    --to=ralf@uni-koblenz.de \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    --cc=vivien.chappelier@enst-bretagne.fr \
    /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