All of lore.kernel.org
 help / color / mirror / Atom feed
From: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: CVS Update@-mips.org: linux
Date: Mon, 16 Jun 2003 10:19:11 +0900 (JST)	[thread overview]
Message-ID: <20030616.101911.07647456.nemoto@toshiba-tops.co.jp> (raw)
In-Reply-To: <20030615004718Z8225220-1272+2582@linux-mips.org>

>>>>> On Sun, 15 Jun 2003 01:47:13 +0100, ralf@linux-mips.org said:
> Modified files:
> 	arch/mips64    : Tag: linux_2_4 Makefile 
> 	include/asm-mips64: Tag: linux_2_4 processor.h r4kcache.h 

> Log message:
> 	Support GT64120 boards with 64-bit kernels also.

This corrupts mips64/mm/c-r4k.c.  Please apply this patch also.


diff -u linux-mips-cvs/arch/mips64/mm/c-r4k.c linux.new/arch/mips64/mm/c-r4k.c
--- linux-mips-cvs/arch/mips64/mm/c-r4k.c	Mon Apr 28 09:44:53 2003
+++ linux.new/arch/mips64/mm/c-r4k.c	Mon Jun 16 09:59:38 2003
@@ -26,7 +26,6 @@
 
 /* Primary cache parameters. */
 static unsigned long icache_size, dcache_size, scache_size;
-unsigned long icache_way_size, dcache_way_size, scache_way_size;
 static unsigned long scache_size;
 
 #include <asm/cacheops.h>
@@ -848,8 +847,8 @@
 		panic("Improper R4000SC processor configuration detected");
 
 	/* compute a couple of other cache variables */
-	icache_way_size = icache_size / c->icache.ways;
-	dcache_way_size = dcache_size / c->dcache.ways;
+	c->icache.waysize = icache_size / c->icache.ways;
+	c->dcache.waysize = dcache_size / c->dcache.ways;
 
 	c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways);
 	c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways);
@@ -862,7 +861,7 @@
 	 */
 	if (current_cpu_data.cputype != CPU_R10000 &&
 	    current_cpu_data.cputype != CPU_R12000)
-		if (dcache_way_size > PAGE_SIZE)
+		if (c->dcache.waysize > PAGE_SIZE)
 		        c->dcache.flags |= MIPS_CACHE_ALIASES;
 
 	if (config & 0x8)		/* VI bit */
diff -u linux-mips-cvs/arch/mips64/mm/sc-rm7k.c linux.new/arch/mips64/mm/sc-rm7k.c
--- linux-mips-cvs/arch/mips64/mm/sc-rm7k.c	Fri Apr 18 10:23:12 2003
+++ linux.new/arch/mips64/mm/sc-rm7k.c	Mon Jun 16 09:59:59 2003
@@ -20,8 +20,6 @@
 /* Secondary cache parameters. */
 #define scache_size	(256*1024)	/* Fixed to 256KiB on RM7000 */
 
-extern unsigned long icache_way_size, dcache_way_size;
-
 #include <asm/r4kcache.h>
 
 int rm7k_tcache_enabled;
---
Atsushi Nemoto

       reply	other threads:[~2003-06-16  1:18 UTC|newest]

Thread overview: 143+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030615004718Z8225220-1272+2582@linux-mips.org>
2003-06-16  1:19 ` Atsushi Nemoto [this message]
2003-06-16  1:42   ` CVS Update@-mips.org: linux Atsushi Nemoto
2003-06-16  1:58     ` Atsushi Nemoto
     [not found] <20041218022359Z8225198-1751+3809@linux-mips.org>
2004-12-18 21:32 ` Steven J. Hill
2004-12-18 22:28   ` Maciej W. Rozycki
     [not found] <20041217205625Z8225073-1751+3779@linux-mips.org>
2004-12-18  1:04 ` Maciej W. Rozycki
     [not found] <20041216030425Z8225321-1751+3720@linux-mips.org>
