History log of /openbmc/phosphor-fan-presence/cooling-type/ (Results 1 – 25 of 26)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
dfddd64816-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: Ica590f8613f1fb89ab1ca676ac51c1cc7e38d67f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/phosphor-fan-presence/.clang-format
/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/com.ibm.Hardware.Chassis.Model.Bonnell/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/zones.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/groups.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/pcie_cards.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/zones.json
/openbmc/phosphor-fan-presence/control/fanctl.cpp
/openbmc/phosphor-fan-presence/control/functor.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/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/missing_owner_target.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/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/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/profile.cpp
/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/signal.cpp
/openbmc/phosphor-fan-presence/control/json/utils/flight_recorder.cpp
/openbmc/phosphor-fan-presence/control/json/utils/pcie_card_metadata.cpp
/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/triggers.cpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
cooling_type.cpp
main.cpp
/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/hwmon_ffdc.cpp
/openbmc/phosphor-fan-presence/json_config.hpp
/openbmc/phosphor-fan-presence/meson.build
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/config.json
/openbmc/phosphor-fan-presence/monitor/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/config.json
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan_error.cpp
/openbmc/phosphor-fan-presence/monitor/fan_error.hpp
/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_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/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/test/meson.build
/openbmc/phosphor-fan-presence/monitor/test/power_off_cause_test.cpp
/openbmc/phosphor-fan-presence/monitor/trust_group.hpp
/openbmc/phosphor-fan-presence/power_state.hpp
/openbmc/phosphor-fan-presence/presence/anyof.cpp
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/config.json
/openbmc/phosphor-fan-presence/presence/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/config.json
/openbmc/phosphor-fan-presence/presence/eeprom_device.hpp
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/error_reporter.hpp
/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/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/openbmc/phosphor-fan-presence/presence/meson.build
/openbmc/phosphor-fan-presence/presence/rpolicy.hpp
/openbmc/phosphor-fan-presence/presence/tach.hpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/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/nlohmann_json.wrap
/openbmc/phosphor-fan-presence/test/meson.build
fbf4703f17-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

use std::format instead of fmt::format

The std::format is sufficient for the uses in this repository except
for in one file (override_fan_target.cpp, since P2286 isn't supported
by GCC yet). Switch

use std::format instead of fmt::format

The std::format is sufficient for the uses in this repository except
for in one file (override_fan_target.cpp, since P2286 isn't supported
by GCC yet). Switch to std::format whenever possible.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib2576fb530a4d7ce238e1b0bd95b40b476ec2107

show more ...


/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/mapped_floor.cpp
/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/pcie_card_floors.cpp
/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/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/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/pcie_card_metadata.cpp
/openbmc/phosphor-fan-presence/control/json/zone.cpp
/openbmc/phosphor-fan-presence/control/main.cpp
/openbmc/phosphor-fan-presence/control/meson.build
cooling_type.cpp
main.cpp
/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.options
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan_error.cpp
/openbmc/phosphor-fan-presence/monitor/json_parser.cpp
/openbmc/phosphor-fan-presence/monitor/power_interface.cpp
/openbmc/phosphor-fan-presence/monitor/power_off_action.hpp
/openbmc/phosphor-fan-presence/monitor/power_off_rule.hpp
/openbmc/phosphor-fan-presence/monitor/system.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/power_state.hpp
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/gpio.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/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/shutdown_alarm_monitor.cpp
/openbmc/phosphor-fan-presence/sensor-monitor/threshold_alarm_logger.cpp
/openbmc/phosphor-fan-presence/utility.hpp
acc66d0215-Aug-2023 George Liu <liuxiwei@inspur.com>

cooling-type: Replace Argument class with CLI11

Phosphor-fan already depends on cli11, delete Argument class and use
cli11 instead.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I327a5

cooling-type: Replace Argument class with CLI11

Phosphor-fan already depends on cli11, delete Argument class and use
cli11 instead.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I327a522ecf232c00661088f2c527e626c24610bc

show more ...

