#
608b9391 |
| 05-Aug-2024 |
George Liu <liuxiwei@ieisystem.com> |
Fix MD040 warnings
The following warnings are generated by using markdownlint analysis: ``` MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] ``` Refer
Fix MD040 warnings
The following warnings are generated by using markdownlint analysis: ``` MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"] ``` Refer to markdown-lint [1] to fix MD040 [1]: https://github.com/updownpress/markdown-lint/blob/master/rules/040-fenced-code-language.md
Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: I3106563ab231739d23314fc11de30082e959b87e
show more ...
|
#
7e63502a |
| 13-Oct-2023 |
Patrick Rudolph <patrick.rudolph@9elements.com> |
pid/fancontroller: Set failsafe PWM in destructor
Introduce a new feature that's guarded by a new meson option 'offline-failsafe-pwm':
After the FanController object was destroyed it can no longer
pid/fancontroller: Set failsafe PWM in destructor
Introduce a new feature that's guarded by a new meson option 'offline-failsafe-pwm':
After the FanController object was destroyed it can no longer regulate the fans. To prevent system failure set all fans to the FailSafePercent defined in the configuration.
In addition to rebuilding configuration it also allows to keep the fans in FailSafe mode as long as the phosphor-pid-control.service is stopped or the system reboots. However this change doesn't cover the case of a program crash where the destructor won't be executed. Abnormal program termination must be handled by systemd and it out of scope of this change.
Tested: 'systemctl stop phosphor-pid-control.service' and see the fans ramp up to FailSafePercent.
Change-Id: I81262b07fd4c1212efc1a4ba4635bde8bc7b5215 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
show more ...
|
#
217a827d |
| 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: I834909dc663e8762217517eab4a4294174d3bcf2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
bcdeb83c |
| 15-Aug-2022 |
Brandon Kim <brandonkim@google.com> |
Add --strict-failsafe-pwm compile flag
This build flag is used to set the fans strictly at the failsafe percent when in failsafe mode, even when the calculated PWM is higher than failsafe PWM. Witho
Add --strict-failsafe-pwm compile flag
This build flag is used to set the fans strictly at the failsafe percent when in failsafe mode, even when the calculated PWM is higher than failsafe PWM. Without this enabled, the PWM is calculated and set to the calculated PWM the failsafe PWM, whichever is higher.
Added a unit test that can test this new build flag code path if the compile flag is defined.
Tested:
Verified on an internal machine that by adding the following to the bbappend:
EXTRA_OECONF:append = " --enable-strict-failsafe-pwm=yes"
With flag: ipmitool sensor list fan_pwm | 89.768
Without flag: ipmitool sensor list fan_pwm | 99.960
We can see that the fan pwm was limited to the failsafe percentage when in failsafe mode with the flag. Without the flag, it ran at 100%
Bug-Id: openbmc/phosphor-pid-control#17 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I72a1e5aab8d3e5b0e3716f0b3720d704a6f05008
show more ...
|
#
8f73ad76 |
| 06-Oct-2021 |
Alex.Song <zheng.song@intel.com> |
Make specific UNA sensors not trigger failsafe
By convention, sensors at some states like 'not present', 'power state not matching' are marked as 'unavailable' on dbus. At such states, some specific
Make specific UNA sensors not trigger failsafe
By convention, sensors at some states like 'not present', 'power state not matching' are marked as 'unavailable' on dbus. At such states, some specific sensors should not be considered as failed and trigger pid 'failsafe'.
A typical example is when a system is powered-off, its CPU/DIMM temp sensors are 'unavailable', these sensors should not be treated as 'failed' and trigger pid 'failsafe'. This is necessary for systems whose Fans will keep working when the CPU is off.
This feature is configurable per sensor (valid on thermal sensors). It can be enabled by setting the Pid controller option "InputUnavailableAsFailed" to 'false' when one configuring the PID module via entity-manager, or by setting the sensor option "unavailableAsFailed" to 'false' when one configuring the PID module via JSON. (These options are optional and default to 'true')
Tested: 1. On a Fan 'always-on' system, enabale this feature on CPU temp sensors, poweroff the system, 'unavailable' CPU temp sensors do not trigger the failsafe mode. 2. 'Unavailable' Fans still trigger the failsafe mode. 3. 'Unfunctional' or 'failed' sensors still trigger the failsafe mode.
Signed-off-by: Zheng Song <zheng.song@intel.com> Change-Id: I1dd1d76466f43e7dcf51c161c96714f1bcfae88d
show more ...
|
#
903a9687 |
| 05-Aug-2021 |
Paul Fertser <fercerpav@gmail.com> |
configure.md: add stepwise documentation
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I4059037e5ad8095c2d547961c32d62476fd405a7
|
#
f7575a70 |
| 15-Apr-2021 |
Paul Fertser <fercerpav@gmail.com> |
configure.md: updates and clarifications
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I9fcaa5d7c563c59a9efcf41500db231010a32557
|
#
6b9f5999 |
| 10-Sep-2019 |
Patrick Venture <venture@google.com> |
conf: add ignoreDbusMinMax option
Add an optional field to the sensor configuration, s.t. it'll tell a dbus passive sensor to ignore the MinValue and MaxValue properties from dbus.
Signed-off-by: P
conf: add ignoreDbusMinMax option
Add an optional field to the sensor configuration, s.t. it'll tell a dbus passive sensor to ignore the MinValue and MaxValue properties from dbus.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia6a8c802c2dc5bf41e5e860b21d7764cc09e6b6b
show more ...
|
#
081b035f |
| 15-Jul-2019 |
Patrick Venture <venture@google.com> |
bugfix: writePath is the dbus object path for the sensor
For the sensor, if writePath is used for dbus active, it is always FanPwm (presently) and needs to be the object path.
Tested: Not tested, o
bugfix: writePath is the dbus object path for the sensor
For the sensor, if writePath is used for dbus active, it is always FanPwm (presently) and needs to be the object path.
Tested: Not tested, only code inspected.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4eafaff4316aac9dab9a2c9e1bd61093a670b023
show more ...
|
#
e7f4a5d5 |
| 26-Jun-2019 |
Patrick Venture <venture@google.com> |
README: configure: fixup markdown
The tool used to write this implemented features not available in the makrdown used by github. Therefore, this removes those features.
Signed-off-by: Patrick Vent
README: configure: fixup markdown
The tool used to write this implemented features not available in the makrdown used by github. Therefore, this removes those features.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3a3eed1c8f298fe88f0ddbcb43aa897ec4d6f623
show more ...
|
#
10f42efd |
| 19-Jun-2019 |
Patrick Venture <venture@google.com> |
README: add timeout field to configure details
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I1d58fc0408d4c1bf29927dfe36155139e87ba242
|
#
ea0e6cbf |
| 18-Jun-2019 |
Patrick Venture <venture@google.com> |
README: configure: add PID notes
Add some initial PID notes. Added some TODO line items for things that need further documentation.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I
README: configure: add PID notes
Add some initial PID notes. Added some TODO line items for things that need further documentation.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: If9d219a6410d4f36af04e0d69d4a865dbdd19492
show more ...
|
#
1dad21b9 |
| 14-Jun-2019 |
Patrick Venture <venture@google.com> |
README: start adding configuration details
Add details for configuring the sensor. Not yet the zones.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I073a4dde4fd6c785ffaea2daed03eb
README: start adding configuration details
Add details for configuring the sensor. Not yet the zones.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I073a4dde4fd6c785ffaea2daed03ebbe83d0d1d2
show more ...
|