From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rfrtg-00031S-Ja for qemu-devel@nongnu.org; Wed, 28 Dec 2011 06:42:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rfrtf-0002aI-0O for qemu-devel@nongnu.org; Wed, 28 Dec 2011 06:42:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rfrte-0002aD-Pg for qemu-devel@nongnu.org; Wed, 28 Dec 2011 06:42:14 -0500 Date: Wed, 28 Dec 2011 13:43:29 +0200 From: "Michael S. Tsirkin" Message-ID: <20111228114329.GC26310@redhat.com> References: <4EFA9DF0.7050902@endace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EFA9DF0.7050902@endace.com> Subject: Re: [Qemu-devel] [Seabios] [PATCH 0/3] 64bit PCI BARs allocations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Korolev Cc: sfd@endace.com, yamahata@valinux.co.jp, seabios@seabios.org, qemu-devel@nongnu.org On Wed, Dec 28, 2011 at 05:41:20PM +1300, Alexey Korolev wrote: > Hi, > > There were a number of requests about support of 64bit PCI BAR allocations. > > Also we have observed the issue on guests with older linux version > (2.6.18): if we > have a 64bit BAR allocated within first 4GB, the OS may hang during > start process. > (I guess it is an OS bug, but we need to take care of this). > > This patch addresses these two issues and allows 64bit BARs to be > allocated in ranges > above 4GB. > Patch consists of three parts: > 1. Add new range above 4GB in _CRS table to let Windows 2008 work > properly. Thanks > a lot to Michael S. Triskin for this brilliant idea. > 2. Added new PCI_REGION_TYPE_PREFMEM_64 region type in pciinit and changed > types of variables. > 3. Take care about PCI devices with 64bit BARs on secondary buses. > > Patches have been tested on several configurations which includes > linux 2.6.18 - 3.0 & > windows 2008. Everything works quite well. Which qemu version did you use?