Age | Commit message (Collapse) | Author | Files | Lines |
|
Patrick Williams (2):
bootstrap: fix shellcheck warnings
enable shellcheck
Change-Id: If673feb753dd4141990bc781b944bf45f87023a8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
monitor: Removed unused exception class
monitor: Create count timer
Change-Id: I662aad4ac3f2656f7ba4e429c75411ff24504d28
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Hao Jiang (1):
Eliminate ControlLoop init delay.
Change-Id: Ife667489491c758094504d8854de2497ea3845ae
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (1):
Update clang-format to match latest in docs
Change-Id: I3ce904b202ed93889087f06757548e64ecc3304b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Harvey Wu (1):
sensors: host: Implement getFailed function to HostSensor
Change-Id: I49c5d558f9f99ac14b5e86ce0fd66cb0efec1407
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jae Hyun Yoo (1):
Fix regex in findSensors
Change-Id: I04a92d342123dfe42ec77e2afca609935d755075
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Hao Jiang (4):
Modify function signature for unit test.
Retry pidControlLoop in individual context handler
Expose exception of restartControlLoops().
Bug fix: pidControlLoop may loop infinitely.
Change-Id: Iba2f38ed89ce3fd42557ece8f3d17b7363ddea6a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
monitor: Allow missing D-Bus sensors on startup
monitor: Change start/stop timer traces to DEBUG
Change-Id: Id167c0906616b41e97fa146944c340fc77d1d73c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (2):
docs: Main README updates
docs:monitor: Remove source README in favor of docs README
Change-Id: Ibbd1cd5a33f432f7187b9f175a9db1c4b93d2732
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (4):
docs:monitor: Fill in trust group class attribute details
docs:monitor: Fill in trust group `group` attribute details
docs:monitor: Fill in num_nonfunc_rotors_before_error details
docs:monitor: Fill in the power_off_config attribute details
Change-Id: Ibac352d83da6a0d3437542578dd5ae28e99e9d4b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The phosphor-fan-presence repo installs different fan monitor service
files based on if it was configured in YAML vs JSON mode.
Update the recipe to link them in appropriately based on the mode, which
is a packageconfig.
Delete the service files out of meta-phosphor as they they now come from
the repo.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ie2b1bca8aca78b45f77acaff55721a0ff480400d
|
|
This application resides in the phosphor-fan-presence repo and creates
phosphor-logging based event logs for temperature threshold alarms.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Id5a7ce7590efe82eb1f9615853cabd58ac269c24
|
|
This will start phosphor-fan-presence at the multi-user target. It
doesn't need to know about the power state when just checking GPIOs and
tach sensors, so let it run all the time. It also avoids a race
condition with phosphor-fan-monitor if it starts earlier.
This commit also adds a JSON vs YAML packageconfig so service files can
be installed to different places based on how it is configured. And
since the service file has different contents based on when it starts,
the phosphor-fan-presence-tach@.service file was moved into the repo so
that the repo itself can determine which one to install based on how the
JSON vs YAML configuration option is set.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4c00f0854974c70efb5097d0344c45385dbcb085
|
|
Matthew Barth (6):
monitor: Correct spelling in exception message
docs:monitor: Fill in num_sensors_nonfunc_for_fan_nonfunc details
docs:monitor: Fill in monitor_start_delay attribute details
docs:monitor: Fill in fan_missing_error_delay details
docs:monitor: Fill in nonfunc_rotor_error_delay details
docs:monitor: Fill in sensors attribute details
Change-Id: I86f3e60e0227c00ee0156d0d708e5b1411aee860
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (4):
docs:monitor: Configuration content outline
docs:monitor: Fill in inventory attribute details
monitor: Deviation attribute details(docs) & enforce range
docs:monitor: Fill in method attribute details
Change-Id: I45db427c7092aab436fbefc1074748995c3852e5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (4):
sensor-mon: Threshold alarm logger framework
sensor-mon: Check for threshold alarms on startup
sensor-mon: Handle propertiesChanged
sensor-mon: Create event logs
Matthew Barth (3):
monitor: Add JSON configuration example
presence: Format example JSON configuration
docs:presence: Configuration content and syntax
Change-Id: I998fe493443369c8271d44980d7cc9ad62801d00
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
monitor: Support for running with power off
monitor: Add service files to repo
Matthew Barth (1):
docs: Initial config details for each fan app
Change-Id: I8d6c8133a4013707d40f68fdd00fb622673f9318
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (3):
presence: Add service file to repo
sensor-mon: Add service file
Add service files to .gitignore
Change-Id: I307ce56691faa968a1900965b8ce478d404eb145
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (1):
monitor: Trust group cancel/start monitoring
Change-Id: I2d5d31a7768009dfd51f93cdd24d3c26e8b0f6f1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (6):
sensor-mon: Create sensor-monitor application
sensor-mon: Handle propertiesChanged
sensor-mon: Start timers and shutdown
sensor-mon: Persist timer start times
sensor-mon: Create event logs
sensor-mon: Add a readme
Change-Id: I34dbcb0b12c79a4cf4d75cb8bf90ee8c36b544e8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Add Ed as a maintainer
Patrick Venture (1):
MAINTAINERS: Venture: M->R
Change-Id: I7fc6fd2d006b3a61ca7150487961b631a7a69ea8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (1):
monitor: Write fan presence changes to journal
Change-Id: If9ce710bec467ac152b3c630406919ad9384b1bd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (3):
control: Add missing zone.hpp include to functor.hpp
control: Declare non-templated handlers as inline
monitor: Only stop timer when its running
Change-Id: I16ecb0eac0619b414943c1c573b8b36e93dc02ad
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
monitor: Add ability to delay finding conf file
presence: Don't start until JSON config is found
Matthew Barth (3):
monitor: Move tach sensor template function to header
monitor: Enhance tracing of fan & tach sensor states
monitor: Add journal traces on tach sensor timer state changes
Change-Id: I97603011b47bc22482a62296de33fc7a57888b24
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (2):
monitor: Allow missing presence property on start
Add class params to the DBus* exception messages
(From meta-phosphor rev: c326a92d44f28b25c59f60f1246fb90591d14f32)
Change-Id: I4b789b0198d4917b767006536f3c71ab6bf7271f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (4):
monitor: Change power off rule trace order
monitor: Remove _active from PowerOffAction
monitor: Add thermal fault alert D-Bus property
monitor: Fill in EpowPowerOff action
(From meta-phosphor rev: 9ddb069c47a810c28512b6d1b61c990eaa49673f)
Change-Id: I59793bfa2c6e1a8d53853f76225e455b89a2536a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jay Meyer (1):
Enhance fan tracing support - add device access info
Jolie Ku (1):
monitor: Add up/down count fault detection
(From meta-phosphor rev: e069822da20c2926fc5008a9c3cb38aea2e09596)
Change-Id: I68578ae731465772c3cdeec2f3539078e08e69f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (14):
monitor: Add JSON documentation
monitor: Add fault config JSON documentation
monitor: Use only init mode when using JSON
monitor: Track fan health in the System object
monitor: Create PowerOffCause class hierarchy
monitor: Create PowerOffAction class hierarchy
monitor: Create PowerOffRules class
monitor: Start checking power off rules
monitor: Allowing ignoring fan FRU func status
Save the Logger output as plain text, not JSON
monitor: Event logs for nonfunc fan sensors
monitor: Event logs for missing fans
monitor: Re-log fan error on a power off
monitor: Add a README
(From meta-phosphor rev: c4d0bb40130e913533660da6d1db1aff7b9fe022)
Change-Id: Ie3a1f35b56213b4a18e09b9556e95116a01bc78f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (21):
control: JSON parsing compile framework
control: JSON parsing classes static lib framework
control: Setup configured zone groups retrieval
control: Setup configured power on delay retrieval
control: Parse optional "manager.json"
control: Base JSON configuration attribute class
control: Add profile configuration class framework
control: Add loading JSON configuration class objects
control: Complete profile configuration parsing
control: Add fan configuration class framework
control: Complete fan configuration parsing
control: Pair profiles with name as key
control: Remove storing bus reference on fan objects
control: Zone configuration framework and basic attrs
control: Complete zone configuration parsing
control: Group configuration parsing
control: Add event configuration class framework
control: Create ZoneHandlers directly from JSON
control: Construct base zone group from JSON
control: README note on limited JSON support
Allow JSON use on all apps except fan control
(From meta-phosphor rev: 56a4e696e13b1518163eb0bbd3b3624a0e7d09b7)
Change-Id: I713bb7a1408e2112d8202751d4ea94478c70e6b1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (1):
Support config location from compatible system interface
(From meta-phosphor rev: 71ee0b3357a92d9b918266ea43256aedb55308bb)
Change-Id: I80ec4a87816fe6aee2963136d911e6eda3d0bb11
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jolie Ku (1):
monitor: Use the number of failed tach sensors at startup
(From meta-phosphor rev: 2cb1bcbc652d89b28834b54129232c02446fc7f5)
Change-Id: I155740be2cacb3eefb2c5433bdd142d5b3a7d8a1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jay Meyer (1):
monitor: journal message for fan Actual Speed wrong
(From meta-phosphor rev: 9dcfdd7c7a8bdf51ac3e55c76a9cfb2275bf5ff4)
Change-Id: Ife39da430fed93e48a59b800825cd5a312e1f844
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
James Feist (1):
Remove James from MAINTAINERS
Josh Lehan (1):
FanController/ThermalController: Clean up PID input math
Patrick Venture (3):
dbus: move debugPrint to util
dbus: parameterize dbusconfiguration init
drop struct keyword for non-packed objects
(From meta-phosphor rev: bfaaf3c3045a1ef8b9f3dfd3c433afdcdb2a3f08)
Change-Id: I73e7bda6cad7ee11aff39634714be8f8d470f2a9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Josh Lehan (5):
dbuswrite: Add another write() form to WriteInterface
dbuspassive: Input processing cleanup and allow "margin"
dbusconfiguration: Accept ZoneIndex parameter for zoneID
DbusPidZone: Allow per-zone setpoint files during tuning
main: Allowing logging and tuning to also be enabled by files
Patrick Venture (5):
Add Josh Lehan to MAINTAINERS
dbus: move types to header for use in tests
dbus: add unit-tests for dbusutil: getSensorPath
dbus: Move findSensors to dbus util
dbus: move zone indexing to util
(From meta-phosphor rev: 8012acf2d233a05c437f4a26e61889e40c0fcab7)
Change-Id: I388884d741ef0d80dce8db3abaf239e1f5993a3e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matt Spinler (6):
presence: Create ErrorReporter class
Add class to watch the the power state
Create a class to store messages for event log
presence: Track missing fans with timers
presence: Create event logs for missing fans
presence: Make error time be per fan
(From meta-phosphor rev: a8b7aaf97f89dcca58e99eee3aff0a8069ca4a4f)
Change-Id: Ifa650d92f2e623b99137abe5293503d8b0ed93cd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Johnathan Mantey (1):
Eliminate swampd core dump after D-Bus updates sensors
(From meta-phosphor rev: 4ecfa543c90be0a419fd983e2d35a9a67789cbc5)
Change-Id: I35023e795f7a24b23f9bbccae727851f6b785249
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (1):
bugfix: add virtual destructor to zoneinterface
(From meta-phosphor rev: e94fbf70ae79b930834c08394f07c77da4bbc010)
Change-Id: I82c34b8c309d7d430525794c76486307cff9f492
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jolie Ku (1):
monitor: Mark a fan with a missing dbus sensor as nonfunctional
(From meta-phosphor rev: 9b745c5b9771f39b9e0b01351881b7953d5667ef)
Change-Id: If5a83c804c77c128ccf882985e18e9a89d077606
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Josh Lehan (1):
dbusutil: Fix critical bug in scaleSensorReading
(From meta-phosphor rev: e5c388836489e872442fdb3cd83aa5e670a2462a)
Change-Id: I35dbcede1b27e5aa11f7f8c5bfce350e8794957c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Josh Lehan (1):
gitignore: Adding more files to ignore
(From meta-phosphor rev: 448251270bad2f71d465249f8fd8f963c6fca5fb)
Change-Id: Ieb5869b6d3491570a53f7ce00fbe014994a9b111
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (1):
format: Include format lib and use on errors opening JSON files
(From meta-phosphor rev: 88ebe5894efb24c50ccea383bda41d0a02733916)
Change-Id: I8258afcd9a57922ab482a0502f975b4856fe35f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (2):
dbus/dbusconfiguration: add missing asio header
transition dbus-configuration to run-time check
(From meta-phosphor rev: 3376eea9463218105ef23e452f33131d0410e70e)
Change-Id: I9cdb5304e521eb9aeb3c97d1c3dc713991efbd9d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jolie Ku (1):
presence: Use shared JSON config file finding & loading header
Matthew Barth (1):
Add fan monitor to supporting JSON config in README
(From meta-phosphor rev: 2214ddda41aa5cedf9c9c10bddfd2249f68c16c2)
Change-Id: I57c8a82a4b2ef6978d28c0f7c4ef5b46a4fb0350
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (14):
dbushelper: drop obsolete parameter from interface
move util methods to dbusutil header
dbusconfiguration: deconflict variable names
pid/zone: split zone interface into its own header
s/PIDZone/DbusPidZone/g
use ZoneInterface pointers where Dbus aspect not important
dbus/dbuspassive: drop no longer used bus reference
pid/builder: switch to structured bindings
pid/builder: add missing headers
ipmi: split library constructor
ipmi: split dbus get property into separate file
ipmi: add zone controller interface
pid/stepwisecontroller: fixup method name
stepwisecontroller: add stepwise info setter
(From meta-phosphor rev: 4bd8e3e5b3719f06e02e0cda262684a5cca27c76)
Change-Id: I74a92964b63e47fcc3558b2e707b1e169ef14807
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (1):
Correct optional JSON config file check
(From meta-phosphor rev: 84b85a613bfcec35d79aa0e348c5446a554fb3dd)
Change-Id: I8c227263c93e38f0101426e6dd9ca8fe4373ac95
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Venture (8):
sensors:sensor: drop unused chrono header
sysfs/sysfsread: add missing explicit to constructor
Move the sensor utils into their own module
sensors/zones: place in namespace and cleanup
sensors/builder: add missing headers
move dbus helper interface into its own file
dbusconfiguration: fixup header inclusion
Make the dbushelper own its own bus handle.
(From meta-phosphor rev: 82e8d5cedd1a0a4223ed41caf30f5b9816469f0c)
Change-Id: I677da5940fec4a4423fa0bee4c2c1b8ad15e9a1a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Matthew Barth (1):
presence: Tach input to double
(From meta-phosphor rev: 75188386b52e56e6619101af731c2224eeb8dd2b)
Change-Id: I29fc414ca59f6ddfe416305a7f71c07b57bebde8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Necessary configurations that were in
classes/phosphor-pid-control.bbclass was dropped by
5f04ec5f04a797805afe2ac14a90c294a906ca6e. Append the config back to
phosphor-pid-control.bb
(From meta-phosphor rev: db34efb2d7df34092d2ac21f16d379efcdc55f07)
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I54623ed0217fa4e04aed12157b74bef59645a9fa
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Matthew Barth (2):
Handle optional JSON configuration files
monitor: Tach input to double
(From meta-phosphor rev: 957f9c13bfa2d5342738c2f7580a8e10f955f937)
Change-Id: Icc39568e778970eaebf12dbd447093ac1df8f9cf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Matthew Barth (1):
Correct shell script linting
(From meta-phosphor rev: a6832dbbb1a8287d509f2357c2cfc03d633a95b8)
Change-Id: I9e061c19a6d2c427ed2e3d383428782b15d4b9c1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|