From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [SeaBIOS] Graphics card pass-through working with two pass pci-initialization Date: Wed, 01 Jun 2011 09:30:12 +0200 Message-ID: <4DE5EA84.7040400@redhat.com> References: <20110525023406.GG8517@valinux.co.jp> <20110525043353.GH8517@valinux.co.jp> <4DDCC7A5.60706@redhat.com> <4DDCF9ED.5050208@redhat.com> <4DDDDA8D.6080807@web.de> <4DDDF62C.2010603@redhat.com> <4DDF3768.5010002@web.de> <4DDF867A.9040700@siemens.com> <4DDFFE1E.1060900@web.de> <4DE3486F.10502@redhat.com> <20110531022922.GB10673@valinux.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Andr=E9_Weidemann?= , Jan Kiszka , Alex Williamson , seabios@seabios.org, kvm@vger.kernel.org To: Isaku Yamahata Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23892 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932477Ab1FAHad (ORCPT ); Wed, 1 Jun 2011 03:30:33 -0400 In-Reply-To: <20110531022922.GB10673@valinux.co.jp> Sender: kvm-owner@vger.kernel.org List-ID: Hi, > 0xE0000000 is hard-coded in the DSDT for both piix and q35 as below. > If the range is determined dynamically, the area also needs to be > updated somehow dynamically. > > ... > Name (_CRS, ResourceTemplate () > ... > DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite, > 0x00000000, // Address Space Granularity > 0xE0000000, // Address Range Minimum > 0xFEBFFFFF, // Address Range Maximum > 0x00000000, // Address Translation Offset > 0x1EC00000, // Address Length > ,, , AddressRangeMemory, TypeStatic) Uhm, indeed. I know next to nothing about ACPI though. Ideas anyone how this could be done? cheers, Gerd