From owner-freebsd-current@FreeBSD.ORG Sat Jul 30 12:34:31 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F212E106564A; Sat, 30 Jul 2011 12:34:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id C90F48FC14; Sat, 30 Jul 2011 12:34:31 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 7F04346B2D; Sat, 30 Jul 2011 08:34:31 -0400 (EDT) Received: from kavik.baldwin.cx (c-68-36-150-83.hsd1.nj.comcast.net [68.36.150.83]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 21DD48A02C; Sat, 30 Jul 2011 08:34:31 -0400 (EDT) From: John Baldwin To: Andriy Gapon Date: Sat, 30 Jul 2011 08:34:28 -0400 User-Agent: KMail/1.13.7 (FreeBSD/9.0-CURRENT; KDE/4.6.5; i386; ; ) References: <4E23EE49.5040801@FreeBSD.org> <201107191116.07116.jhb@freebsd.org> <4E33A990.7040006@FreeBSD.org> In-Reply-To: <4E33A990.7040006@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201107300834.29194.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Sat, 30 Jul 2011 08:34:31 -0400 (EDT) Cc: freebsd-current@freebsd.org Subject: Re: ichwd0: unable to reserve GCS registers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2011 12:34:32 -0000 On Saturday, July 30, 2011 02:49:52 AM Andriy Gapon wrote: > on 19/07/2011 18:16 John Baldwin said the following: > > Hmm, can you get devinfo -r output from a working kernel with ichwd > > loaded? You might be able to just build the kernel with 'nooptions > > NEW_PCIB'. > > I believe that I've got a similar problem with amdsbwd(4). > It needs some resources (I/O ports) that belong to ACPI. > The problem is that the driver attaches to isa bus which is under > isab->pci->pcib and those particular resources are not assigned to the > Host-PCI bridge. > > I think that you already made a suggestion that perhaps isa bus should > directly attach to acpi bus when acpi is available. Not sure if there are > any alternative approaches. Actually, my suggestion was the other way around (we should move certain ACPI devices down behind isab so they are behind the Host-PCI bridge as they are in hardware). In this case the BIOS clearly does not list the reosurces for the GCS as valid resources for the Host-PCI bridge. This is part of the reason that I added the 'debug.acpi.disable="hostres"'. One thing we may be able to do is allow non-wildcard requests that are outside the range to still pass if they are in ACPI's system resource range perhaps. -- John Baldwin