2004-12-16  3:13 ` Steven J. Hill
2004-12-16  3:52 ` Maciej W. Rozycki
     [not found] <20041209220930Z8225298-1751+3401@linux-mips.org>
2004-12-09 22:21 ` Manish Lachwani
     [not found] <20041127061929Z8224786-1751+2584@linux-mips.org>
2004-11-27 22:05 ` Maciej W. Rozycki
2004-11-27 23:15   ` Ralf Baechle
2004-11-28  2:01     ` Maciej W. Rozycki
2004-11-28 11:53       ` Ralf Baechle
2004-11-28 17:44         ` Maciej W. Rozycki
2004-11-28 17:57           ` Ralf Baechle
2004-11-29 14:51         ` Jan-Benedict Glaw
     [not found] <20041020023431Z98555-1751+175@linux-mips.org>
2004-10-20 16:58 ` Thomas Koeller
2004-10-21  9:19   ` Thomas Koeller
2004-10-21 13:03     ` Ralf Baechle
2004-10-21 15:56       ` Maciej W. Rozycki
     [not found] <20040820120223Z8225206-1530+8785@linux-mips.org>
2004-08-23  9:29 ` Maciej W. Rozycki
2004-08-23  9:54   ` Kumba
2004-08-23 10:58     ` Ralf Baechle
2004-08-23 10:24   ` Ralf Baechle
2004-08-23 11:40     ` Maciej W. Rozycki
     [not found] <20040811202903Z8225206-1530+8297@linux-mips.org>
2004-08-11 20:36 ` Christoph Hellwig
2004-05-19 17:03 Manish Lachwani
     [not found] <20040519162924Z8225564-1530+2150@linux-mips.org>
2004-05-19 16:43 ` Maciej W. Rozycki
     [not found] <20040420163230Z8225288-1530+99@linux-mips.org>
2004-04-20 17:51 ` Jun Sun
2004-04-20 20:11   ` Ralf Baechle
2004-04-20 20:20     ` Pete Popov
2004-04-20 22:31     ` Jun Sun
2004-04-21  8:55       ` Gleb O. Raiko
2004-04-21 14:11       ` Maciej W. Rozycki
2004-04-21 17:20         ` Jun Sun
2004-04-21 18:04           ` Maciej W. Rozycki
     [not found] <20040322200826Z8225300-9616+4225@linux-mips.org>
2004-03-23 12:44 ` Maciej W. Rozycki
     [not found] <20040317153023Z8225229-9616+3963@linux-mips.org>
2004-03-17 15:37 ` freshy98
     [not found] <20040315205101Z8225248-9616+3861@linux-mips.org>
2004-03-16  4:11 ` Yoichi Yuasa
     [not found] <20040303034310Z8225905-9616+2989@linux-mips.org>
2004-03-03  4:09 ` Ralf Baechle
     [not found] <20040208143438Z8224987-9616+1909@linux-mips.org>
2004-02-08 14:36 ` William Lee Irwin III
2004-02-08 14:40   ` Christoph Hellwig
     [not found] <20040202141939Z8225226-9616+1555@linux-mips.org>
2004-02-02 15:13 ` Maciej W. Rozycki
2004-02-02 15:23   ` Ralf Baechle
2004-02-03 15:30     ` Maciej W. Rozycki
2004-02-03 15:49       ` Ralf Baechle
2004-02-03 16:04         ` Maciej W. Rozycki
     [not found] <20040123165755Z8225342-9616+749@linux-mips.org>
2004-01-23 17:03 ` Maciej W. Rozycki
     [not found] <20040123142002Z8225342-9616+728@linux-mips.org>
2004-01-23 16:50 ` Maciej W. Rozycki
     [not found] <20040115062800Z8225198-9616+139@linux-mips.org>
2004-01-15  9:39 ` Ralf Baechle
     [not found] <20040113080926Z8225270-16706+2387@linux-mips.org>
2004-01-13 17:22 ` Dan Aizenstros
2004-01-14 15:25   ` Maciej W. Rozycki
2004-01-14 17:34     ` Pete Popov
     [not found] <20031124151816Z8225418-16706+435@linux-mips.org>
