Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Mike Nugent <mips@illuminatus.org>
To: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: CVS Update@ftp.linux-mips.org: linux
Date: 30 Sep 2002 18:46:41 -0700	[thread overview]
Message-ID: <1033436801.13267.47.camel@templar> (raw)
In-Reply-To: <20020930.135717.39150888.nemoto@toshiba-tops.co.jp>


Suggestion for this bug:  Since the except_vec3_r4000 is a fix for the
4k series only, add 'default' statement as below:


On Sun, 2002-09-29 at 21:57, Atsushi Nemoto wrote:
> It seems some necessary codes for non-r4k CPUs were lost by this change.
> 
> > CVSROOT:	/home/cvs
> > Module name:	linux
> > Changes by:	ralf@ftp.linux-mips.org	02/09/29 03:49:20
> > 
> > Modified files:
> > 	arch/mips/kernel: Tag: linux_2_4 traps.c 
> > 	arch/mips/mm   : Tag: linux_2_4 c-sb1.c tlb-sb1.c 
> > 	arch/mips64/kernel: Tag: linux_2_4 traps.c 
> > 	arch/mips64/mm : Tag: linux_2_4 Makefile c-sb1.c loadmmu.c 
> > 	                 tlb-r4k.c tlb-sb1.c tlbex-r4k.S 
> > Added files:
> > 	arch/mips64/mm : Tag: linux_2_4 c-andes.c c-r4k.c pg-andes.c 
> > 	                 pg-r4k.c tlb-andes.c 
> > Removed files:
> > 	arch/mips64/mm : Tag: linux_2_4 andes.c r4xx0.c 
> > 
> > Log message:
> > 	Reorganize arch/mips64/mm along the line of it's 32-bit equivalent.
> 
> This is a patch to revert the change.
> 
> diff -ur linux-mips-cvs/arch/mips/kernel/traps.c linux.new/arch/mips/kernel/traps.c
> --- linux-mips-cvs/arch/mips/kernel/traps.c	Sun Sep 29 19:45:07 2002
> +++ linux.new/arch/mips/kernel/traps.c	Mon Sep 30 13:41:23 2002
> @@ -1015,6 +1015,30 @@
>  			memcpy((void *)(KSEG0 + 0x180), &except_vec3_r4000,
>  			       0x80);
>  		}
> +	} else switch (mips_cpu.cputype) {
> +	case CPU_SB1:
> +		/*
> +		 * XXX - This should be folded in to the "cleaner" handling,
> +		 * above
> +		 */
> +		memcpy((void *)(KSEG0 + 0x180), &except_vec3_r4000, 0x80);
> +		break;
> +	case CPU_R6000:
> +	case CPU_R6000A:
> +	case CPU_R2000:
> +	case CPU_R3000:
> +	case CPU_R3000A:
> +	case CPU_R3041:
> +	case CPU_R3051:
> +	case CPU_R3052:
> +	case CPU_R3081:
> +	case CPU_R3081E:
> +	case CPU_TX3912:
> +	case CPU_TX3922:
> +	case CPU_TX3927:
> +	case CPU_TX39XX:
+     default:
> +		memcpy((void *)(KSEG0 + 0x80), &except_vec3_generic, 0x80);
> +		break;
>  	}
>  
>  	if (mips_cpu.cputype == CPU_R6000 || mips_cpu.cputype == CPU_R6000A) {
> ---
> Atsushi Nemoto
> 
> 
-- 
Mike Nugent
Programmer/Author
mike@illuminatus.org
"I believe the use of noise to make music will increase until we reach a
music produced through the aid of electrical instruments which will make
available for musical purposes any and all sounds that can be heard."
 -- composer John Cage, 1937

  parent reply	other threads:[~2002-10-01  1:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020929014920Z1121744-9213+239@linux-mips.org>
2002-09-30  4:57 ` CVS Update@ftp.linux-mips.org: linux Atsushi Nemoto
2002-09-30  6:24   ` Ralf Baechle
2002-10-01  1:46   ` Mike Nugent [this message]
2002-10-01 12:01     ` Ralf Baechle
     [not found] <20020930165347Z1122169-9213+249@linux-mips.org>
2002-10-03  3:17 ` Atsushi Nemoto
2002-10-03  9:41   ` Ralf Baechle
     [not found] <20021026014147Z1124126-9213+559@linux-mips.org>
2002-10-26  1:52 ` Maciej W. Rozycki

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=1033436801.13267.47.camel@templar \
    --to=mips@illuminatus.org \
    --cc=linux-mips@linux-mips.org \
    --cc=nemoto@toshiba-tops.co.jp \
    --cc=ralf@linux-mips.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