From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:52606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVzX9-0001Nw-KM for qemu-devel@nongnu.org; Thu, 01 Dec 2011 00:50:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVzX8-0003cF-8L for qemu-devel@nongnu.org; Thu, 01 Dec 2011 00:50:11 -0500 Received: from usrksweb02.endace.com ([174.143.168.194]:42360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVzX7-0003bQ-Rn for qemu-devel@nongnu.org; Thu, 01 Dec 2011 00:50:10 -0500 Message-ID: <4ED71582.3000107@endace.com> Date: Thu, 1 Dec 2011 18:49:54 +1300 From: Alexey Korolev MIME-Version: 1.0 References: <4ED58108.3090903@endace.com> <20111130074903.GD17781@redhat.com> In-Reply-To: <20111130074903.GD17781@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable 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: yamahata@valinux.co.jp Cc: sfd@endace.com, seabios@seabios.org, qemu-devel@nongnu.org, "Michael S. Tsirkin" Isaku san, I've just added you to discussion. There are some issues with PCI 64bit support in Windows. Windows fails=20 to assign the resource if it doesn't fit in first 4GB window. I really don't know why it happens. One of the possibilities is related to lack of _DSM method in ACPI. Another guesse could be related to the fact that 440FX only supports=20 32bit PCI bus interface and windows may limit PCI address range to first=20 4GB for PCI devices under this bridge. I remember you were working on Q35 chipset simulation, I wonder if it is=20 working and would it be possible to try? Thanks, Alexey > On Wed, Nov 30, 2011 at 02:04:08PM +1300, Alexey Korolev wrote: >> Hi, >> >> We have got some issues with 64bit PCI devices support under Windows g= uests. >> Windows fails to start any PCI devices with 64bit BARs when size >> exceeds 512MB with error code 12 (can't allocate resources). In >> other words it fails when the PCI memory region is located above >> 4GB. >> >> I tried to investigate this problem and found document from Microsoft: >> http://msdn.microsoft.com/en-us/windows/hardware/gg462986 >> >> It states that the _DSM method must be implemented to support >> devices above 4GB. > That's not how I read it: > Windows Vista always respects the boot configuration of devices above > 4 GB, considering the processor=E2=80=99s addressing capability and th= e version > of the Windows operating system that is running. > >> Unfortunately I'm not familiar with ACPI code of seabios, so can't >> implement the _DSM method. May be you have other ideas what needs to >> be done to fix it? Any help is appreciated. >> >> Thanks, >> Alexey > Could you share some more detail about your setup? >