From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 16 23:22:31 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D745916A4CE; Tue, 16 Nov 2004 23:22:31 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D55C43D1D; Tue, 16 Nov 2004 23:22:31 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iAGNMUC4006099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Nov 2004 15:22:31 -0800 Message-ID: <419A8BB5.9050201@root.org> Date: Tue, 16 Nov 2004 15:22:29 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <200411111737.00537.jhb@FreeBSD.org> <200411161339.13818.jhb@FreeBSD.org> In-Reply-To: <200411161339.13818.jhb@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org cc: gallatin@FreeBSD.org cc: scottl@FreeBSD.org Subject: Re: New ACPI PCI Link Routing code X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2004 23:22:32 -0000 John Baldwin wrote: > On Thursday 11 November 2004 05:37 pm, John Baldwin wrote: > >>I've done some work on the ACPI PCI link code to make it a bit more like >>$PIR in that it is link centric and uses actual new-bus devices for each >>device link. One benefit of this is that unused links will be disabled now >>which might help with interrupt aliasing problems on machines using APICs. >>Also, instead of routing IRQs for links via PCI device numbers using >>tunables, they are now routed via the link name ala $PIR. Thus, one uses >>'hw.pci.link.LNKA.irq=X' to route LNKA to IRQ X. Also, when choosing a >>virgin interrupt, we no longer try to guess at which IRQs might be used by >>ISA devices. Instead, we only use known-good IRQs including IRQs that the >>BIOS has already used and the SCI if the link is being routed via ISA IRQs. >>The patch is at http://www.FreeBSD.org/~jhb/patches/acpi_pci_link.patch >>Please test and let me know if there are any problems, thanks. > > > I've updated this to the latest current and verified that it compiles ok > (since I had at least one report that it didn't patch cleanly and/or > compile). I plan to commit this in a couple of days unless I hear some sort > of negative feedback. I think it's ok to commit, modulo Andrew's panic. I hope it generates enough debugging info so that we can quickly fix things in -current as reports arise. Thanks for working on this, -- Nate