Re: [PATCH] Rewrite pci_scan_slot

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

 



On Sun, 13 Dec 2009 08:10:02 -0500
Matthew Wilcox <matthew@xxxxxx> wrote:

> The Alternate Routing-ID Interpretation capability allows a single
> device to have up to 256 functions.  They can be populated sparsely,
> so the current technique of scanning every eighth function is not
> guaranteed to find them all.  By introducing a 'next_fn' function
> pointer, we can use the linked list of functions in the ARI
> capability to scan all the functions which exist.
> 
> We can then speed up the pci_scan_slot by skipping the scan of
> subsequent devfns for PCIe devices which are the direct children of
> Root Ports or Downstream Ports.  These devices are only permitted to
> implement device 0, unless they are ARI devices, in which case
> they'll be scanned by the ARI code above.
> 
> Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>

Applied to my linux-next branch, thanks for this one, it looks pretty
nice.

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