Abort the scan on errors

If PECI becomes unavailable there is no reason to continue scanning as
we might miss information about the devices that are really present,
better to start it from the beginning when PECI communication is back to
normal.

Tested: powering off the host while the scan is ongoing makes it stop,
powering on the host later restarts the process from the beginning; same
about host restarts performed from the UEFI menu and OS.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Change-Id: Ib61e84d1bc271a77343d0e380293c852670ca572
1 file changed
tree: d7b42fdc15ddae7939c7a04128b90a34e44ca0e0
  1. include/
  2. service_files/
  3. src/
  4. utils/
  5. .clang-format
  6. CMakeLists.txt
  7. LICENSE
  8. OWNERS
  9. README.md
README.md

peci-pcie

The peci-pcie application uses the CPU PECI interface to get PCIe Device information for the system and shares it on D-Bus. The information from D-Bus is used by bmcweb to populate the PCIe Device resources in Redfish.