b4a7cb99 | 28-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Set target speed according to floor speed change
When the floor speed updates, a request to increase the target speed should be made when the target is now below the floor speed.
Change-Id: Ib622bc
Set target speed according to floor speed change
When the floor speed updates, a request to increase the target speed should be made when the target is now below the floor speed.
Change-Id: Ib622bc717a952ef0c0703cbff40a4dc14b213416 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
1ee48f2b | 27-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Timer for fan speed increases
A oneshot timer is started on each target speed increase where the amount of time configured is how long the fans within the zone are allowed to reach the new target sp
Timer for fan speed increases
A oneshot timer is started on each target speed increase where the amount of time configured is how long the fans within the zone are allowed to reach the new target speed before additional speed increase requests will be processed. Any speed increase request deltas that are above the current speed increase delta being processed as the new target speed will cause the timer to stop and the difference between the deltas are added onto the target speed.
Change-Id: I064941c4e12c3e44be90880d6f32c6fbcf7ae32d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
1bf0ce4b | 23-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Move event init steps at startup to functions
Change-Id: I8a281935368cd705658d489c7c7af59b8dde7e4d Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
8600d9a0 | 23-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Timer to decrease fan speeds
Create a repeating timer for decreasing fan speeds where the fan speeds in the zone are decreased when the timer expires and a decrease speed request exists with no incr
Timer to decrease fan speeds
Create a repeating timer for decreasing fan speeds where the fan speeds in the zone are decreased when the timer expires and a decrease speed request exists with no increase request present or active.
Change-Id: I419592f6f50c0ed524f8bf3ebf183854ab5ef2ea Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
0ce99d8b | 22-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Support speed decrease events
A net decrease speed action determines the net decrease delta from each group member's property value and requests a speed decrease of that delta from the current targe
Support speed decrease events
A net decrease speed action determines the net decrease delta from each group member's property value and requests a speed decrease of that delta from the current target speed.
From all the requests for a speed decrease on a zone, only the lowest net decrease is used from all the groups subscribed to decrease a zone's speed. The new target speed is only decreased when no increase requests exist and the resulting target is above the zone's floor speed, otherwise the floor speed is set as the new target.
Resolves openbmc/openbmc#1626
Change-Id: Iaefa7b25c3f44691dd3ca4084bfddd3c1a504de9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
240397b9 | 22-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Process speed increase requests
Speed increases are made providing a target speed delta. The increase is made when the delta is higher than the current increase that may be occurring. When no increa
Process speed increase requests
Speed increases are made providing a target speed delta. The increase is made when the delta is higher than the current increase that may be occurring. When no increase is currently happening, the increase delta requested is accepted. All resulting target increases will not go above a defined ceiling speed.
Change-Id: Ia19c71a023cf5b897d5ba92974ff98451f34d5a3 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
24623523 | 21-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add zone net increase set speed action
The net increase speed action provides the ability to determine what the net delta the zone's fan speeds should be updated by from their current target speed.
Add zone net increase set speed action
The net increase speed action provides the ability to determine what the net delta the zone's fan speeds should be updated by from their current target speed.
Change-Id: Ib463e5ed4836bebf906cea27ea5788d826ec9c38 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
e0ca13eb | 13-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Enable setting/adjusting fan ceiling speed
Set the default ceiling to be what's given as full speed and adjust the ceiling speed based on an average of a given set of sensor values.
The ceiling is
Enable setting/adjusting fan ceiling speed
Set the default ceiling to be what's given as full speed and adjust the ceiling speed based on an average of a given set of sensor values.
The ceiling is chosen from a given map's key transition values. The map consists of key, value pairs where each key is the sensor value transition point and the value is the ceiling speed for when that transition occurs. The previous key value is needed to determine the direction in which to chose the appropriate ceiling speed allowing a buffer zone between ceiling changes if defined to.
Resolves openbmc/openbmc#1628
Change-Id: I7c9c553b5d0c3219c51b563aec7dd5d5f090916b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
618027ab | 26-Jun-2017 |
Dinesh Chinari <chinari@us.ibm.com> |
phosphor-fan-presence elog error exception.
Implemented elog exception for phosphor fan presence, replacing runtime_errors.
Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dines
phosphor-fan-presence elog error exception.
Implemented elog exception for phosphor fan presence, replacing runtime_errors.
Change-Id: I70465060838b2cbaeadccf84ed5924e222ac59e3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
show more ...
|
bb12c926 | 13-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Allow generation of map types in events
Resolves openbmc/openbmc#940
Change-Id: I238cd4a6ef69c1d54a775ad90ee87e6e327b82bd Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
4af419cd | 12-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Allow floor speed changes based on sensor values
Given a group of sensor values, the average of those sensor values will be used in selecting the floor speed for the zone. Each time the speed is set
Allow floor speed changes based on sensor values
Given a group of sensor values, the average of those sensor values will be used in selecting the floor speed for the zone. Each time the speed is set/updated, any speed requested lower than the current floor will be overwritten with the floor speed to not allow speeds below the floor.
Change-Id: I4c8e8a2cd66892b9fdc2bc5643e907adddff51f8 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
28c1a090 | 26-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Include zone conditions when generating fan defs
Change-Id: I1eb063a584e935d48bd5d314dea777a53417c83b Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
1de66629 | 12-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add default floor speed support
Change-Id: Id2d3b362e79e7a8c2330181f68ae11e43f84e2fd Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
9e741ed0 | 02-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Properties stored of different types
Allow properties stored for processing events to be of types other than bool
Change-Id: Ie1dde5aca562c9958bdff6fa3d1b19d3154b2c6d Signed-off-by: Matthew Barth <
Properties stored of different types
Allow properties stored for processing events to be of types other than bool
Change-Id: Ie1dde5aca562c9958bdff6fa3d1b19d3154b2c6d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
cec5ab76 | 02-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Add interface to uniquely identify properties
The interface is needed on the properties stored to uniquely identify each property used in events.
Change-Id: Ia062f25514d7ed04ef1023a02eecad4738711ff
Add interface to uniquely identify properties
The interface is needed on the properties stored to uniquely identify each property used in events.
Change-Id: Ia062f25514d7ed04ef1023a02eecad4738711ffb Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
b751f32d | 06-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Check for zone number and condition
Only add events to the zone if the conditions and zone number are correct. Resolves openbmc/openbmc#1500
Change-Id: Ia040fcbdd9093d25d4ed1773d5fea0ed8a95ba2b Sig
Check for zone number and condition
Only add events to the zone if the conditions and zone number are correct. Resolves openbmc/openbmc#1500
Change-Id: Ia040fcbdd9093d25d4ed1773d5fea0ed8a95ba2b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
63605cd3 | 05-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Example zone conditions yaml
An example yaml file for zone conditions to be used to create the correct fan zones.
Change-Id: I6ca339a3a9f37bc70424cde57f2229a5dcb70cbb Signed-off-by: Gunnar Mills <g
Example zone conditions yaml
An example yaml file for zone conditions to be used to create the correct fan zones.
Change-Id: I6ca339a3a9f37bc70424cde57f2229a5dcb70cbb Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
show more ...
|
620e4342 | 05-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Remove TBD on zone conditions in zones.yaml
Change-Id: I8eb215aaf90ef9553a52e8eaa54d3fd1a1a00ca5 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
f96b01e2 | 02-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Evaluate conditions to determine zone
Change-Id: Idb825b27ecf98503ddc2405a0cafc30c644efc71 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
67e95512 | 02-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
pep8 style changes
Fixed pep8 warnings in gen-fan-zone-defs.py
Change-Id: I78472a1e9ce1bd6eb14e0352398c6470fa144604 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
ee8a2816 | 02-Jun-2017 |
Gunnar Mills <gmills@us.ibm.com> |
Parse zone conditions
Zone conditions are used to determine which zone to use.
Change-Id: I11f0ffa4da12532aeedf88941fb8a2d7fca5d352 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
14631dc5 | 14-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add sdevent C++ wrappers
Lifted from phosphor-dbus-monitor.
Change-Id: I1d59e39c87d9019d66526398ba1048281dba5c9b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
f85dddcb | 02-Jun-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Update to use match methods for signal callbacks
Attach the tach change handler function to the match along with using the new match methods on the match string. Add 'argN' sensor value interface to
Update to use match methods for signal callbacks
Attach the tach change handler function to the match along with using the new match methods on the match string. Add 'argN' sensor value interface to reduce dbus traffic
Resolves openbmc/phosphor-fan-presence#5
Change-Id: I9c809e42a384ea751d2f3a51b14ad304ce61cd2c Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
a5763ff8 | 14-Jun-2017 |
Matt Spinler <spinler@us.ibm.com> |
fan-monitor: use sd_notify(READY=1)
After the fans have initialized their Functional inventory property, send systemd the READY notification. If the service which runs this application is of type =
fan-monitor: use sd_notify(READY=1)
After the fans have initialized their Functional inventory property, send systemd the READY notification. If the service which runs this application is of type = notify, then systemd will hold off starting any dependent services until this is sent.
In our case, we want phosphor-fan-control --control to not be started until this notification is done.
Change-Id: Iec87418ce308aa9ca81a47c20039ade7e8fe66c3 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
0b67b1d5 | 13-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Update gitignore
Add VIM swap files. Add testcase data and log files. Add testcase binary.
Change-Id: I0bc59b9d74c157556e95ce0cc41974c9c42335e0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.c
Update gitignore
Add VIM swap files. Add testcase data and log files. Add testcase binary.
Change-Id: I0bc59b9d74c157556e95ce0cc41974c9c42335e0 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|