Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: RedHat AXP list <axp-list@redhat.com>
Subject: Re: 21064A D-cache is 8KB under Linux (fwd)
Date: Fri, 12 Mar 1999 12:38:56 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.05.9903121238250.3596-100000@earth.terran.org> (raw)


Can an Alpha expert comment on this?  I'd like to know more.

-bp
--
B. James Phillippe		. bryan@terran.org
Software Engineer, WGT Inc.	. http://www.terran.org/~bryan

---------- Forwarded message ----------
Subject: Re: 21064A D-cache is 8KB under Linux
Date: 12 Mar 1999 16:12:49 GMT
From: Anton Ertl <anton@mips.complang.tuwien.ac.at>
Newsgroups: comp.os.linux.alpha

In article <7c8oqm$a9r$1@news.tuwien.ac.at>,
 anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> In article <7c6ps1$up3$1@prince.dataforce.net>,
>  Solar Designer <solar@cannabis.dataforce.net> writes:
> > Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> > > Would simply setting the DC_16K bit be enough?  I doubt it; OSs
> > > typically need special magic to deal with virtually-indexed caches.

Ok, I have tried to think up a case where the virtually indexed cache
could be a problem; I wrote a program to exercise this case
(http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/mapcheck.c), and
it turns out that everything works well.  I guess that the cache
consistency issues are handled in hardware. I just wonder why there is
an 8KB mode at all.

So, I think it is safe to switch the D-cache to 16K.  You are invited
to try it (all the material is available at
http://www.complang.tuwien.ac.at/anton/toggle_dc_16k/), and report
results to me.

IMO this should go into the Linux startup code for EV45-based Alphas.
Does anyone know whom I should contact for these kernel patches (the
MAINTAINERS file does not list an Alpha maintainer).

- anton
-- 
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html



                 reply	other threads:[~1999-03-12 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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