Try up to 15 times in case of timeouts

When the host OS is idle the CPUs can reach C6 state in which PECI is
unresponsive. It's often enough to try reading the same data more
times to catch a moment when some background daemon wakes the CPU up.

Tested on a Tioga Pass board with dual Xeon Scalable 1st gen CPUs
running Windows 10 pro 22H2 and Ubuntu 22.10 desktop.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Change-Id: I63805303dae774a8c60925c2cd3df856c4197a19
1 file changed
tree: 88a326d25b0084ee4d849fd85b46270c47f778f0
  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.