61b7329610-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: I152f141a5e8343b92b5ce81d3ca16eec77b5606b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

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/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_increase.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/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/signal.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/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
cooling_type.cpp
/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/json_config.hpp
/openbmc/phosphor-fan-presence/meson.build
/openbmc/phosphor-fan-presence/meson_options.txt
/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/power_off_cause.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.hpp
/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.hpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/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/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sensor-monitor/alarm_timestamps.hpp
/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/utility.hpp
a787af0920-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 ...

a081956f13-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/.gitignore
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/events.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,rainier-2u/events.json
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/main.cpp
/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/yaml/phosphor-fan-control-init@.service
/openbmc/phosphor-fan-presence/control/service_files/yaml/phosphor-fan-control@.service
meson.build
/openbmc/phosphor-fan-presence/meson.build
/openbmc/phosphor-fan-presence/meson_options.txt
/openbmc/phosphor-fan-presence/monitor/meson.build
/openbmc/phosphor-fan-presence/monitor/service_files/json/phosphor-fan-monitor@.service
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor-init@.service
/openbmc/phosphor-fan-presence/monitor/service_files/yaml/phosphor-fan-monitor@.service
/openbmc/phosphor-fan-presence/monitor/system.cpp
/openbmc/phosphor-fan-presence/monitor/test/meson.build
/openbmc/phosphor-fan-presence/presence/meson.build
/openbmc/phosphor-fan-presence/presence/service_files/json/phosphor-fan-presence-tach@.service
/openbmc/phosphor-fan-presence/presence/service_files/yaml/phosphor-fan-presence-tach@.service
/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp
/openbmc/phosphor-fan-presence/presence/test/meson.build
/openbmc/phosphor-fan-presence/sensor-monitor/meson.build
/openbmc/phosphor-fan-presence/sensor-monitor/service_files/sensor-monitor.service
/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
cb356d4822-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: I9029cc722e7712633c15436bd3868d8c3209f567

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/MAINTAINERS
/openbmc/phosphor-fan-presence/OWNERS
/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/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/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/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/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/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/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.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/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/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/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/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/triggers.cpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
cooling_type.hpp
/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/json_config.hpp
/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/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/power_interface.cpp
/openbmc/phosphor-fan-presence/monitor/power_off_action.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.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/power_state.hpp
/openbmc/phosphor-fan-presence/presence/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/error_reporter.hpp
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fallback.hpp
/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/tach.cpp
/openbmc/phosphor-fan-presence/presence/tach.hpp
/openbmc/phosphor-fan-presence/sdbusplus.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/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/utility.hpp
ddb773b206-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id1b5054d3147c39d98309bc11ed7016d6909e2a6


/openbmc/phosphor-fan-presence/.clang-format
/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/MAINTAINERS
/openbmc/phosphor-fan-presence/Makefile.am
/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/fans.json
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/ibm,everest/zones.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/zones.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/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/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_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/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/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/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/modifier.cpp
/openbmc/phosphor-fan-presence/control/json/utils/modifier.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/service_files/json/phosphor-fan-control@.service.in
/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.in
/openbmc/phosphor-fan-presence/control/zone.cpp
main.cpp
/openbmc/phosphor-fan-presence/docs/control/README.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/monitor/Makefile.am
/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/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/main.cpp
/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.in
/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.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.hpp
/openbmc/phosphor-fan-presence/monitor/test/mock_power_interface.hpp
/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/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/psensor.hpp
/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.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/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/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/utility.hpp
ae22619415-Oct-2020 Jay Meyer <jaymeyer@us.ibm.com>

Enhance fan tracing support - add device access info

Move file names for file errors to the journal message. Enhance
usablility.

Logging messages for file errors contain the file names and other
in

Enhance fan tracing support - add device access info

Move file names for file errors to the journal message. Enhance
usablility.

Logging messages for file errors contain the file names and other
information inside structured entries rather than directly in the log
message. This makes viewing errors more difficult than need be. Before
this change, the journal report needed to be run with '-o verbose' to
see the file names.

Tested:
- For cooling-type/cooling_type.cpp
Approx line 39:
A dry-dock test of this message was performed by commenting out the
return for the successful case just above and adding a successful
return just below the journal message.
Then the next test can output this log message:
Failed to get libevdev from file descriptor 4, return code 0

Approx line 71:
Do this to get error below:
"phosphor-cooling-type --air
--dev=/dev/input/by-path/platform-gpio-keys-polled-event
--path=/system/chassis/motherboard/ --event=21"
Message:
"Device does not support event type keycode 21"

