From owner-cvs-sys Wed Aug 13 11:12:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA17271 for cvs-sys-outgoing; Wed, 13 Aug 1997 11:12:32 -0700 (PDT) Received: from pluto.plutotech.com (root@mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA17262; Wed, 13 Aug 1997 11:12:19 -0700 (PDT) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.5/8.8.5) with ESMTP id MAA22588; Wed, 13 Aug 1997 12:12:17 -0600 (MDT) Message-Id: <199708131812.MAA22588@pluto.plutotech.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Steve Passe cc: "Justin T. Gibbs" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/aic7xxx aic7xxx.reg aic7xxx.seq src/sys/i386/scsi aic7xxx.c aic7xxx.h In-reply-to: Your message of "Wed, 13 Aug 1997 11:59:37 MDT." <199708131759.LAA24046@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Aug 1997 12:12:19 -0600 From: "Justin T. Gibbs" Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >For the record, disabled INTs was the reason that this was showing up in the >SMP kernel. Because of a race in an unprotected critical region level-active >INTs (ie PCI) could sometimes be left masked when the relevant bit in ipending >was cleared, resulting in complete blockage of further INTs. Although this >was clearly an SMP problem, having robustness in other parts of the system >is appreciated! The problem was reproduceable on UP systems too. >This leads to the question: when INTs get totally blocked >like this, wont the system still freeze, ie should there be a timeout to >panic in your spin lock for times like this? The spin lock is down in the aic7xxx's sequencer program, not in the kernel. The sequencer (the embedded RISC processor in the aic78X0) will simply hold off on completing a command if there is no space to post it, until the interrupt routine runs and makes space available. Nothing in the aic7xxx kernel driver ever blocks in this fashion. >-- >Steve Passe | powered by >smp@csn.net | Symmetric MultiProcessor FreeBSD > > > -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================