Searched hist:"370 f06b4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/openpower-occ-control/ |
H A D | occ_manager.cpp | 370f06b4 Wed Oct 25 04:26:07 CDT 2017 Deepak Kodihalli <dkodihal@in.ibm.com> Always watch for CPU inventory creation Previously the app would watch for CPU inventory being created (in order to create OCC objects) only if no CPU inventory existed when the app starts. This logic breaks when some of the CPUs exist out of the max possible, because we would never watch for those missing CPU objects being potentially created in the next boot. Instead, always watch for CPU inventory being created via the d-bus InterfacesAdded signal. This is safe in case a persisted CPU object existed in the inventory, because the signal would not fire on that object. Resolves openbmc/openbmc#2515. Change-Id: I0b7ae84d98cd05fe355d4ff56ebaa14da3a3098a Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|