- For cooling-type/main.cpp
Approx line 73:
Do this to provoke error below:
"phosphor-cooling-type --air
--dev=/dev/input/by-path/platform-gpio-keys-polled-event
--path=/system/chassis/motherboard/ --event=6"
Message:
"Uncaught DBus method failure exception Busname:
xyz.openbmc_project.Inventory.Manager Path:
/xyz/openbmc_project/inventory Interface
xyz.openbmc_project.Inventory.Manager Method: Notify"

- For presence/fallback.cpp
Approx line 56:
Run fan presence application using a 'fallback' rpolicy
for a fan and set that fan's gpio presence line to false within
simulation.

Journal Message:
Using backup presence sensor for fan /system/chassis/motherboard/fan0

For presence/fallback.cpp
Approx line 82:
Set a fan's gpio presence line to false within simulation and then run
the fan presence application using a 'fallback' rpolicy for that fan.

Journal Message:
Using backup presence sensor for fan /system/chassis/motherboard/fan0

- For presence/tach.cpp
Approx line 76:
Remove a fan sensor from the fan controller hwmon config that is
configured within the fan presence application. Then unbind and
rebind the fan controller device driver and start the fan presence
application.

Journal Message:
Unable to read fan tach sensor /xyz/openbmc_project/sensors/fan_tach/fan3_0

- For utility.hpp:
Approx line 65:
Do this to get error below:
"phosphor-cooling-type --air
--dev=/dev/input/by-path/platform-gpio-keys-polled-
--path=/system/chassis/motherboard/ --event=21"
Message:
"Failed to open file device path
/dev/input/by-path/platform-gpio-keys-polled-"

Signed-off-by: Jay Meyer <jaymeyer@us.ibm.com>
Change-Id: I592481d92b18b85e5ea5b7040389467530b581e1

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/bootstrap.sh
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/json/Makefile.am
/openbmc/phosphor-fan-presence/control/json/config_base.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/zone.cpp
/openbmc/phosphor-fan-presence/control/json/zone.hpp
/openbmc/phosphor-fan-presence/control/json_parser.cpp
/openbmc/phosphor-fan-presence/control/json_parser.hpp
/openbmc/phosphor-fan-presence/control/manager.cpp
/openbmc/phosphor-fan-presence/control/manager.hpp
Makefile.am
cooling_type.cpp
main.cpp
/openbmc/phosphor-fan-presence/json_config.hpp
/openbmc/phosphor-fan-presence/logger.hpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/README.md
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.hpp
/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.md
/openbmc/phosphor-fan-presence/monitor/json_parser.cpp
/openbmc/phosphor-fan-presence/monitor/json_parser.hpp
/openbmc/phosphor-fan-presence/monitor/logging.cpp
/openbmc/phosphor-fan-presence/monitor/logging.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/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_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.hpp
/openbmc/phosphor-fan-presence/monitor/test/Makefile.am
/openbmc/phosphor-fan-presence/monitor/test/mock_power_interface.hpp
/openbmc/phosphor-fan-presence/monitor/test/power_off_cause_test.cpp
/openbmc/phosphor-fan-presence/monitor/test/power_off_rule_test.cpp
/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/error_reporter.cpp
/openbmc/phosphor-fan-presence/presence/error_reporter.hpp
/openbmc/phosphor-fan-presence/presence/example/example.json
/openbmc/phosphor-fan-presence/presence/fallback.cpp
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/fan.hpp
/openbmc/phosphor-fan-presence/presence/json_parser.cpp
/openbmc/phosphor-fan-presence/presence/json_parser.hpp
/openbmc/phosphor-fan-presence/presence/logging.cpp
/openbmc/phosphor-fan-presence/presence/logging.hpp
/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/templates/generated.mako.hpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/test/Makefile.am
/openbmc/phosphor-fan-presence/test/logger_test.cpp
/openbmc/phosphor-fan-presence/utility.hpp
9f93bd3528-May-2020 Matthew Barth <msbarth@us.ibm.com>

Fix some gcc warnings and style suggestions

Building against gcc-10 produced warnings and style suggestions.
Fixed all the warnings, but only select style suggestions due to
readability and others a

