From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 17 15:41:50 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 C628C16A4CE; Wed, 17 Nov 2004 15:41:50 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8842343D49; Wed, 17 Nov 2004 15:41:48 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAHFfkIm026154; Wed, 17 Nov 2004 17:41:46 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 49244-20; Wed, 17 Nov 2004 17:41:45 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAHFfi6p026151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Nov 2004 17:41:45 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAHFflHU026264; Wed, 17 Nov 2004 17:41:47 +0200 (EET) (envelope-from ru) Date: Wed, 17 Nov 2004 17:41:46 +0200 From: Ruslan Ermilov To: John Baldwin Message-ID: <20041117154146.GD25995@ip.net.ua> References: <200411111737.00537.jhb@FreeBSD.org> <200411161339.13818.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fXStkuK2IQBfcDe+" Content-Disposition: inline In-Reply-To: <200411161339.13818.jhb@FreeBSD.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: acpi@FreeBSD.org cc: freebsd-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: Wed, 17 Nov 2004 15:41:50 -0000 --fXStkuK2IQBfcDe+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2004 at 01:39:13PM -0500, 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 API= Cs.=20 > > 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 us= es > > 'hw.pci.link.LNKA.irq=3DX' 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 I= RQs. > > 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. >=20 > I've updated this to the latest current and verified that it compiles ok= =20 > (since I had at least one report that it didn't patch cleanly and/or=20 > compile). I plan to commit this in a couple of days unless I hear some s= ort=20 > of negative feedback. >=20 I get a panic on boot with this change. I don't have a serial console attached to this notebook, but if needs be it can be arranged (tomorrow). The panic I get is as follows: panic: Assertion resource->Data.Irq.NumberOfInterrupts =3D=3D 1 failed at .= =2E./acpi_pci_link.c:497 Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --fXStkuK2IQBfcDe+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBm3E6qRfpzJluFF4RApP5AJwJmdpYDabZfhJeXzCeltvBeO0pUACeO617 fNBwwlYSVu7ETQePootAWis= =LxOj -----END PGP SIGNATURE----- --fXStkuK2IQBfcDe+--