ipmi: Add sdr cache reset logs

Add some limited logs on when sensor cache gets reset every 30 seconds.

Tested:
ipmi still works after updating the library
```
$ systemctl restart phosphor-ipmi-host
$ ipmitool sdr
BRICK2_P12V_IOUT | 13.08 Amps        | ok
CPU0_P1V1_IOUT   | 7.75 Amps         | ok
CPU0_P1V8_IOUT   | 6.39 Amps         | ok
CPU0_P3V3_IOUT   | 0 Amps            | ok
```

Log Example with the timeout working.

Restart the psu sensors to reset the sdr cache.
```
$ journalctl -f | grep "Sensor Cache Tree"
May 29 13:12:35 gbmc ipmid[18845]: Sensor Cache Tree reset with /xyz/openbmc_project/sensors/current/BRICK2_P12V_IOUT/chassis
...
May 29 13:12:35 gbmc ipmid[18845]: Sensor Cache Tree reset with /xyz/openbmc_project/sensors/current/CPU0_VSOC_IOUT/inventory

May 29 13:13:14 gbmc ipmid[18845]: Sensor Cache Tree reset with /xyz/openbmc_project/sensors/current/BRICK2_P12V_IOUT/chassis
...
```

Fusion-Link: http://fusion2/66e1dc13-01b8-3808-8f90-5e2af7e19f43
Google-Bug-Id: 325269540
Change-Id: Id1cfecfab5e37412f6e72cc90ca2e7fca47f4816
Signed-off-by: Willy Tu <wltu@google.com>
(cherry picked from commit 4bb47cba39c2c4041c5e1cc90e589e715b37be9a)
2 files changed
tree: 9aadc1f65da01fe932fc1fd3e7fd2a2475432789
  1. conf/
  2. dynamic-layers/
  3. recipes-bsp/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. recipes-tpm1/
  12. LICENSE
  13. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.