Fix some gcc warnings and style suggestions

Building against gcc-10 produced warnings and style suggestions.
Fixed all the warnings, but only select style suggestions due to
readability and others appeared to be compiler confusion.

Tested: Compiled
No functional impacts appear to have been made with these changes

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

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/argument.cpp
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/fan.hpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/handlers.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/matches.hpp
/openbmc/phosphor-fan-presence/control/preconditions.cpp
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/triggers.cpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/utility.cpp
/openbmc/phosphor-fan-presence/control/utility.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
cooling_type.cpp
cooling_type.hpp
/openbmc/phosphor-fan-presence/monitor/argument.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/fan.hpp
/openbmc/phosphor-fan-presence/monitor/fan_defs.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/nonzero_speed_trust.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/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/presence/anyof.cpp
/openbmc/phosphor-fan-presence/presence/anyof.hpp
/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/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/json_config.cpp
/openbmc/phosphor-fan-presence/presence/json_config.hpp
/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/presence/tach.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/utility.hpp
0258ed7926-May-2020 Matthew Barth <msbarth@us.ibm.com>

cooling-type: Clang format updates

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

Tested: Compiled

Change-Id: I2294141845790cbb79e599741802bfede574a0b9
Signed-off-b

cooling-type: Clang format updates

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

Tested: Compiled

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

show more ...

c21d0b3613-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: replace message::variant with std::variant

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7b2bc0a8b34e4d276c0e8ea2243459aab4e1c177

52fd4e1412-Feb-2020 Patrick Williams <patrick@stwcx.xyz>

cooling_type: remove unnecssary static_cast

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5d50d5bc503966910de3c33ed76edc11e3b6e248


/openbmc/phosphor-fan-presence/MAINTAINERS
/openbmc/phosphor-fan-presence/README.md
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.cpp
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.hpp
/openbmc/phosphor-fan-presence/control/preconditions.cpp
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/templates/defs.mako
/openbmc/phosphor-fan-presence/control/templates/fan_zone_defs.mako.cpp
/openbmc/phosphor-fan-presence/control/triggers.cpp
/openbmc/phosphor-fan-presence/control/triggers.hpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/utility.cpp
/openbmc/phosphor-fan-presence/control/utility.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
cooling_type.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/openbmc/phosphor-fan-presence/monitor/types.hpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
/openbmc/phosphor-fan-presence/presence/example/example.json
/openbmc/phosphor-fan-presence/presence/example/example.yaml
/openbmc/phosphor-fan-presence/presence/fan.cpp
/openbmc/phosphor-fan-presence/presence/json_config.cpp
/openbmc/phosphor-fan-presence/presence/json_config.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
71779ab428-Mar-2019 Patrick Venture <venture@google.com>

build: install into bin instead of sbin

Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I452171c4661228d903fe0570342be630cb0dbbd9

dea024f029-Oct-2018 William A. Kennington III <wak@google.com>

libfan: Remove

Since the removal of the custom timer implementation our libfan has
nothing but a single header file. Since we have no object code left we
do not need a library to contain this code s

libfan: Remove

Since the removal of the custom timer implementation our libfan has
nothing but a single header file. Since we have no object code left we
do not need a library to contain this code since the header is directly
included where needed.

Tested:
Built and run through unit tests.

Change-Id: I139b83ab979ead88cfd4c180ba8847a29c6407e2
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

3e78106419-Oct-2018 William A. Kennington III <wak@google.com>

Fix exit status codes

Using an exit status of -1 everywhere leads to the status being
converted to 255 when output to a calling application. While this does
signify an error it has a reserved meanin

Fix exit status codes

Using an exit status of -1 everywhere leads to the status being
converted to 255 when output to a calling application. While this does
signify an error it has a reserved meaning for exit status out of range.
Lets use a valid general exit status of 1 instead.

Change-Id: I326701c78985e34c430c258fe31d9e910da10405
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

ecd4bc7b27-Aug-2018 Andrew Geissler <geissonator@yahoo.com>

Add -flto to CXXFLAGS

Per openbmc/openbmc#3364, adding -flto to CXX flags
in order to reduce overall library and binary sizes.

Ref: https://gcc.gnu.org/wiki/LinkTimeOptimization