2003-11-24 15:23 ` Jan-Benedict Glaw
     [not found] <20031103231010Z8225443-1272+8723@linux-mips.org>
2003-11-04 18:48 ` Maciej W. Rozycki
2003-11-04 18:48   ` Maciej W. Rozycki
     [not found] <20031013142637Z8225419-1272+7775@linux-mips.org>
     [not found] ` <Pine.GSO.3.96.1031014114452.17028B-100000@delta.ds2.pg.gda.pl>
2003-10-14 13:28   ` Ralf Baechle
2003-10-15 14:23     ` Maciej W. Rozycki
     [not found] <20031009160717Z8225587-1272+7472@linux-mips.org>
2003-10-10 18:56 ` Kip Walker
2003-10-10 19:03   ` Kip Walker
2003-10-11  7:27     ` Ralf Baechle
2003-10-14  9:28   ` Maciej W. Rozycki
     [not found] <20030909113150Z8225348-1272+5180@linux-mips.org>
2003-09-09 13:40 ` Maciej W. Rozycki
2003-09-10  8:51   ` Ralf Baechle
     [not found] <20030825170001Z8225388-1272+4466@linux-mips.org>
2003-08-25 17:18 ` Ralf Baechle
     [not found] <20030729120925Z8225214-1272+3844@linux-mips.org>
2003-07-29 12:20 ` Jan-Benedict Glaw
     [not found] <20030722005641Z8225235-1272+3651@linux-mips.org>
2003-07-22  1:22 ` Geert Uytterhoeven
     [not found] <20030720230140Z8224861-1272+3549@linux-mips.org>
2003-07-21 10:49 ` Maciej W. Rozycki
2003-07-21 12:12   ` Kevin D. Kissell
2003-07-21 12:12     ` Kevin D. Kissell
2003-07-21 14:44     ` Ralf Baechle
2003-07-21 15:50     ` Maciej W. Rozycki
2003-07-21 18:20       ` Keith M Wesolowski
2003-07-22 19:39         ` Maciej W. Rozycki
2003-07-22 21:21           ` Ralf Baechle
2003-07-22 21:37             ` Maciej W. Rozycki
2003-07-22 21:47               ` Geert Uytterhoeven
2003-07-22 22:51                 ` Maciej W. Rozycki
2003-07-30  2:12                   ` Ralf Baechle
2003-07-30  7:47                     ` Maciej W. Rozycki
2003-07-30 14:07                       ` Ralf Baechle
2003-07-30  3:16               ` Ralf Baechle
2003-07-30  7:55                 ` Maciej W. Rozycki
2003-07-30 14:05                   ` Ralf Baechle
2003-07-21 21:14       ` Ralf Baechle
2003-07-22 19:40         ` Maciej W. Rozycki
2003-07-21 14:42   ` Ralf Baechle
     [not found] <20030716010829Z8224802-1272+3435@linux-mips.org>
2003-07-16  1:17 ` Ralf Baechle
     [not found] <20030627191204Z8225311-1272+2885@linux-mips.org>
2003-06-27 19:46 ` Maciej W. Rozycki
2003-06-27 20:32   ` Kip Walker
2003-06-27 20:48     ` Maciej W. Rozycki
     [not found] <20030624033916Z8224827-1272+2821@linux-mips.org>
2003-06-24  9:31 ` Ralf Baechle
2003-06-24 17:51   ` Pete Popov
2003-06-24 21:10     ` Ralf Baechle
     [not found] <20030615135712Z8225205-1272+2604@linux-mips.org>
