From owner-freebsd-current Mon Mar 20 22:26:22 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA01110 for current-outgoing; Mon, 20 Mar 1995 22:26:22 -0800 Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA01029 for ; Mon, 20 Mar 1995 22:26:12 -0800 Received: from tama3 (tama3 [202.32.13.252]) by specgw.spec.co.jp (8.6.5/3.3Wb-SPEC) with SMTP id PAA08383; Tue, 21 Mar 1995 15:21:45 +0900 Date: Tue, 21 Mar 1995 15:21:45 +0900 Message-Id: <199503210621.PAA08383@specgw.spec.co.jp> To: bde@zeta.org.au Cc: current@FreeBSD.org, se@MI.Uni-Koeln.DE Subject: Re: Sharing interrupts with PCI devices? In-Reply-To: <199503210529.PAA04875@godzilla.zeta.org.au> From: =?ISO-2022-JP?B?GyRCQjwwZhsoSg==?= =?ISO-2022-JP?B?GyRCPV8bKEo=?= Atsushi Murai X-Mailer: AL-Mail for Windows(0.36B) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Sender: current-owner@FreeBSD.org Precedence: bulk Bruce Evans wrotes: >>This results in low overhead operation >>in the non shared case, and in interrupts >>masked for as short a period of time as >>possible in the shared case. > >>*** *** *** *** *** *** *** *** *** *** *** > >>I will apply the PCI SHARED INTERRUPT patch >>tomorrow. All PCI device drivers will have >>been checked to conform to the return value >>convention described above ! > >This results in a higher overhead operation >in the non-shared case :-]. What about >generic drivers like isa/bt742a.c? Does >the new requirement give higher overhead >in the non-shared ISA (VLB) case? > >The overheads are relatively _very_ small for >devices that transfer large blocks so I'm not >worried about the overheads for bt742a. Case 1: Sharing same IRQ by same device. Consider with for EISA, This is using sharing interruption by level sense. This mean once interrupter ocurred, another interrupter never interrupt for Interrupt controler during procees a same device interrupt service for card. And obiously, a device interruption routine should know their sharing interrupiton group and I/O chanels. Thus it's could be reduce number of interrupt even checking validation by reading extra I/O port. So it will give us decreas overhead under the heavy load for these device. Case 2: Sharing same IRQ by different device. This case, System interrupt service routine should dispatch and poll for any same interrupt for which different devices are configred. But this is only useful for limited of IRQ resouse situation. >Bruce Atsushi. -- Atsushi Murai E-Mail: amurai@spec.co.jp SPEC Voice : +81-3-3833-5341 System Planning and Engineering Corp.