commit | 3a743ef6976213c3fa62b2237283b3fded359b0f | [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> | Fri Oct 17 11:21:28 2014 +0530 |
tree | 77a781518a1d77132692f4690372aeb7731a4a47 | |
parent | 79db2275185f2dc2ac440f40e7d310490084e9f5 [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>