From owner-freebsd-alpha Fri Nov 17 14:18:42 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from front4m.grolier.fr (front4m.grolier.fr [195.36.216.54]) by hub.freebsd.org (Postfix) with ESMTP id DA5D437B479; Fri, 17 Nov 2000 14:18:38 -0800 (PST) Received: from nas6-133.vlt.club-internet.fr (nas6-133.vlt.club-internet.fr [194.158.108.133]) by front4m.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id XAA15386; Fri, 17 Nov 2000 23:17:37 +0100 (MET) Date: Fri, 17 Nov 2000 22:18:50 +0100 (CET) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-Sender: groudier@linux.local To: Andrew Gallatin Cc: Bernd Walter , John Baldwin , Christian Weisgerber , freebsd-alpha@FreeBSD.ORG Subject: Re: PC164 IDE only works (was: SMPng stability) In-Reply-To: <14869.25705.810908.875060@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 17 Nov 2000, Andrew Gallatin wrote: >=20 > An interesting comment found in the linux kernel sources: >=20 > /* In theory, the PC164 has the same interrupt hardware as > the other Cabriolet based systems. However, something=20 > got screwed up late in the development cycle which broke > the interrupt masking hardware. Repeat, it is not=20 > possible to mask and ack interrupts. At all. >=20 > In an attempt to work around this, while processing=20 > interrupts, we do not allow the IPL to drop below what > it is currently. This prevents the possibility of > recursion. =20 >=20 > ??? Another option might be to force all PCI devices > to use edge triggered rather than level triggered > interrupts. That might be too invasive though. */ >=20 >=20 > Drew Interesting, indeed. Note that using edge triggerred interrupt for PCI devices is a broken idea, since it would just break numerous drivers by making them lose interrupt conditions. Btw, in my opinion, handling level sensitive interrupts from some scheduled entity (i.e. not in the corresponding interrupt context) does not look a better idea to me for other reasons. This let me consider the above hardware not to be broken given proper handling of level sensitive interrupts. G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message