Re: [PATCH 02/11] PCI: Try to allocate mem64 above 4G at first
From: Yinghai Lu
Date: Fri May 25 2012 - 19:10:23 EST
On Fri, May 25, 2012 at 2:55 PM, Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:
> I think we should fix this with a separate patch that removes
> PCIBIOS_MAX_MEM_32 altogether, replacing this use with an explicit
> 0xffffffff (or some other "max 32-bit value" symbol). I don't think
> there's anything arch-specific about this.
>
> So I'd like to see two patches here:
> 1) Avoid allocating 64-bit regions for 32-bit BARs
> 2) Try to allocate regions above 4GB for 64-bit BARs
Sure. please check updated two patches.
Thanks
Yinghai
Attachment:
32_bit_bar_allocation.patch
Description: Binary data
Attachment:
allocate_high_at_first_v4.patch
Description: Binary data