From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29676 invoked from network); 23 Mar 1999 19:56:54 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Mar 1999 19:56:54 -0000 Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA29879 for ; Tue, 23 Mar 1999 14:44:00 -0500 Received: from us1rmc.bb.dec.com (us1rmc.bb.dec.com [16.57.16.6]) by mail11.digital.com (8.9.2/8.9.2/WV2.0e) with SMTP id OAA01444; Tue, 23 Mar 1999 14:45:27 -0500 (EST) Received: from linux03.hlo.dec.com by us1rmc.bb.dec.com (5.65/rmc-17Jan97) id AA10889; Tue, 23 Mar 99 14:38:49 -0500 Received: from linux03.hlo.dec.com (jestabro@localhost [127.0.0.1]) by linux03.hlo.dec.com (8.8.7/8.8.7) with ESMTP id OAA02677; Tue, 23 Mar 1999 14:38:32 -0500 Message-Id: <199903231938.OAA02677@linux03.hlo.dec.com> X-Mailer: exmh version 2.0.2 X-Exmh-Isig-Comptype: repl X-Exmh-Isig-Folder: axp-list To: axp-list@redhat.com Cc: rth@cygnus.com, "Wes Bauske" From: Jay.Estabrook@digital.com Subject: Re: ev6 tlb consistency In-Reply-To: Your message of Tue, 23 Mar 1999 12:22:07 -0600. <36F7DBCF.5FE36834@paralleldata.com> Mime-Version: 1.0 Content-Type: text/plain Date: Tue, 23 Mar 1999 14:38:32 -0500 Sender: jestabro@linux03.hlo.dec.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 -----------------------------------------------------------------------------