[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v4] spapr-pci: fix config space access to support
From: |
Alexander Graf |
Subject: |
Re: [Qemu-ppc] [PATCH v4] spapr-pci: fix config space access to support bridges |
Date: |
Thu, 22 Aug 2013 18:26:42 +0100 |
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 that on a primary bus.
>
> This fixed find_dev() by using the PCI API pci_find_device() function.
> This effectively enabled pci bridges on spapr.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
> Acked-by: Michael S. Tsirkin <address@hidden>
Thanks, applied to ppc-next.
Alex