History log of /openbmc/phosphor-fan-presence/monitor/trust_manager.hpp (Results 1 – 4 of 4)
Revision Date Author Comments
# fcb0dbcb 10-Feb-2021 Matthew Barth <msbarth@us.ibm.com>

monitor: Trust group cancel/start monitoring

Any fan monitoring trust groups configured should cancel the monitoring
of all fan sensors configured in the trust group for all monitoring

monitor: Trust group cancel/start monitoring

Any fan monitoring trust groups configured should cancel the monitoring
of all fan sensors configured in the trust group for all monitoring
methods(timer based or count based) when the group is determined not to
be trusted.

Also, the trust manager should restart monitoring all the sensors in the
group by processing each sensor against the configured monitoring
method. This matches how each sensor is processed on each tach changed
signal where only when a tach changed signal is received does the trust
state of the sensor get checked prior to processing the state of the
sensor.

Tested:
Verify fan sensors in trust group's functional state is correct

Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Change-Id: I7b2ffc538eb1f17017826235353dba85e4f92ebe

show more ...


# 177fe986 26-May-2020 Matthew Barth <msbarth@us.ibm.com>

monitor: Clang format updates

Used `format-code.sh` build script to make changes to conform to clang
format.

Tested: Compiled

Change-Id: Ieead1449cfd4b61333a135740dce03

monitor: Clang format updates

Used `format-code.sh` build script to make changes to conform to clang
format.

Tested: Compiled

Change-Id: Ieead1449cfd4b61333a135740dce03789218f92b
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


# 32affb98 16-Feb-2018 Matthew Barth <msbarth@us.ibm.com>

optimize: Tach sensors as shared pointers

The fan and trust group objects should utilize shared pointers to the
tach sensor objects. This allows optimizing the storage of additional

optimize: Tach sensors as shared pointers

The fan and trust group objects should utilize shared pointers to the
tach sensor objects. This allows optimizing the storage of additional
attributes associated with the tach sensors.
e.g. An attribute to declare which sensors should be included in the
trust determination.

Tested: Current trust group associations & reactions are unchanged

Change-Id: I249cc7debf467e8275fae7fa157ce97078b40802
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>

show more ...


# 136e23dd 28-Sep-2017 Matt Spinler <spinler@us.ibm.com>

monitor: Add trust manager class

This class contains the trust groups, and is the interface
for asking if a sensor value can be trusted or not.

It will also start and stop timer

monitor: Add trust manager class

This class contains the trust groups, and is the interface
for asking if a sensor value can be trusted or not.

It will also start and stop timers on all sensors in the same
group as the timer in question whose trust value just changed.

This class will be used by the Fan class in the speed change
callback function to check if a sensor is trusted before
analyzing its value.

Change-Id: I134be095b6b5222f7bc0e457078cf01f75a36219
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...