Change-Id: I3ee31a

Add -flto to CXXFLAGS

Per openbmc/openbmc#3364, adding -flto to CXX flags
in order to reduce overall library and binary sizes.

Ref: https://gcc.gnu.org/wiki/LinkTimeOptimization

Change-Id: I3ee31a15fc0ded4308aa9d00a11b41bc62eb9799
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...

17792cda10-May-2018 Matthew Barth <msbarth@us.ibm.com>

cooling-type: Use lookupAndCallMethod

Have phosphor-cooling-type fail with a DBusMethodError exception when a
failure occurs on updating inventory.

Resolves: openbmc/openbmc#2628

Tested:
Cooli

cooling-type: Use lookupAndCallMethod

Have phosphor-cooling-type fail with a DBusMethodError exception when a
failure occurs on updating inventory.

Resolves: openbmc/openbmc#2628

Tested:
Cooling type properties still set correctly

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

show more ...


/openbmc/phosphor-fan-presence/control/actions.cpp
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/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/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.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/matches.hpp
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/templates/defs.mako
/openbmc/phosphor-fan-presence/control/templates/fan_zone_defs.mako.cpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
cooling_type.cpp
cooling_type.hpp
main.cpp
/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/conditions.cpp
/openbmc/phosphor-fan-presence/monitor/conditions.hpp
/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/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/nonzero_speed_trust.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/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/presence/tach.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sdevent/event.hpp
/openbmc/phosphor-fan-presence/sdevent/io.hpp
/openbmc/phosphor-fan-presence/sdevent/source.hpp
/openbmc/phosphor-fan-presence/utility.cpp
/openbmc/phosphor-fan-presence/utility.hpp
9a7688a425-Oct-2017 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: Iefb2a

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: Iefb2ad70d313a4800cd413c7c2e5e2154bec49fb
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/Makefile.am
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.cpp
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/preconditions.hpp
/openbmc/phosphor-fan-presence/control/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
argument.cpp
/openbmc/phosphor-fan-presence/evdevpp/evdev.hpp
/openbmc/phosphor-fan-presence/evdevpp/test/.gitignore
/openbmc/phosphor-fan-presence/evdevpp/test/Makefile.am
/openbmc/phosphor-fan-presence/evdevpp/test/evmon.cpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/argument.cpp
/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_defs.hpp
/openbmc/phosphor-fan-presence/monitor/gen-fan-monitor-defs.py
/openbmc/phosphor-fan-presence/monitor/groups.hpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/nonzero_speed_trust.hpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.hpp
/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/presence/.gitignore
/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/example/example.yaml
/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/gpio.cpp
/openbmc/phosphor-fan-presence/presence/gpio.hpp
/openbmc/phosphor-fan-presence/presence/pfpgen.py
/openbmc/phosphor-fan-presence/presence/psensor.cpp
/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/presence/tach.hpp
/openbmc/phosphor-fan-presence/presence/tach_detect.cpp
/openbmc/phosphor-fan-presence/presence/templates/anyof.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/fallback.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/generated.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/gpio.mako.hpp
/openbmc/phosphor-fan-presence/presence/templates/tach.mako.hpp
/openbmc/phosphor-fan-presence/presence/test/Makefile.am
/openbmc/phosphor-fan-presence/presence/test/fallbacktest.cpp
/openbmc/phosphor-fan-presence/sdbusplus.hpp
/openbmc/phosphor-fan-presence/sdevent.hpp
/openbmc/phosphor-fan-presence/sdevent/event.hpp
/openbmc/phosphor-fan-presence/sdevent/io.hpp
/openbmc/phosphor-fan-presence/sdevent/source.hpp
/openbmc/phosphor-fan-presence/sdevent/test/.gitignore
/openbmc/phosphor-fan-presence/sdevent/test/Makefile.am
/openbmc/phosphor-fan-presence/sdevent/test/iotest.cpp
4253fcaa27-Jul-2017 Brandon Wyman <bjwyman@gmail.com>

Switch which GPIO value sets air or water cooled

During the coding and testing of this application there was some
miscommunication on the jumper position for a Witherspoon system. The
system was jum

Switch which GPIO value sets air or water cooled

