From owner-svn-src-head@FreeBSD.ORG Fri Sep 6 08:01:16 2013 Return-Path: Delivered-To: svn-src-head@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 ESMTP id 5D9ABF41; Fri, 6 Sep 2013 08:01:16 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 223E12408; Fri, 6 Sep 2013 08:01:16 +0000 (UTC) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=[192.168.1.176]) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VHqyf-000AWU-Aq; Fri, 06 Sep 2013 10:01:13 +0200 Message-ID: <52298BCA.7040602@FreeBSD.org> Date: Fri, 06 Sep 2013 10:01:14 +0200 From: =?ISO-8859-15?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: John Baldwin Subject: Re: svn commit: r254882 - head/sys/dev/pci References: <201308251809.r7PI9CsE052978@svn.freebsd.org> <201308301644.36750.jhb@freebsd.org> <52219DAE.9010707@FreeBSD.org> <201309031410.46052.jhb@freebsd.org> In-Reply-To: <201309031410.46052.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 08:01:16 -0000 Le 03/09/2013 20:10, John Baldwin a écrit : > Yes, orm0 is eating it. Try this along with using RF_SHAREABLE in your > call to BUS_ALLOC_RESOURCE(): > > Index: x86/isa/orm.c > (...) > - res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0); > + res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, > + RF_SHAREABLE); I tried this patch + RF_SHAREABLE in vga_pci.c but without success. In the call to BUS_ALLOC_RESOURCE in vga_pci.c, I tried with various "parents"/"grand-parents" but it always returns NULL. -- Jean-Sébastien Pédron