From owner-cvs-all@FreeBSD.ORG Fri Oct 28 16:02:21 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEC1A16A41F; Fri, 28 Oct 2005 16:02:21 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7A7243D46; Fri, 28 Oct 2005 16:02:20 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j9SG2IhG028911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Oct 2005 20:02:18 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j9SG2Itw028910; Fri, 28 Oct 2005 20:02:18 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 28 Oct 2005 20:02:18 +0400 From: Gleb Smirnoff To: John Baldwin Message-ID: <20051028160218.GJ41520@cell.sick.ru> References: <200510251948.j9PJmmmj043891@repoman.freebsd.org> <200510261320.46985.jhb@freebsd.org> <200510261648.27126.peter@wemm.org> <200510281041.44147.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200510281041.44147.jhb@freebsd.org> User-Agent: Mutt/1.5.6i Cc: Mark Linimon , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Peter Wemm , cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha interrupt.c src/sys/alpha/isa isa.c src/sys/amd64/amd64 intr_machdep.c src/sys/amd64/include intr_machdep.h src/sys/amd64/isa atpic.c src/sys/arm/arm intr.c src/sys/dev/sio sio.c src/sys/dev/uart uart_kbd_sun.c uart_tty.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 16:02:21 -0000 John, On Fri, Oct 28, 2005 at 10:41:42AM -0400, John Baldwin wrote: J> > Of course the real challenge is to make things like the puc device do J> > the right thing automatically instead of needing 'options J> > PUC_FASTINTR'. J> J> You mean like sio(4) tried to? The problem is that with the previosu code if J> sio(4) went first, it would register INTR_FAST and some later PCI device J> wouldn't be able to register its interrupt. There's not an easy solution to J> that problem if you want to keep the semantics that INTR_FAST implies J> INTR_EXCL. is it possible to implement such a feature that driver requests INTR_FAST and it succeds only and only if interrupt isn't shared? For example I've got a console server with three puc devices. Since one of them share its irq with ATA, I can't trun on PUC_FASTINTR on this box. However, theoretically it is possible two make two pucs use a fast interrupt handler and one not. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE