From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <85237d1c7f72f89a81d1c5b7bfbc7474.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199603270637.IAA28163@vbormc.vbo.dec.com> Date: Wed, 27 Mar 1996 16:24:11 +0200 (EET) From: Linus Torvalds Subject: Re: 1.3.77 & 1.3.78 Keyboard Problems 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