Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Cc: jay.estabrook@digital.com
Subject: ev6 tlb consistency
Date: Mon, 22 Mar 1999 23:05:59 -0800	[thread overview]
Message-ID: <19990322230559.A768@twiddle.net> (raw)
In-Reply-To: <36F71F3F.8C7583D4@paralleldata.com>; from Wes Bauske on Mon, Mar 22, 1999 at 10:57:35PM -0600

On Mon, Mar 22, 1999 at 10:57:35PM -0600, Wes Bauske wrote:
> > On Mon, Mar 22, 1999 at 11:14:44AM -0600, Wes Bauske wrote:
> > > Actually, I'd like to get egcs1.1.2 to just build on
> > > the XP1000. I'm seeing a timing dependent bug in the
> > > build process that can lock the system up. Basically,
> > > I get "unable to dup fd xxxxxxxx to fd 0", SEGV's, and
> > > outright lockups.
> > 
> > Jay mentioned (and I loosely concur) the possibility of
> > TLB muckups on EV6.  One way to test this is to build a
> > generic kernel and in arch/alpha/kernel/machvec.h modify
> > 
> > #define DO_EV6_MMU                                                      \
> >         max_asn:                        EV6_MAX_ASN,                    \
> >         mmu_context_mask:               0xfffffffffful,                 \
> > -       mv_get_mmu_context:             ev5_get_mmu_context,            \
> > -       mv_flush_tlb_current:           ev5_flush_tlb_current,          \
> > -       mv_flush_tlb_other:             ev5_flush_tlb_other,            \
> > -       mv_flush_tlb_current_page:      ev5_flush_tlb_current_page
> > +       mv_get_mmu_context:             ev4_get_mmu_context,            \
> > +       mv_flush_tlb_current:           ev4_flush_tlb_current,          \
> > +       mv_flush_tlb_other:             ev4_flush_tlb_other,            \
> > +       mv_flush_tlb_current_page:      ev4_flush_tlb_current_page
> > 
> > Worth a shot anyway...
> > 
> 
> Good shot. I successfully built egcs1.1.2 with this
> patch to 2.2.3. I'll do some more tests to see if it
> continues to behave.
> 
> Does that tell you what might be going wrong??

It means that there are invalid TLB entries live when things go south.

EV4 has an architecture conformance bug that makes ASNs useless
so we are forced to flush the whole TLB when context switching.

EV5 gets ASNs correct, so that isn't necessary.  Moreover, when we
change a process' vm mappings, we can just make the process use a
new ASN, which cuts the number of flushes we must do by 128.

EV6... I dunno.  My HRM appears to be oh so usefully back at the office.



r~

PS: One other thing you could try is to go back to using the ev5 tlb
flush routines, but only use EV5_MAX_ASN.


  parent reply	other threads:[~1999-03-23  7:08 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           ` Richard Henderson [this message]
1999-03-23 18:22             ` ev6 tlb consistency Wes Bauske
1999-03-23 19:38               ` Jay.Estabrook
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