Re: [PATCH] x86/pci/mrst: add extra check in fixed bar detection

From: H. Peter Anvin
Date: Tue Jul 20 2010 - 13:26:23 EST


On 07/20/2010 10:18 AM, Ben Greear wrote:
> On 07/16/2010 11:58 AM, Jacob Pan wrote:
>> Fixed bar capability structure is searched in PCI extended configuration
>> space. We need to make sure there is a valid capability id to begin with
>> otherwise, the search code may stuck in a infinite loop which results in
>> boot hang.
>> This patch adds additional check for cap ID 0, which is also invalid.
>
> I think this should be added to the stable tree for 2.6.34
> as well...
>

Agreed. Greg, could you consider upstream
f82c3d71d6fd2e6a3e3416f09099e29087e39abf for -stable 2.6.34?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/