From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 25 15:04:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A14FC16A423 for ; Wed, 25 Jan 2006 15:04:04 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B9C43D55 for ; Wed, 25 Jan 2006 15:04:02 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k0PF41bF027527; Wed, 25 Jan 2006 08:04:01 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <43D79367.6020304@samsco.org> Date: Wed, 25 Jan 2006 08:04:07 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051230 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Craig Boston References: <20060120014307.GA3118@nowhere> <200601241043.51094.jhb@freebsd.org> <20060125003405.GA29970@nowhere> <200601250916.59336.jhb@freebsd.org> In-Reply-To: <200601250916.59336.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org Subject: Re: Weird PCI interrupt delivery problem (resolution, sort of) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 15:04:04 -0000 John Baldwin wrote: > On Tuesday 24 January 2006 19:34, Craig Boston wrote: > >>On Tue, Jan 24, 2006 at 10:43:49AM -0500, John Baldwin wrote: >> >>>What if you do a read of the lapic before the write? Maybe doing 'x = >>>lapic->eoi; lapic->eoi = 0;'? >> >>Reading the lapic before the write has no effect. >> >>Reading the lapic after the write makes it work. > > > Hmm, perhaps the read forces the write to post? Scott? > Either that, or the read imposes enough delay to let whatever was happening during the DELAY call work. I find it hard to believe that uncached writes would get delayed like this. I've lost the original posting on this, could you provide the dmesg and computer make/model again? Scott