From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Cc: rth@cygnus.com, "Wes Bauske" <wsb@paralleldata.com>
Subject: Re: ev6 tlb consistency
Date: Tue, 23 Mar 1999 14:38:32 -0500 [thread overview]
Message-ID: <199903231938.OAA02677@linux03.hlo.dec.com> (raw)
In-Reply-To: Your message of Tue, 23 Mar 1999 12:22:07 -0600. <36F7DBCF.5FE36834@paralleldata.com>
>>> "Wes Bauske" said:
>
> I switched to EV5_MAX_ASN and that also allows me to
> build egcs1.1.2. So, I guess the ASN's are good but
> just how many there are is wrong....
Correct, and here's a patch to the pristine include/asm-alpha/mmu_context.h
that ought to do the Right Thing (tm) on any Alpha processor (so far :-)...
diff -u mmu_context.h~ mmu_context.h
--- mmu_context.h~ Tue Mar 23 13:25:31 1999
+++ mmu_context.h Tue Mar 23 13:50:40 1999
@@ -14,10 +14,10 @@
/*
* The maximum ASN's the processor supports. On the EV4 this is 63
* but the PAL-code doesn't actually use this information. On the
- * EV5 this is 127.
+ * EV5 this is 127, and EV6 has 255.
*
* On the EV4, the ASNs are more-or-less useless anyway, as they are
- * only used as an icache tag, not for TB entries. On the EV5 ASN's
+ * only used as an icache tag, not for TB entries. On the EV5 and EV6, ASN's
* also validate the TB entries, and thus make a lot more sense.
*
* The EV4 ASN's don't even match the architecture manual, ugh. And
@@ -73,7 +73,7 @@
extern unsigned long asn_cache;
#endif /* __SMP__ */
-#define WIDTH_HARDWARE_ASN 7
+#define WIDTH_HARDWARE_ASN 8
#define ASN_FIRST_VERSION (1UL << (WIDTH_THIS_PROCESSOR + WIDTH_HARDWARE_ASN))
#define HARDWARE_ASN_MASK ((1UL << WIDTH_HARDWARE_ASN) - 1)
Thanks to Richard and Wes for narrowing in on the problem... :-)
--Jay++
-----------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-----------------------------------------------------------------------------
next prev parent reply other threads:[~1999-03-23 19:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-22 0:21 XP1000 and Linux Stig Telfer
1999-03-22 0:55 ` Greg Lindahl
1999-03-22 2:10 ` Richard Henderson
1999-03-22 5:12 ` Wes Bauske
1999-03-22 5:51 ` Wes Bauske
1999-03-22 8:41 ` Wes Bauske
1999-03-22 14:38 ` Greg Lindahl
1999-03-22 17:03 ` Wes Bauske
1999-03-22 19:11 ` Keystroke loggers Aaron
1999-03-22 9:22 ` loop unrolling [Re: XP1000 and Linux] Richard Henderson
1999-03-22 17:14 ` Wes Bauske
1999-03-23 2:43 ` Richard Henderson
1999-03-23 4:57 ` Wes Bauske
1999-03-22 11:58 ` Newbie Needs Milo Help SteveCraft
1999-03-23 18:39 ` Ron Farrer
1999-03-23 7:05 ` ev6 tlb consistency Richard Henderson
1999-03-23 18:22 ` Wes Bauske
1999-03-23 19:38 ` Jay.Estabrook [this message]
1999-03-23 8:56 ` loop unrolling [Re: XP1000 and Linux] Harvey J. Stein
1999-03-24 5:05 ` Wes Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox