[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 8/9] pci: Export pci_for_each_device_under_bus*()



On 11/1/21 7:44 PM, Michael S. Tsirkin wrote:
From: Peter Xu <peterx@xxxxxxxxxx>

They're actually more commonly used than the helper without _under_bus, because
most callers do have the pci bus on hand.  After exporting we can switch a lot
of the call sites to use these two helpers.

Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
Reviewed-by: Eric Auger <eric.auger@xxxxxxxxxx>
Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
Message-Id: <20211028043129.38871-3-peterx@xxxxxxxxxx>
Reviewed-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
Acked-by: David Gibson <david@xxxxxxxxxxxxxxxxxxxxx>
---
  include/hw/pci/pci.h       |  5 +++++
  hw/i386/acpi-build.c       |  5 ++---
  hw/pci/pci.c               | 10 +++++-----
  hw/pci/pcie.c              |  4 +---
  hw/ppc/spapr_pci.c         | 12 +++++-------
  hw/ppc/spapr_pci_nvlink2.c |  7 +++----
  hw/ppc/spapr_pci_vfio.c    |  4 ++--
  hw/s390x/s390-pci-bus.c    |  5 ++---

Looks like I wasn't on CC for the initial patches so I missed it (oops) but I did just verify the s390x changes now, LGTM. Thanks!

If needed, for s390 changes:
Acked-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.