Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@cs.Helsinki.FI>
Subject: Re: 1.3.77 &amp; 1.3.78 Keyboard Problems
Date: Wed, 27 Mar 1996 16:24:11 +0200 (EET)	[thread overview]
Message-ID: <85237d1c7f72f89a81d1c5b7bfbc7474.axp-list@archive.invalid> (raw)
In-Reply-To: <199603270637.IAA28163@vbormc.vbo.dec.com>

Duh.

The keyboard problem is due to interrupts being disabled in the bottom half
routines on the alpha. The whole idea of bottom half routines is that you're
supposed to be able to do things with interrupts enabled, so that's really
stupid.

Fixed by adding a "sti()" at the very top of "do_bottom_half()" (or whatever
it's called: it's kernel/softirq.c).

The led setting gets very upset when it doesn't get any reaction from the
keyboard (as the interrupts are disabled the keyboard interrupts obviously
don't come in..), so that's why it pauses - it's waiting for a reply.

The reason it doesn't show up on x86 is that the x86 asm stuff correctly
enables interrupts before calling do_bottom_half(). But I think I'll change
that too and just keep the "sti()" inside do_bottom_half(), as the less
assembly code there is in the kernel, the happier I am..

		Linus

  reply	other threads:[~1996-03-27 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27  6:37 1.3.77 &amp; 1.3.78 Keyboard Problems Ka'plaagh 27-Mar-1996 0745 +0000
1996-03-27 14:24 ` Linus Torvalds [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-03-27  4:05 David Mosberger-Tang
1996-03-26 19:31 Torsten Zirzlaff
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