diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2018-04-06 17:16:49 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-10 22:35:37 +0300 |
commit | 4d04c24d249c18cdbb3170c65ec36a11eb4302e8 (patch) | |
tree | f62e030d58e27851ce048cac7652d3d93589a798 | |
parent | 05a2b9fd73ad954da032608cfbb8a24ee4a3eb10 (diff) | |
download | openbmc-4d04c24d249c18cdbb3170c65ec36a11eb4302e8.tar.xz |
wspoon: Remove OCC sensors on EAGAINs
When an EAGAIN return code(11) is returned for any sensor from an OCC,
remove that sensor from dbus.
Functionally requires: https://gerrit.openbmc-project.xyz/#/c/9893/
Tested:
OCC sensors are removed from dbus when EAGAIN is returned
Change-Id: I2fee78ff7876b8750555454436dd7b53eb3a0e78
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf index 89896d209..92055f01e 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--06/sbefifo1-dev0/occ-hwmon.1.conf @@ -37,6 +37,8 @@ MODE_temp36 = "label" MODE_temp37 = "label" MODE_temp38 = "label" +REMOVERCS = "11" + LABEL_temp17 = "p0_core0_temp" WARNHI_temp17 = "78000" WARNLO_temp17 = "0" diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf index 338bd48e5..55b72fc2a 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/devices/platform/gpio-fsi/fsi0/slave@00--00/00--00--00--0a/fsi1/slave@01--00/01--01--00--06/sbefifo2-dev0/occ-hwmon.2.conf @@ -37,6 +37,8 @@ MODE_temp36 = "label" MODE_temp37 = "label" MODE_temp38 = "label" +REMOVERCS = "11" + LABEL_temp91 = "p1_core0_temp" WARNHI_temp91 = "78000" WARNLO_temp91 = "0" |