#
af97d8ef |
| 02-Jan-2024 |
Jonico Eustaquio <jonico.eustaquio@fii-na.com> |
Add UNC crossing option for FailSafe condition
Added a unc-failsafe meson option that if set to true, would then check if any temperature sensor PIDs exceed their upper non-critical threshold. If a
Add UNC crossing option for FailSafe condition
Added a unc-failsafe meson option that if set to true, would then check if any temperature sensor PIDs exceed their upper non-critical threshold. If a sensor is detected to have exceeded their UNC, then the zone associated with that PID would go to FailSafe.
By default, this option will be set to false for backwards compatibility.
Change-Id: I2fbc6000e8d37b34c51d3578becdaf18d449b0e8 Signed-off-by: Jonico Eustaquio <jonico.eustaquio@fii-na.com>
show more ...
|
#
8c051121 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Icbc50d46e84ee7ef756705e2b19741439a325074 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
b228bc30 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie36d234f4580029a7832a0cd179f3bb78a1a403f
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 ...
|
#
e7507a8b |
| 02-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
exception: switch to public sdbus exception SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type.
exception: switch to public sdbus exception SdBusError was intended to be a private error type inside sdbusplus. Switch all catch locations to use the general sdbusplus::exception type. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I16eeca31de290221c7a9184ee0c48cc923466832
show more ...
|
#
1df9e879 |
| 08-Oct-2020 |
Patrick Venture <venture@google.com> |
drop struct keyword for non-packed objects As a style decision, struct is often used with packed structures to indicate they are used like C-structs. Cleanup this codebase to not use
drop struct keyword for non-packed objects As a style decision, struct is often used with packed structures to indicate they are used like C-structs. Cleanup this codebase to not use the extra struct keyword throughout. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2f83bb1989e4d1f2f843ba3e45fb82e04f0fa61c
show more ...
|
#
9b93692d |
| 10-Aug-2020 |
Patrick Venture <venture@google.com> |
dbushelper: drop obsolete parameter from interface Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Idebae41e021f54c3670cc22aa6c784549a361c23
|
#
8729eb98 |
| 10-Aug-2020 |
Patrick Venture <venture@google.com> |
Make the dbushelper own its own bus handle. The dbushelper implements an interface that should not be sdbusplus specific. By making the implementation own the sdbusplus aspects, an a
Make the dbushelper own its own bus handle. The dbushelper implements an interface that should not be sdbusplus specific. By making the implementation own the sdbusplus aspects, an alternate implementation can be swapped in. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I4109772499421e2e6497a0fcad663ebbd1210a7c
show more ...
|
#
aadb30dd |
| 10-Aug-2020 |
Patrick Venture <venture@google.com> |
move dbus helper interface into its own file This is step 1 to improving the interface to be more generic and drop requirements on dbus. Signed-off-by: Patrick Venture <venture@
move dbus helper interface into its own file This is step 1 to improving the interface to be more generic and drop requirements on dbus. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I7835ea8242bfb7189cabc1a4084e5f84143d40f6
show more ...
|