Received: from [140.186.70.92] (port=44484 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHHjT-0001mu-53 for qemu-devel@nongnu.org; Sat, 13 Nov 2010 10:09:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHHjN-0004CF-DF for qemu-devel@nongnu.org; Sat, 13 Nov 2010 10:09:34 -0500 Received: from mail-qy0-f180.google.com ([209.85.216.180]:59999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHHjN-0004C4-AV for qemu-devel@nongnu.org; Sat, 13 Nov 2010 10:09:29 -0500 Received: by qyk36 with SMTP id 36so579806qyk.4 for ; Sat, 13 Nov 2010 07:09:28 -0800 (PST) Date: Sat, 13 Nov 2010 10:09:25 -0500 From: Kevin O'Connor Message-ID: <20101113150925.GA12501@morn.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [SeaBIOS] [PATCH v3 0/2] pciinit: fix overflow when bar allocation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Isaku Yamahata Cc: mst@redhat.com, seabios@seabios.org, adnan@khaleel.us, cam@cs.ualberta.ca, qemu-devel@nongnu.org On Thu, Oct 28, 2010 at 03:54:34PM +0900, Isaku Yamahata wrote: > Changes v2 -> v3: > - use [first, last] instead of [start, end) > > Changes v1 -> v2: > - add comment. > > Patch description: > This patch set fixes PCI bar allocation when bar overflow occured. > I checked if pmm_alloc facility can be used, but it doesn't suit for > pci bar allocation. So I resulted in new API, pci_region which > encapsulates region allocation and overflow checks. > The first patch introduces pci_region, and the second patch fixes > the overflow case with pci_region. Thanks. I've committed these. I put them on the master branch - I can also place them on the stable branch if they're needed there. -Kevin