From owner-freebsd-arch@FreeBSD.ORG Wed Apr 20 09:08:20 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 551041065670 for ; Wed, 20 Apr 2011 09:08:20 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D8BCC8FC0C for ; Wed, 20 Apr 2011 09:08:19 +0000 (UTC) Received: by fxm11 with SMTP id 11so434861fxm.13 for ; Wed, 20 Apr 2011 02:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=EjMjAb7YEws7yVlEduwNUdpInUu8Z28oim/kfct+C0g=; b=q6b8PE2kp+1UP8oAB7+cjpf3oV5eEc/yn0hn5sjibH7Gl24OPFbdrbRdjQbii+kFhM ag/YtdUPVQtHShYMDcPs8RIKPQ+hf0apeHp5oE6GzbhD4pF/bPj5jiuKtXUYRY5WQi1n AsMj6YcO7xBUXwqWXNjPiMdCJyB5IEAyjtL24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=MJ10mhhAKUxY5IrDe1uXHL3YhetusffesMpa6d+N06G5NWjvF7OB6JwpzlGMaYJzsT lAcC9CuAB5mmDcBqYQ5rg65F8FVqPL5E1LRPan8u7e31gjEtAs1Re/6/IR+ALdOxrS+1 ScisWiMwT9uPIN9HInYz4SRgyWuH8Fmwxx11E= Received: by 10.223.1.201 with SMTP id 9mr1795801fag.91.1303288713939; Wed, 20 Apr 2011 01:38:33 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id k5sm208792faa.15.2011.04.20.01.38.32 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 01:38:33 -0700 (PDT) Sender: Alexander Motin Message-ID: <4DAE9B86.8040106@FreeBSD.org> Date: Wed, 20 Apr 2011 11:38:30 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: John Baldwin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org Subject: Re: Changing how PCI-PCI bridges do resource allocation X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2011 09:08:20 -0000 Hi. On 19.04.2011 21:50, John Baldwin wrote: > I've already had at least one testing report that this fixes the issues with > some machines' BIOS clearing the I/O windows on some PCI-PCI bridges when ACPI > is enabled as this code re-discovers the original windows and programs them > correctly. More testing would be good however. I would like this helped my Acer TM6292 which also has alike problems with missing PCIe bridge resources, but unluckily it doesn't. Here is verbose dmesg when my system uses this dirty hack: http://people.freebsd.org/~mav/tm6292_pcie.patch to restore bridges resources to the pre-ACPI state: http://people.freebsd.org/~mav/dmesg.boot.hacks Here is respective `pciconf -lvcb` output: http://people.freebsd.org/~mav/pciconf.hacks Here is dmesg with patches, but without NEW_PCIB: http://people.freebsd.org/~mav/dmesg.boot.olbpcib Here is dmesg with patches with NEW_PCIB: http://people.freebsd.org/~mav/dmesg.boot.newpcib Tell me if you need more info or have more patches to try. -- Alexander Motin