Re: [Qemu-devel] [PATCH v4] spapr-pci: fix config space access to support bridges

2013-08-22 Thread Alexander Graf
On 21.08.2013, at 07:02, Alexey Kardashevskiy wrote: > spapr-pci config space accessors use find_dev() to find a PCI device. > However find_dev() only searched on a primary bus and did not do > recursive search through secondary buses so config space access was not > possible for devices other th

[Qemu-devel] [PATCH v4] spapr-pci: fix config space access to support bridges

2013-08-20 Thread Alexey Kardashevskiy
spapr-pci config space accessors use find_dev() to find a PCI device. However find_dev() only searched on a primary bus and did not do recursive search through secondary buses so config space access was not possible for devices other that on a primary bus. This fixed find_dev() by using the PCI AP