Re: [PATCH] x86, pci: Fix all early PCI scans to check the vendorID first

From: H. Peter Anvin
Date: Sun Aug 12 2012 - 23:24:48 EST


On 08/12/2012 08:23 PM, Khalid Aziz wrote:

If that is the case, there is a problem in the original code in
arch/x86/kernel/aperture_64.c.The original code already stops scanning
functions the first time it finds an invalid PCI class:


Unless we can prove that that is invalid *for that specific case*, then it is definitely wrong, and yes, I have seen devices in the field with multiple, discontiguous functions.

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