During the coding and testing of this application there was some
miscommunication on the jumper position for a Witherspoon system. The
system was jumpered for Air when intended to be jumpered for the Water
cooled position. Further examination of the documentation and the jumper
settings on systems found that the logic was reversed. This change
should correct the problem and report the correct cooling properties.

Resolves openbmc/openbmc#2041

Change-Id: I7e25bd72342fde40df1fec8f6a1a444eac401f09
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

618027ab26-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 ...


/openbmc/phosphor-fan-presence/.gitignore
/openbmc/phosphor-fan-presence/configure.ac
/openbmc/phosphor-fan-presence/control/Makefile.am
/openbmc/phosphor-fan-presence/control/actions.hpp
/openbmc/phosphor-fan-presence/control/example/events.yaml
/openbmc/phosphor-fan-presence/control/example/zone_conditions.yaml
/openbmc/phosphor-fan-presence/control/example/zones.yaml
/openbmc/phosphor-fan-presence/control/fan.cpp
/openbmc/phosphor-fan-presence/control/functor.hpp
/openbmc/phosphor-fan-presence/control/gen-fan-zone-defs.py
/openbmc/phosphor-fan-presence/control/handlers.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/types.hpp
/openbmc/phosphor-fan-presence/control/zone.cpp
/openbmc/phosphor-fan-presence/control/zone.hpp
Makefile.am
cooling_type.cpp
/openbmc/phosphor-fan-presence/monitor/Makefile.am
/openbmc/phosphor-fan-presence/monitor/fan.cpp
/openbmc/phosphor-fan-presence/monitor/main.cpp
/openbmc/phosphor-fan-presence/monitor/tach_sensor.cpp
/openbmc/phosphor-fan-presence/presence/Makefile.am
/openbmc/phosphor-fan-presence/presence/fan_enclosure.cpp
/openbmc/phosphor-fan-presence/presence/gen-fan-detect-defs.py
/openbmc/phosphor-fan-presence/presence/tach_sensor.cpp
/openbmc/phosphor-fan-presence/presence/tach_sensor.hpp
/openbmc/phosphor-fan-presence/sdevent/event.hpp
/openbmc/phosphor-fan-presence/sdevent/source.hpp
/openbmc/phosphor-fan-presence/test/.gitignore
/openbmc/phosphor-fan-presence/test/Makefile.am
/openbmc/phosphor-fan-presence/timer.cpp
/openbmc/phosphor-fan-presence/utility.cpp
/openbmc/phosphor-fan-presence/utility.hpp
06bae85424-May-2017 Matt Spinler <spinler@us.ibm.com>

Have cooling-type use the common argument.hpp

The cooling-type application should use the common
header file for the ArgumentParser class now that one
is available.

Also fixed where a static Argume

Have cooling-type use the common argument.hpp

The cooling-type application should use the common
header file for the ArgumentParser class now that one
is available.

Also fixed where a static ArgumentParser constant was
being initialized.

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

show more ...

ce82244410-Apr-2017 Brandon Wyman <bjwyman@gmail.com>

Implement changes to read GPIO device for cooling type.

Change-Id: If40a54510fb05d67ee0bfdf24026c1d7470897ca
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

8798854f19-May-2017 Brandon Wyman <bjwyman@gmail.com>

Fix bitbake build break due to <utility.hpp>

Should have used #include "utility.hpp" to include that header file in
the phosphor-fan-presence repo.

Change-Id: I01ac9a0cd4b3942f4b052ae3f52abd828cf8d

Fix bitbake build break due to <utility.hpp>

Should have used #include "utility.hpp" to include that header file in
the phosphor-fan-presence repo.

Change-Id: I01ac9a0cd4b3942f4b052ae3f52abd828cf8dc20
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

59ae877106-Apr-2017 Brandon Wyman <bjwyman@gmail.com>

Implement updating the inventory properties

Implement code needed to update the chassis AirCooled and
WaterCooled properties.

Change-Id: I9a67d1129e99f841200241e2daae08fb6119d9d3
Signed-off-by: Bra

Implement updating the inventory properties

Implement code needed to update the chassis AirCooled and
WaterCooled properties.

Change-Id: I9a67d1129e99f841200241e2daae08fb6119d9d3
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

12