commit | b931c7bc10a3c29a8ca0e693d4dfb94f17311451 | [log] [tgz] |
---|---|---|
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | Thu Oct 16 17:10:28 2014 +0530 |
committer | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | Wed Oct 29 16:19:39 2014 +0530 |
tree | 1fe30c226b3558f8f1557e6a34bc5ce7cf08c9a5 | |
parent | 792984914c9937bebd6e70a564777aa883233444 [diff] |
pci: scan only type 0 and type 1 In certain cases when a PCI device is passthru and is frozen before it reaches SLOF. All PCI read result reading FF. This exposed a bug in the pci scan code which would wrongly take it as a pci brigde and try to scan devices below that and that would enter an infinite loop. Explicitly scan for type 0/1 and rest are not supported. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>