Re: [PATCH 1/3] PCI/x86: make early dump handle multi-function devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, January 14, 2009 9:04 am Bjorn Helgaas wrote:
> The early "dump PCI config space" code skips many multi-function
> devices.  This patch fixes that, so it dumps all devices in PCI
> domain 0.
>
> We should not skip the rest of the functions if CLASS_REVISION is
> 0xffffffff.  Often multi-function devices have gaps in the function ID
> space, e.g., 1c.0 and 1c.2 exist but 1c.1 doesn't.  The CLASS_REVISION
> of the non-existent 1c.1 function will appear to be 0xffffffff.
>
> We should only look at the HEADER_TYPE of function zero.  Often the
> "multi-function" is set in function zero, but not in other functions.
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>

Thanks Bjorn, I applied this series.
-- 
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux