Re: [patch] fix 64-vbit prefetchable memory resource BARs

From: Jesse Barnes
Date: Wed Oct 15 2008 - 06:06:19 EST


On Sunday, October 12, 2008 5:49 pm Peter Chubb wrote:
> Since patch 6ac665c63dcac8fcec534a1d224ecbb8b867ad59
> my infiniband controller hasn't worked. This is because it has
> 64-bit prefetchable memory, which was mistakenly being taken to be
> 32-bit memory. The resource flags in this case are
> PCI_BASE_ADDRESS_MEM_TYPE_64|PCI_BASE_ADDRESS_MEM_PREFETCH.
>
> This patch checks only for the PCI_BASE_ADDRESS_MEM_TYPE_64 bit; thus
> whether the region is prefetchable or not is ignored. This fixes my
> Infiniband.
>
>
> Signed-off-by: Peter Chubb <peterc@xxxxxxxxxxxxxxxxxx>

Applied to my linux-next branch, thanks. I'll be sending to Linus soon
(hopefully today).

Thanks,
Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/