From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXQBJ-00074E-Dv for qemu-devel@nongnu.org; Sun, 04 Dec 2011 23:29:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXQBI-0000MF-JQ for qemu-devel@nongnu.org; Sun, 04 Dec 2011 23:29:33 -0500 Received: from usrksweb02.endace.com ([174.143.168.194]:36348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXQBI-0000M7-A2 for qemu-devel@nongnu.org; Sun, 04 Dec 2011 23:29:32 -0500 Message-ID: <4EDC4899.2080101@endace.com> Date: Mon, 5 Dec 2011 17:29:13 +1300 From: Alexey Korolev MIME-Version: 1.0 References: <4ED58108.3090903@endace.com> <20111130074903.GD17781@redhat.com> <4ED70E71.3030003@endace.com> <4ED7640D.5060203@redhat.com> <4ED767DF.7060707@redhat.com> In-Reply-To: <4ED767DF.7060707@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: sfd@endace.com, yamahata@valinux.co.jp, seabios@seabios.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" Hi Gerd, We have very early prototype of data acquisition device, with quite large MMIO buffer. It is an emulated device. We are running the 0.15 release. 0.15 doesn't work correctly with 64bit BARs so I've already added some hacks to Seabios to let OS to choose the memory region. Thus you see bar 1, addr 0 in seabios log. Sorry that I haven't specified all this initially. I just want to make 64bit PCI bar working properly. Linux guests works correctly (except early versions - not investigated this yet). At the moment I have some issues with windows which relies on ACPI _CRS. Thanks, Alexey > Hi, > >>> PCI: map device bus 0, bfd 0x28 >>> bar 0, addr febe0000, size 10000 [mem] >>> bar 1, addr 0, size 20000000 [mem] >> Somehow seabios didn't recognise the bar correctly it seems (both 512 >> and 256 MB cases look the same). For the 256 MB case seabios should >> have mapped the bar @ 0xe0000000. > ... and it should also have figured it is prefetchable memory. Was pci > config space messed up somehow? What does 'lspci -v' say once you've > booted the machine with linux? > > What qemu version you are running? > What kind of device is this? > Emulated? Code somewhere? > Or a real device passed through to the guest? > > cheers, > Gerd