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