2003-06-15 15:18 ` ilya
     [not found] <20030613135835Z8225250-1272+2544@linux-mips.org>
2003-06-13 14:19 ` Geert Uytterhoeven
2003-06-13 14:30   ` Ralf Baechle
2003-06-13 17:33     ` Jun Sun
2003-06-13 18:56       ` Geert Uytterhoeven
2003-06-13 20:28         ` Maciej W. Rozycki
2003-06-13 21:00           ` Dan Malek
2003-06-13 21:44             ` Jun Sun
2003-06-13 23:23               ` Ralf Baechle
2003-06-14 18:55                 ` Maciej W. Rozycki
2003-06-14 18:48             ` Maciej W. Rozycki
2003-06-13 21:45           ` Jun Sun
     [not found] <20030605182419Z8224802-1272+2270@linux-mips.org>
2003-06-05 18:42 ` Guido Guenther
2003-06-05 19:45   ` Jan-Benedict Glaw
2003-06-05 20:12     ` Ralf Baechle
2003-06-09 11:12 ` Maciej W. Rozycki
2003-06-09 11:46   ` Geert Uytterhoeven
     [not found] <20030601120750Z8225197-1272+2136@linux-mips.org>
2003-06-01 14:25 ` Jan-Benedict Glaw
2003-06-01 15:56   ` Ralf Baechle
2003-06-01 16:10     ` Jan-Benedict Glaw
     [not found] <20030516221926Z8225233-1272+1964@linux-mips.org>
2003-05-16 22:27 ` Thiemo Seufer
2003-05-17 16:13   ` Maciej W. Rozycki
     [not found] <20030427233451Z8225245-1272+1630@linux-mips.org>
2003-04-30  8:55 ` Maciej W. Rozycki
     [not found] <20030424114755Z8225208-1272+1554@linux-mips.org>
2003-04-28 10:25 ` Atsushi Nemoto
2003-04-28 11:27   ` Ralf Baechle
     [not found] <20030421125733Z8225073-1272+1478@linux-mips.org>
2003-04-21 16:00 ` Ralf Baechle
     [not found] <20030412205002Z8225201-1272+1267@linux-mips.org>
2003-04-14  1:05 ` Wayne Chen
2003-04-14  1:05   ` Wayne Chen
     [not found] <20030402120316Z8225232-1272+1120@linux-mips.org>
2003-04-13 15:22 ` Karsten Merker
2003-04-14 11:57   ` Maciej W. Rozycki
2003-04-14 15:55     ` Ralf Baechle
     [not found] <20030403133610Z8225197-1272+1139@linux-mips.org>
2003-04-03 14:11 ` Maciej W. Rozycki
2003-04-03 14:24   ` Ralf Baechle
2003-04-03 14:48     ` Maciej W. Rozycki
2003-04-03 15:42       ` Ralf Baechle
2003-04-03 16:27         ` Maciej W. Rozycki
2003-04-03 16:31           ` Dominic Sweetman
2003-04-03 16:47             ` Maciej W. Rozycki
2003-04-03 22:55               ` Ralf Baechle
2003-04-03 14:51     ` Juan Quintela
     [not found] <20030306011121Z8225204-1272+770@linux-mips.org>
2003-03-26 16:52 ` Maciej W. Rozycki
     [not found] <20030220194640Z8225262-1272+600@linux-mips.org>
2003-02-21 12:32 ` Maciej W. Rozycki
2003-02-21 20:22   ` Kip Walker
2003-02-21 20:50     ` Maciej W. Rozycki
     [not found] <20030216062530Z8224847-1272+556@linux-mips.org>
2003-02-17 13:46 ` Ralf Baechle
2003-02-17 19:38   ` Pete Popov
     [not found] <20030126173616Z8225206-1272+297@linux-mips.org>
2003-01-27  6:28 ` Ralf Baechle
2003-01-27 12:04   ` Maciej W. Rozycki
     [not found] <20021102200215Z1123906-9213+801@linux-mips.org>
2002-11-02 20:12 ` Geert Uytterhoeven

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=20030616.101911.07647456.nemoto@toshiba-tops.co.jp \
    --to=nemoto@toshiba-tops.co.jp \
    --cc=linux-mips@linux-mips.org \
    --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 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.