From owner-freebsd-ia64@FreeBSD.ORG Mon Feb 10 11:06:48 2014 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46D10F5 for ; Mon, 10 Feb 2014 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2D55D1FD7 for ; Mon, 10 Feb 2014 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1AB6mD3080063 for ; Mon, 10 Feb 2014 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1AB6lX9080061 for freebsd-ia64@FreeBSD.org; Mon, 10 Feb 2014 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Feb 2014 11:06:47 GMT Message-Id: <201402101106.s1AB6lX9080061@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ia64@FreeBSD.org Subject: Current problem reports assigned to freebsd-ia64@FreeBSD.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- p ia64/183227 ia64 panic: uma_zfree: Freeing to non free bucket index. p ia64/182999 ia64 ia64 r255488: panic: wrong page state m 0xe00000027fcc o ia64/167618 ia64 [ia64] Implement revision 232832 o ia64/158547 ia64 [ia64] Epilog counter (ar.ec) needs to be saved and re o ia64/156900 ia64 ia64 -current r221488 panic if kern.maxssiz=536748033 5 problems total. From owner-freebsd-ia64@FreeBSD.ORG Wed Feb 12 19:43:55 2014 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7611C7D3; Wed, 12 Feb 2014 19:43:55 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A7481697; Wed, 12 Feb 2014 19:43:55 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5A328B9A9; Wed, 12 Feb 2014 14:43:54 -0500 (EST) From: John Baldwin To: ia64@freebsd.org Subject: Re: svn commit: r261790 - in head/sys: amd64/include dev/acpica dev/cardbus dev/pccbb dev/pci i386/include sparc64/pci x86/include x86/pci x86/x86 Date: Wed, 12 Feb 2014 14:25:48 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <201402120430.s1C4Uctm088069@svn.freebsd.org> In-Reply-To: <201402120430.s1C4Uctm088069@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201402121425.48635.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 12 Feb 2014 14:43:54 -0500 (EST) Cc: Marcel Moolenaar X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 19:43:55 -0000 On Tuesday, February 11, 2014 11:30:38 pm John Baldwin wrote: > Author: jhb > Date: Wed Feb 12 04:30:37 2014 > New Revision: 261790 > URL: http://svnweb.freebsd.org/changeset/base/261790 > > Log: > Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge > I/O windows, the default is to preserve the firmware-assigned resources. > PCI bus numbers are only managed if NEW_PCIB is enabled and the architecture > defines a PCI_RES_BUS resource type. > - Add a helper API to create top-level PCI bus resource managers for each > PCI domain/segment. Host-PCI bridge drivers use this API to allocate > bus numbers from their associated domain. > - Change the PCI bus and CardBus drivers to allocate a bus resource for > their bus number from the parent PCI bridge device. > - Change the PCI-PCI and PCI-CardBus bridge drivers to allocate the > full range of bus numbers from secbus to subbus from their parent bridge. > The drivers also always program their primary bus register. The bridge > drivers also support growing their bus range by extending the bus resource > and updating subbus to match the larger range. > - Add support for managing PCI bus resources to the Host-PCI bridge drivers > used for amd64 and i386 (acpi_pcib, mptable_pcib, legacy_pcib, and qpi_pcib). > - Define a PCI_RES_BUS resource type for amd64 and i386. Since ia64 only uses ACPI Host-PCI bridges, I believe that this can be enabled on ia64 by just adding an appropriate #define for PCI_RES_BUS to . I just have no way to test it. -- John Baldwin From owner-freebsd-ia64@FreeBSD.ORG Wed Feb 12 23:10:08 2014 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E15CC79B; Wed, 12 Feb 2014 23:10:08 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 919F818AD; Wed, 12 Feb 2014 23:10:08 +0000 (UTC) Received: from [172.29.13.237] ([66.129.239.11]) (authenticated bits=0) by mail.xcllnt.net (8.14.7/8.14.7) with ESMTP id s1CN9wLW002460 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 12 Feb 2014 15:10:00 -0800 (PST) (envelope-from marcel@xcllnt.net) Content-Type: multipart/signed; boundary="Apple-Mail=_9C041427-D321-4AA9-8E44-C793F90BDCA5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: svn commit: r261790 - in head/sys: amd64/include dev/acpica dev/cardbus dev/pccbb dev/pci i386/include sparc64/pci x86/include x86/pci x86/x86 From: Marcel Moolenaar In-Reply-To: <201402121425.48635.jhb@freebsd.org> Date: Wed, 12 Feb 2014 15:09:53 -0800 Message-Id: References: <201402120430.s1C4Uctm088069@svn.freebsd.org> <201402121425.48635.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1827) Cc: Marcel Moolenaar , ia64@freebsd.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 23:10:09 -0000 --Apple-Mail=_9C041427-D321-4AA9-8E44-C793F90BDCA5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Feb 12, 2014, at 11:25 AM, John Baldwin wrote: > On Tuesday, February 11, 2014 11:30:38 pm John Baldwin wrote: >> Author: jhb >> Date: Wed Feb 12 04:30:37 2014 >> New Revision: 261790 >> URL: http://svnweb.freebsd.org/changeset/base/261790 >>=20 >> Log: >> Add support for managing PCI bus numbers. As with BARs and PCI-PCI = bridge >> I/O windows, the default is to preserve the firmware-assigned = resources. >> PCI bus numbers are only managed if NEW_PCIB is enabled and the = architecture >> defines a PCI_RES_BUS resource type. >> - Add a helper API to create top-level PCI bus resource managers for = each >> PCI domain/segment. Host-PCI bridge drivers use this API to = allocate >> bus numbers from their associated domain. >> - Change the PCI bus and CardBus drivers to allocate a bus resource = for >> their bus number from the parent PCI bridge device. >> - Change the PCI-PCI and PCI-CardBus bridge drivers to allocate the >> full range of bus numbers from secbus to subbus from their parent = bridge. >> The drivers also always program their primary bus register. The = bridge >> drivers also support growing their bus range by extending the bus = resource >> and updating subbus to match the larger range. >> - Add support for managing PCI bus resources to the Host-PCI bridge = drivers >> used for amd64 and i386 (acpi_pcib, mptable_pcib, legacy_pcib, and = qpi_pcib). >> - Define a PCI_RES_BUS resource type for amd64 and i386. >=20 > Since ia64 only uses ACPI Host-PCI bridges, I believe that this can be = enabled > on ia64 by just adding an appropriate #define for PCI_RES_BUS to > . I just have no way to test it. I'll give it a spin. Altix 350 & Altix 450 have non-standard PCI host controllers, which I do want to test. The firmware does not dictate bus numbers, so it may be a non-issue. Thanks for the heads-up! --=20 Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_9C041427-D321-4AA9-8E44-C793F90BDCA5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlL7/0EACgkQpgWlLWHuifb9mQCfSDi3KcmVi2N/Xv7WL2cle6zq 1YMAnj9JjngkcOFP1iPF6w+MtpjOLZkX =6FLJ -----END PGP SIGNATURE----- --Apple-Mail=_9C041427-D321-4AA9-8E44-C793F90BDCA5-- From owner-freebsd-ia64@FreeBSD.ORG Thu Feb 13 20:24:46 2014 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3BD8EF39; Thu, 13 Feb 2014 20:24:46 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 10B8C1E4A; Thu, 13 Feb 2014 20:24:46 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 09256B992; Thu, 13 Feb 2014 15:24:45 -0500 (EST) From: John Baldwin To: Marcel Moolenaar Subject: Re: svn commit: r261790 - in head/sys: amd64/include dev/acpica dev/cardbus dev/pccbb dev/pci i386/include sparc64/pci x86/include x86/pci x86/x86 Date: Thu, 13 Feb 2014 15:18:39 -0500 Message-ID: <1706878.v7mRcKNgdr@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) In-Reply-To: References: <201402120430.s1C4Uctm088069@svn.freebsd.org> <201402121425.48635.jhb@freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 13 Feb 2014 15:24:45 -0500 (EST) Cc: Marcel Moolenaar , ia64@freebsd.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 20:24:46 -0000 On Wednesday, February 12, 2014 03:09:53 PM Marcel Moolenaar wrote: > On Feb 12, 2014, at 11:25 AM, John Baldwin wrote: > > On Tuesday, February 11, 2014 11:30:38 pm John Baldwin wrote: > >> Author: jhb > >> Date: Wed Feb 12 04:30:37 2014 > >> New Revision: 261790 > >> URL: http://svnweb.freebsd.org/changeset/base/261790 > >> > >> Log: > >> Add support for managing PCI bus numbers. As with BARs and PCI-PCI > >> bridge > >> I/O windows, the default is to preserve the firmware-assigned resources. > >> PCI bus numbers are only managed if NEW_PCIB is enabled and the > >> architecture defines a PCI_RES_BUS resource type. > >> - Add a helper API to create top-level PCI bus resource managers for > >> each > >> > >> PCI domain/segment. Host-PCI bridge drivers use this API to allocate > >> bus numbers from their associated domain. > >> > >> - Change the PCI bus and CardBus drivers to allocate a bus resource for > >> > >> their bus number from the parent PCI bridge device. > >> > >> - Change the PCI-PCI and PCI-CardBus bridge drivers to allocate the > >> > >> full range of bus numbers from secbus to subbus from their parent > >> bridge. > >> The drivers also always program their primary bus register. The > >> bridge > >> drivers also support growing their bus range by extending the bus > >> resource > >> and updating subbus to match the larger range. > >> > >> - Add support for managing PCI bus resources to the Host-PCI bridge > >> drivers > >> > >> used for amd64 and i386 (acpi_pcib, mptable_pcib, legacy_pcib, and > >> qpi_pcib).>> > >> - Define a PCI_RES_BUS resource type for amd64 and i386. > > > > Since ia64 only uses ACPI Host-PCI bridges, I believe that this can be > > enabled on ia64 by just adding an appropriate #define for PCI_RES_BUS to > > . I just have no way to test it. > > I'll give it a spin. Altix 350 & Altix 450 have non-standard PCI > host controllers, which I do want to test. The firmware does not > dictate bus numbers, so it may be a non-issue. You will need the rman bits regardless as pci(4) will expect to be able to allocate a bus resource. For Host-PCI bridge drivers you need to handle PCI_RES_BUS in bus_alloc_resource(), bus_adjust_resource(), and bus_release_resource(). Mostly you just need to call the pci_domain functions passing in the domain the bridge belongs to. -- John Baldwin