On Thu, Oct 21, 2021 at 01:34:07PM +0200, Eric Auger wrote:
> Hi Peter,
> On 10/21/21 12:42 PM, Peter Xu wrote:
> > Replace all the call sites of existing pci_for_each_device*() where the bus
> > number is calculated from a PCIBus* already. It should avoid the lookup of
> > the
> > PCIBus again.
Hi Peter,
On 10/21/21 12:42 PM, Peter Xu wrote:
> Replace all the call sites of existing pci_for_each_device*() where the bus
> number is calculated from a PCIBus* already. It should avoid the lookup of
> the
> PCIBus again.
>
> Signed-off-by: Peter Xu
> ---
> hw/i386/acpi-build.c | 5 ++
On 21.10.21 12:42, Peter Xu wrote:
> Replace all the call sites of existing pci_for_each_device*() where the bus
> number is calculated from a PCIBus* already. It should avoid the lookup of
> the
> PCIBus again.
>
> Signed-off-by: Peter Xu
> ---
> hw/i386/acpi-build.c | 5 ++---
> hw/pc
Replace all the call sites of existing pci_for_each_device*() where the bus
number is calculated from a PCIBus* already. It should avoid the lookup of the
PCIBus again.
Signed-off-by: Peter Xu
---
hw/i386/acpi-build.c | 5 ++---
hw/pci/pcie.c | 4 +---
hw/ppc/spapr_pci.c