f5f87cae | 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I0992e665c16f369772eb0cb5ac65553654fd464a Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
4c62fc77 | 14-Feb-2024 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Add fan_frus_with_nonfunc_rotors cause
Create a new power off rule to power off when a specific number of fan FRUs have nonfunctional rotors. With this rule failing rotors can be treated d
monitor: Add fan_frus_with_nonfunc_rotors cause
Create a new power off rule to power off when a specific number of fan FRUs have nonfunctional rotors. With this rule failing rotors can be treated differently when they are spread across fans FRUS than when they are within the same fan FRU.
For example, if both rotors of a 2 rotor fan fail the system can stay up, but if 2 rotors in separate fans fail then the system could be made to power off.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia1d13596a9e8a6e3a361e5b631699a3c80e36fb8
show more ...
|
ef17a25a | 07-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: adjust nlohmann-json dependency
- Simplify the dependency logic in the meson.build. - Align the meson dep name with consistent practices from other repos. - Use the non-versioned wrap file.
meson: adjust nlohmann-json dependency
- Simplify the dependency logic in the meson.build. - Align the meson dep name with consistent practices from other repos. - Use the non-versioned wrap file.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0e3052763bffe9f98d8ca10c5b523b58e000f636
show more ...
/openbmc/phosphor-fan-presence/.clang-format/openbmc/phosphor-fan-presence/control/actions.cpp/openbmc/phosphor-fan-presence/control/actions.hpp/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/functor.hpp/openbmc/phosphor-fan-presence/control/json/actions/default_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.cpp/openbmc/phosphor-fan-presence/control/json/actions/target_from_group_max.cpp/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.cpp/openbmc/phosphor-fan-presence/control/json/event.cpp/openbmc/phosphor-fan-presence/control/json/fan.cpp/openbmc/phosphor-fan-presence/control/json/manager.cpp/openbmc/phosphor-fan-presence/control/json/manager.hpp/openbmc/phosphor-fan-presence/control/json/triggers/init.cpp/openbmc/phosphor-fan-presence/control/json/triggers/signal.cpp/openbmc/phosphor-fan-presence/control/json/zone.cpp/openbmc/phosphor-fan-presence/control/manager.cpp/openbmc/phosphor-fan-presence/control/meson.build/openbmc/phosphor-fan-presence/control/preconditions.cpp/openbmc/phosphor-fan-presence/control/triggers.cpp/openbmc/phosphor-fan-presence/control/zone.cpp/openbmc/phosphor-fan-presence/control/zone.hpp/openbmc/phosphor-fan-presence/json_config.hpp/openbmc/phosphor-fan-presence/meson.build/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,bonnell/config.json/openbmc/phosphor-fan-presence/monitor/fan.cpp/openbmc/phosphor-fan-presence/monitor/json_parser.cpp/openbmc/phosphor-fan-presence/monitor/meson.build/openbmc/phosphor-fan-presence/monitor/system.cppmeson.build/openbmc/phosphor-fan-presence/monitor/trust_group.hpp/openbmc/phosphor-fan-presence/power_state.hpp/openbmc/phosphor-fan-presence/presence/error_reporter.cpp/openbmc/phosphor-fan-presence/presence/json_parser.cpp/openbmc/phosphor-fan-presence/presence/meson.build/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.cpp/openbmc/phosphor-fan-presence/subprojects/nlohmann_json.wrap/openbmc/phosphor-fan-presence/test/meson.build |
2e22b235 | 24-Aug-2023 |
Matt Spinler <spinler@us.ibm.com> |
Remove remaining fmt::format use
The only remaining use of the fmt::format library was for something std::format can't yet handle, printing ranges. This was only used twice, in the same file, so ju
Remove remaining fmt::format use
The only remaining use of the fmt::format library was for something std::format can't yet handle, printing ranges. This was only used twice, in the same file, so just manually build up the vectors in question into a string and use std::format. This was already being done in other places anyway.
Now the fmt::format subproject and dependencies can be completely removed.
An added benefit is that those two fmt::format calls were failing to build on my system when I was trying to build using subprojects, and without them everything works.
Tested: Can still see the traces, though I only have a 1 element vector to test with: Adding fan target lock of 11300 on fans [fan0] zone 0",
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I90055e9d1c8d0b79b151e1cfd0af2052005cef3c
show more ...
/openbmc/phosphor-fan-presence/.clang-format/openbmc/phosphor-fan-presence/OWNERS/openbmc/phosphor-fan-presence/README.md/openbmc/phosphor-fan-presence/control/actions.cpp/openbmc/phosphor-fan-presence/control/actions.hpp/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/fans.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,bonnell/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/example/fans.yaml/openbmc/phosphor-fan-presence/control/fan.cpp/openbmc/phosphor-fan-presence/control/fan.hpp/openbmc/phosphor-fan-presence/control/fanctl.cpp/openbmc/phosphor-fan-presence/control/functor.hpp/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py/openbmc/phosphor-fan-presence/control/json/actions/action.hpp/openbmc/phosphor-fan-presence/control/json/actions/count_state_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/default_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/get_managed_objects.cpp/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.hpp/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_decrease.cpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_increase.cpp/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.cpp/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.hpp/openbmc/phosphor-fan-presence/control/json/actions/request_target_base.cpp/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.cpp/openbmc/phosphor-fan-presence/control/json/actions/target_from_group_max.cpp/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.cpp/openbmc/phosphor-fan-presence/control/json/dbus_zone.cpp/openbmc/phosphor-fan-presence/control/json/dbus_zone.hpp/openbmc/phosphor-fan-presence/control/json/event.cpp/openbmc/phosphor-fan-presence/control/json/fan.cpp/openbmc/phosphor-fan-presence/control/json/fan.hpp/openbmc/phosphor-fan-presence/control/json/group.hpp/openbmc/phosphor-fan-presence/control/json/manager.cpp/openbmc/phosphor-fan-presence/control/json/manager.hpp/openbmc/phosphor-fan-presence/control/json/profile.cpp/openbmc/phosphor-fan-presence/control/json/profile.hpp/openbmc/phosphor-fan-presence/control/json/triggers/handlers.hpp/openbmc/phosphor-fan-presence/control/json/triggers/init.cpp/openbmc/phosphor-fan-presence/control/json/triggers/parameter.cpp/openbmc/phosphor-fan-presence/control/json/triggers/signal.cpp/openbmc/phosphor-fan-presence/control/json/triggers/timer.cpp/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.cpp/openbmc/phosphor-fan-presence/control/json/utils/modifier.cpp/openbmc/phosphor-fan-presence/control/json/utils/modifier.hpp/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.cpp/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.hpp/openbmc/phosphor-fan-presence/control/json/zone.cpp/openbmc/phosphor-fan-presence/control/json/zone.hpp/openbmc/phosphor-fan-presence/control/main.cpp/openbmc/phosphor-fan-presence/control/manager.cpp/openbmc/phosphor-fan-presence/control/meson.build/openbmc/phosphor-fan-presence/control/preconditions.cpp/openbmc/phosphor-fan-presence/control/templates/fan_zone_defs.mako.cpp/openbmc/phosphor-fan-presence/control/triggers.cpp/openbmc/phosphor-fan-presence/control/types.hpp/openbmc/phosphor-fan-presence/control/zone.cpp/openbmc/phosphor-fan-presence/control/zone.hpp/openbmc/phosphor-fan-presence/cooling-type/cooling_type.cpp/openbmc/phosphor-fan-presence/cooling-type/main.cpp/openbmc/phosphor-fan-presence/cooling-type/meson.build/openbmc/phosphor-fan-presence/docs/control/README.md/openbmc/phosphor-fan-presence/docs/control/debug.md/openbmc/phosphor-fan-presence/docs/control/events.md/openbmc/phosphor-fan-presence/docs/control/fanctl/README.md/openbmc/phosphor-fan-presence/docs/control/fans.md/openbmc/phosphor-fan-presence/docs/control/groups.md/openbmc/phosphor-fan-presence/docs/control/zones.md/openbmc/phosphor-fan-presence/docs/monitor/README.md/openbmc/phosphor-fan-presence/docs/monitor/class.md/openbmc/phosphor-fan-presence/docs/monitor/deviation.md/openbmc/phosphor-fan-presence/docs/monitor/fan_missing_error_delay.md/openbmc/phosphor-fan-presence/docs/monitor/group.md/openbmc/phosphor-fan-presence/docs/monitor/inventory.md/openbmc/phosphor-fan-presence/docs/monitor/method.md/openbmc/phosphor-fan-presence/docs/monitor/monitor_start_delay.md/openbmc/phosphor-fan-presence/docs/monitor/nonfunc_rotor_error_delay.md/openbmc/phosphor-fan-presence/docs/monitor/num_nonfunc_rotors_before_error.md/openbmc/phosphor-fan-presence/docs/monitor/num_sensors_nonfunc_for_fan_nonfunc.md/openbmc/phosphor-fan-presence/docs/monitor/power_off_config.md/openbmc/phosphor-fan-presence/docs/monitor/sensors.md/openbmc/phosphor-fan-presence/docs/monitor/set_func_on_present.md/openbmc/phosphor-fan-presence/docs/presence/README.md/openbmc/phosphor-fan-presence/docs/presence/eeprom.md/openbmc/phosphor-fan-presence/docs/presence/methods.md/openbmc/phosphor-fan-presence/docs/presence/name.md/openbmc/phosphor-fan-presence/docs/presence/path.md/openbmc/phosphor-fan-presence/docs/presence/rpolicy.md/openbmc/phosphor-fan-presence/docs/sensor-monitor/README.md/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp/openbmc/phosphor-fan-presence/evdevpp/test/evmon.cpp/openbmc/phosphor-fan-presence/hwmon_ffdc.cpp/openbmc/phosphor-fan-presence/json_config.hpp/openbmc/phosphor-fan-presence/logger.hpp/openbmc/phosphor-fan-presence/meson.build/openbmc/phosphor-fan-presence/meson.options/openbmc/phosphor-fan-presence/monitor/conditions.cpp/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,bonnell/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,everest/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-1s4u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-2u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-4u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/witherspoon/config.json/openbmc/phosphor-fan-presence/monitor/example/config.json/openbmc/phosphor-fan-presence/monitor/example/monitor.yaml/openbmc/phosphor-fan-presence/monitor/fan.cpp/openbmc/phosphor-fan-presence/monitor/fan.hpp/openbmc/phosphor-fan-presence/monitor/fan_error.cpp/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py/openbmc/phosphor-fan-presence/monitor/json_parser.cpp/openbmc/phosphor-fan-presence/monitor/main.cpp/openbmc/phosphor-fan-presence/monitor/meson.build/openbmc/phosphor-fan-presence/monitor/power_interface.cpp/openbmc/phosphor-fan-presence/monitor/power_off_action.hpp/openbmc/phosphor-fan-presence/monitor/power_off_cause.hpp/openbmc/phosphor-fan-presence/monitor/power_off_rule.hpp/openbmc/phosphor-fan-presence/monitor/system.cpp/openbmc/phosphor-fan-presence/monitor/system.hpp/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp/openbmc/phosphor-fan-presence/monitor/tach_sensor.hppmeson.build/openbmc/phosphor-fan-presence/monitor/trust_group.hpp/openbmc/phosphor-fan-presence/monitor/types.hpp/openbmc/phosphor-fan-presence/power_state.hpp/openbmc/phosphor-fan-presence/presence/anyof.cpp/openbmc/phosphor-fan-presence/presence/anyof.hpp/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,bonnell/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,everest/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-1s4u/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-2u/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-4u/config.json/openbmc/phosphor-fan-presence/presence/config_files/witherspoon/config.json/openbmc/phosphor-fan-presence/presence/eeprom_device.hpp/openbmc/phosphor-fan-presence/presence/error_reporter.cpp/openbmc/phosphor-fan-presence/presence/example/config.json/openbmc/phosphor-fan-presence/presence/example/example.yaml/openbmc/phosphor-fan-presence/presence/fallback.cpp/openbmc/phosphor-fan-presence/presence/fallback.hpp/openbmc/phosphor-fan-presence/presence/gpio.cpp/openbmc/phosphor-fan-presence/presence/gpio.hpp/openbmc/phosphor-fan-presence/presence/json_parser.cpp/openbmc/phosphor-fan-presence/presence/json_parser.hpp/openbmc/phosphor-fan-presence/presence/meson.build/openbmc/phosphor-fan-presence/presence/pfpgen.py/openbmc/phosphor-fan-presence/presence/psensor.hpp/openbmc/phosphor-fan-presence/presence/rpolicy.hpp/openbmc/phosphor-fan-presence/presence/tach.cpp/openbmc/phosphor-fan-presence/sdbusplus.hpp/openbmc/phosphor-fan-presence/sensor-monitor/alarm_timestamps.hpp/openbmc/phosphor-fan-presence/sensor-monitor/meson.build/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.cpp/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.cpp/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.hpp/openbmc/phosphor-fan-presence/subprojects/cereal.wrap/openbmc/phosphor-fan-presence/subprojects/evdev.wrap/openbmc/phosphor-fan-presence/test/meson.build/openbmc/phosphor-fan-presence/utility.hpp |
a787af09 | 20-Jun-2022 |
Mike Capps <mikepcapps@gmail.com> |
meson support: remove autoconf
This commit removes the deprecated autoconf makefiles, artifacts, and service files which have autoconf-style naming (*.in).
Signed-off-by: Mike Capps <mikepcapps@gma
meson support: remove autoconf
This commit removes the deprecated autoconf makefiles, artifacts, and service files which have autoconf-style naming (*.in).
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: I9c0e6162798c235f899aeb5cd9ecea1a0eee29a5
show more ...
|
a081956f | 13-Jun-2022 |
Mike Capps <mikepcapps@gmail.com> |
meson support: create meson.build files
This commit contains the meson.build files necessary to build the project and unit tests. The normal procedure is to run the command 'meson build' followed by
meson support: create meson.build files
This commit contains the meson.build files necessary to build the project and unit tests. The normal procedure is to run the command 'meson build' followed by ninja -C build. Additionally, service files are copied to remove autoconf-style naming convention (they cannot be removed before autoconf files are removed).
Signed-off-by: Mike Capps <mikepcapps@gmail.com> Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6cf8f5c1c923a198ad2fb4638843645479fd0498
show more ...
/openbmc/phosphor-fan-presence/.clang-format/openbmc/phosphor-fan-presence/.gitignore/openbmc/phosphor-fan-presence/Makefile.am/openbmc/phosphor-fan-presence/OWNERS/openbmc/phosphor-fan-presence/README.md/openbmc/phosphor-fan-presence/configure.ac/openbmc/phosphor-fan-presence/control/Makefile.am/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/fans.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/fans.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-1s4u/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/events.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/groups.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/pcie_cards.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-4u/zones.json/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier/fans.json/openbmc/phosphor-fan-presence/control/fan.cpp/openbmc/phosphor-fan-presence/control/fan.hpp/openbmc/phosphor-fan-presence/control/fanctl.cpp/openbmc/phosphor-fan-presence/control/functor.hpp/openbmc/phosphor-fan-presence/control/handlers.hpp/openbmc/phosphor-fan-presence/control/json/actions/action.hpp/openbmc/phosphor-fan-presence/control/json/actions/count_state_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/count_state_floor.hpp/openbmc/phosphor-fan-presence/control/json/actions/count_state_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/count_state_target.hpp/openbmc/phosphor-fan-presence/control/json/actions/default_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/default_floor.hpp/openbmc/phosphor-fan-presence/control/json/actions/get_managed_objects.cpp/openbmc/phosphor-fan-presence/control/json/actions/get_managed_objects.hpp/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.cpp/openbmc/phosphor-fan-presence/control/json/actions/mapped_floor.hpp/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/missing_owner_target.hpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_decrease.cpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_decrease.hpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_increase.cpp/openbmc/phosphor-fan-presence/control/json/actions/net_target_increase.hpp/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.cpp/openbmc/phosphor-fan-presence/control/json/actions/override_fan_target.hpp/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.cpp/openbmc/phosphor-fan-presence/control/json/actions/pcie_card_floors.hpp/openbmc/phosphor-fan-presence/control/json/actions/request_target_base.cpp/openbmc/phosphor-fan-presence/control/json/actions/request_target_base.hpp/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.cpp/openbmc/phosphor-fan-presence/control/json/actions/set_parameter_from_group_max.hpp/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.cpp/openbmc/phosphor-fan-presence/control/json/actions/timer_based_actions.hpp/openbmc/phosphor-fan-presence/control/json/config_base.hpp/openbmc/phosphor-fan-presence/control/json/dbus_zone.cpp/openbmc/phosphor-fan-presence/control/json/dbus_zone.hpp/openbmc/phosphor-fan-presence/control/json/event.cpp/openbmc/phosphor-fan-presence/control/json/event.hpp/openbmc/phosphor-fan-presence/control/json/fan.cpp/openbmc/phosphor-fan-presence/control/json/fan.hpp/openbmc/phosphor-fan-presence/control/json/group.cpp/openbmc/phosphor-fan-presence/control/json/group.hpp/openbmc/phosphor-fan-presence/control/json/manager.cpp/openbmc/phosphor-fan-presence/control/json/manager.hpp/openbmc/phosphor-fan-presence/control/json/profile.cpp/openbmc/phosphor-fan-presence/control/json/profile.hpp/openbmc/phosphor-fan-presence/control/json/triggers/handlers.hpp/openbmc/phosphor-fan-presence/control/json/triggers/init.cpp/openbmc/phosphor-fan-presence/control/json/triggers/init.hpp/openbmc/phosphor-fan-presence/control/json/triggers/parameter.cpp/openbmc/phosphor-fan-presence/control/json/triggers/parameter.hpp/openbmc/phosphor-fan-presence/control/json/triggers/signal.cpp/openbmc/phosphor-fan-presence/control/json/triggers/signal.hpp/openbmc/phosphor-fan-presence/control/json/triggers/timer.cpp/openbmc/phosphor-fan-presence/control/json/triggers/timer.hpp/openbmc/phosphor-fan-presence/control/json/triggers/trigger.hpp/openbmc/phosphor-fan-presence/control/json/triggers/trigger_aliases.hpp/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.cpp/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.hpp/openbmc/phosphor-fan-presence/control/json/utils/modifier.cpp/openbmc/phosphor-fan-presence/control/json/utils/modifier.hpp/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.cpp/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.hpp/openbmc/phosphor-fan-presence/control/json/zone.cpp/openbmc/phosphor-fan-presence/control/json/zone.hpp/openbmc/phosphor-fan-presence/control/main.cpp/openbmc/phosphor-fan-presence/control/manager.cpp/openbmc/phosphor-fan-presence/control/manager.hpp/openbmc/phosphor-fan-presence/control/meson.build/openbmc/phosphor-fan-presence/control/service_files/json/phosphor-fan-control@.service/openbmc/phosphor-fan-presence/control/service_files/json/phosphor-fan-control@.service.in/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control-init@.service/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control-init@.service.in/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control@.service/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control@.service.in/openbmc/phosphor-fan-presence/control/triggers.cpp/openbmc/phosphor-fan-presence/control/types.hpp/openbmc/phosphor-fan-presence/control/zone.cpp/openbmc/phosphor-fan-presence/control/zone.hpp/openbmc/phosphor-fan-presence/cooling-type/cooling_type.hpp/openbmc/phosphor-fan-presence/cooling-type/main.cpp/openbmc/phosphor-fan-presence/cooling-type/meson.build/openbmc/phosphor-fan-presence/docs/control/README.md/openbmc/phosphor-fan-presence/docs/control/debug.md/openbmc/phosphor-fan-presence/docs/control/events.md/openbmc/phosphor-fan-presence/docs/control/fanctl/README.md/openbmc/phosphor-fan-presence/docs/control/fans.md/openbmc/phosphor-fan-presence/docs/control/groups.md/openbmc/phosphor-fan-presence/docs/control/zones.md/openbmc/phosphor-fan-presence/docs/monitor/README.md/openbmc/phosphor-fan-presence/docs/monitor/class.md/openbmc/phosphor-fan-presence/docs/monitor/deviation.md/openbmc/phosphor-fan-presence/docs/monitor/fan_missing_error_delay.md/openbmc/phosphor-fan-presence/docs/monitor/group.md/openbmc/phosphor-fan-presence/docs/monitor/inventory.md/openbmc/phosphor-fan-presence/docs/monitor/method.md/openbmc/phosphor-fan-presence/docs/monitor/monitor_start_delay.md/openbmc/phosphor-fan-presence/docs/monitor/nonfunc_rotor_error_delay.md/openbmc/phosphor-fan-presence/docs/monitor/num_nonfunc_rotors_before_error.md/openbmc/phosphor-fan-presence/docs/monitor/num_sensors_nonfunc_for_fan_nonfunc.md/openbmc/phosphor-fan-presence/docs/monitor/power_off_config.md/openbmc/phosphor-fan-presence/docs/monitor/sensors.md/openbmc/phosphor-fan-presence/docs/monitor/set_func_on_present.md/openbmc/phosphor-fan-presence/docs/presence/README.md/openbmc/phosphor-fan-presence/docs/presence/methods.md/openbmc/phosphor-fan-presence/docs/presence/name.md/openbmc/phosphor-fan-presence/docs/presence/path.md/openbmc/phosphor-fan-presence/docs/presence/rpolicy.md/openbmc/phosphor-fan-presence/docs/sensor-monitor/README.md/openbmc/phosphor-fan-presence/hwmon_ffdc.cpp/openbmc/phosphor-fan-presence/hwmon_ffdc.hpp/openbmc/phosphor-fan-presence/json_config.hpp/openbmc/phosphor-fan-presence/meson.build/openbmc/phosphor-fan-presence/meson_options.txt/openbmc/phosphor-fan-presence/monitor/Makefile.am/openbmc/phosphor-fan-presence/monitor/conditions.cpp/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,everest/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-1s4u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-2u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/ibm,rainier-4u/config.json/openbmc/phosphor-fan-presence/monitor/config_files/witherspoon/config.json/openbmc/phosphor-fan-presence/monitor/example/config.json/openbmc/phosphor-fan-presence/monitor/fan.cpp/openbmc/phosphor-fan-presence/monitor/fan.hpp/openbmc/phosphor-fan-presence/monitor/fan_error.cpp/openbmc/phosphor-fan-presence/monitor/fan_error.hpp/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py/openbmc/phosphor-fan-presence/monitor/json_parser.cpp/openbmc/phosphor-fan-presence/monitor/json_parser.hpp/openbmc/phosphor-fan-presence/monitor/main.cpp/openbmc/phosphor-fan-presence/monitor/meson.build/openbmc/phosphor-fan-presence/monitor/power_interface.cpp/openbmc/phosphor-fan-presence/monitor/power_interface.hpp/openbmc/phosphor-fan-presence/monitor/power_off_action.hpp/openbmc/phosphor-fan-presence/monitor/power_off_rule.hpp/openbmc/phosphor-fan-presence/monitor/service_files/json/phosphor-fan-monitor@.service/openbmc/phosphor-fan-presence/monitor/service_files/json/phosphor-fan-monitor@.service.in/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor-init@.service/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor-init@.service.in/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor@.service/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor@.service.in/openbmc/phosphor-fan-presence/monitor/system.cpp/openbmc/phosphor-fan-presence/monitor/system.hpp/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp/openbmc/phosphor-fan-presence/monitor/tach_sensor.hppmeson.build/openbmc/phosphor-fan-presence/monitor/trust_group.hpp/openbmc/phosphor-fan-presence/monitor/trust_manager.hpp/openbmc/phosphor-fan-presence/monitor/types.hpp/openbmc/phosphor-fan-presence/power_state.hpp/openbmc/phosphor-fan-presence/presence/Makefile.am/openbmc/phosphor-fan-presence/presence/anyof.cpp/openbmc/phosphor-fan-presence/presence/anyof.hpp/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,everest/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-1s4u/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-2u/config.json/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/ibm,rainier-4u/config.json/openbmc/phosphor-fan-presence/presence/config_files/witherspoon/config.json/openbmc/phosphor-fan-presence/presence/error_reporter.cpp/openbmc/phosphor-fan-presence/presence/error_reporter.hpp/openbmc/phosphor-fan-presence/presence/example/config.json/openbmc/phosphor-fan-presence/presence/fallback.cpp/openbmc/phosphor-fan-presence/presence/fallback.hpp/openbmc/phosphor-fan-presence/presence/fan.cpp/openbmc/phosphor-fan-presence/presence/fan.hpp/openbmc/phosphor-fan-presence/presence/get_power_state.cpp/openbmc/phosphor-fan-presence/presence/get_power_state.hpp/openbmc/phosphor-fan-presence/presence/gpio.cpp/openbmc/phosphor-fan-presence/presence/gpio.hpp/openbmc/phosphor-fan-presence/presence/json_parser.cpp/openbmc/phosphor-fan-presence/presence/json_parser.hpp/openbmc/phosphor-fan-presence/presence/meson.build/openbmc/phosphor-fan-presence/presence/psensor.hpp/openbmc/phosphor-fan-presence/presence/service_files/json/phosphor-fan-presence-tach@.service/openbmc/phosphor-fan-presence/presence/service_files/json/phosphor-fan-presence-tach@.service.in/openbmc/phosphor-fan-presence/presence/service_files/yaml/phosphor-fan-presence-tach@.service/openbmc/phosphor-fan-presence/presence/service_files/yaml/phosphor-fan-presence-tach@.service.in/openbmc/phosphor-fan-presence/presence/tach.cpp/openbmc/phosphor-fan-presence/presence/tach.hpp/openbmc/phosphor-fan-presence/presence/tach_detect.cpp/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp/openbmc/phosphor-fan-presence/presence/test/meson.build/openbmc/phosphor-fan-presence/sdbusplus.hpp/openbmc/phosphor-fan-presence/sdeventplus.hpp/openbmc/phosphor-fan-presence/sensor-monitor/Makefile.am/openbmc/phosphor-fan-presence/sensor-monitor/alarm_timestamps.hpp/openbmc/phosphor-fan-presence/sensor-monitor/main.cpp/openbmc/phosphor-fan-presence/sensor-monitor/meson.build/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service.in/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.cpp/openbmc/phosphor-fan-presence/sensor-monitor/shutdown_alarm_monitor.hpp/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.cpp/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.hpp/openbmc/phosphor-fan-presence/sensor-monitor/types.hpp/openbmc/phosphor-fan-presence/subprojects/cli11.wrap/openbmc/phosphor-fan-presence/subprojects/evdev.wrap/openbmc/phosphor-fan-presence/subprojects/fmt.wrap/openbmc/phosphor-fan-presence/subprojects/nlohmann_json.wrap/openbmc/phosphor-fan-presence/subprojects/phosphor-dbus-interfaces.wrap/openbmc/phosphor-fan-presence/subprojects/phosphor-logging.wrap/openbmc/phosphor-fan-presence/subprojects/sdbusplus.wrap/openbmc/phosphor-fan-presence/subprojects/sdeventplus.wrap/openbmc/phosphor-fan-presence/test/meson.build/openbmc/phosphor-fan-presence/utility.hpp |
ba3ee9ae | 06-Jan-2021 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Fill in EpowPowerOff action
This action does the following:
1) Starts a service mode timer, which would allow the system to be serviced before anything happens. 2) On the expiration of
monitor: Fill in EpowPowerOff action
This action does the following:
1) Starts a service mode timer, which would allow the system to be serviced before anything happens. 2) On the expiration of that timer, it will: a) Set the thermal fault alert D-Bus property. This will be used to send an EPOW alert to the host on IBM systems. b) Start the meltdown timer. 3) On the expiration of the meltdown timer, a hard power off will occur. This timer cannot be canceled even if fans start behaving.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I9434699b816b23b68c6d9d1e97283b4ab9befe4f
show more ...
|
ac1efc11 | 27-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Re-log fan error on a power off
In the case where a power off rule runs to completion and powers off the system due to either missing or faulted fans, at the point of power off re-post the
monitor: Re-log fan error on a power off
In the case where a power off rule runs to completion and powers off the system due to either missing or faulted fans, at the point of power off re-post the event log for the previous fan error.
This way, there can be an error associated with the power off, because depending on the power off rule delays the original error could have happened several minutes or more in the past.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1a38062cf75ffd4a11baa417ef3983b6c1a47ada
show more ...
|
f06ab07c | 14-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Create PowerOffRules class
This class contains a PowerOffCause and a PowerOffAction. It provides a check() method that takes the FanHealth map which it then checks against the cause. If t
monitor: Create PowerOffRules class
This class contains a PowerOffCause and a PowerOffAction. It provides a check() method that takes the FanHealth map which it then checks against the cause. If the cause is satisfied, it then starts the power off action. It provides a cancel method that will force cancel a running action in the case that the object owner detects a system power off and so doesn't need to run this power off anymore.
The class's configuration data is read from the JSON config file.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I5c0c168591d6d62c894c4d036ec762797fd759af
show more ...
|
00237439 | 14-Oct-2020 |
Matt Spinler <spinler@us.ibm.com> |
monitor: Create PowerOffCause class hierarchy
The PowerOffCause base class and its derived classes will be used to determine when a power off needs to be done based on fan failures.
The 'satisified
monitor: Create PowerOffCause class hierarchy
The PowerOffCause base class and its derived classes will be used to determine when a power off needs to be done based on fan failures.
The 'satisified()' method, which takes the fan health map, is used to say if the cause is satisfied and a shut down will need to occur.
It provides two types of causes: * MissingFanFRUCause - Looks at missing fan FRUs * NonfuncFanRotorCause - Looks at nonfunctional rotors (sensors)
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I3c43347782dc559eb7c7441bf9c03d3407b248e2
show more ...
|