| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This sensor manager was in charge of creating the
/org/openbmc/sensors object and initializing them, but this path
is now deprecated and the sensors have moved to other paths
specified by the ipmi sensor config.yaml file in the
openbmc/openbmc repo. This sensor manager can now be removed.
Tested: Powered on a Witherspoon to the Host OS without ipmi
giving get/set sensor errors.
Change-Id: Id9f7626d84d49c62cdb48b5d75f4247ed5813b4c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyDerating Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the org path.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: Ie6c4a0b649c374c323b87092895d319a98d7cede
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyRedundancy Sensor is being added to the ipmi
sensor.yaml file since the /org/openbmc/sensors path is
being deprecated. Remove this sensor from the org path.
Tested: Powered on a Witherspoon to the Host OS without
sensor errors.
Change-Id: Ie5ad41e7723de67c665576d6a69210df82710869
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The TurboAllowed sensor is already mapped to
/xyz/openbmc_project/control/host0/turbo_allowed
(Reference: the phosphor-ipmi-sensor-inventory-mrw-config/config.yaml file).
Remove it from the deprecated /org/openbmc/sensors path.
Tested: Powered on a Witherspoon to the Host OS without errors.
Change-Id: Ic1df697756721305ab00b630e74f33160e24e522
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The BootCountSensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
Remove it as it's deprecated.
Tested: Verified that the "AttemptsLeft" host property where
the BootSensor value now resides had the default value of 3
and was decremented when the Host didn't boot. Then on a
successful boot this value was set back to 3.
Change-Id: I87e2707abe7b052d4363bc583233780112200e4f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The OperatingSystemStatusSensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0
and its value in the org path is no longer being updated.
Remove this unused sensor class.
Tested: Powered on a Witherspoon to the Host OS.
Change-Id: I9cb50d999e475583fbdcf0443da73fe6b807f7bd
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The boot progress sensor has moved from the
/org/openbmc/sensors path to /xyz/openbmc_project/state/host0.
(Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files
under the openbmc/openbmc repository).
Remove the deprecated sensor class.
Tested: Verified Witherspoon powered on to the Host OS.
Change-Id: I46ae2a2c6b228759bcde77773f451e201bc40732
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
| |
Apply fix-ups and run pycodestyle during CI testing.
Change-Id: I1005495b11e228abdc8d40a51dbf81c4a6e6c92c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
Port code to python 3 yet remain backward compatible to python 2.
This port is in preparation for yocto 2.4 upgrade.
Change-Id: I564824b00c106a2c7ebd2f4a9607cd01eabf1322
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
|
|
|
|
|
|
|
| |
The derating factor should be 90%.
Change-Id: Id67adc69f1ecd3cfb3ea083e56bb2486644d549a
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PowerSupplyRedundancy sensor is used by the Host to know
whether the system has redundant power supply support.
The sensor is implemented under the legacy openbmc/pyphosphor
repo which does not persist it's values. This commit will
move this sensor into the official phosphor settings repo
(which does have persistency support) but also keep the legacy
interfaces in place for backwards compatibility.
The PowerSupplyRedundancySensor should look at the new
PowerSupplyRedundancy interface for its value and when
setting the PowerSupplyRedundancySensor, set the new value.
Resolves openbmc/openbmc#2833
Change-Id: I490d385efba70f26b1a3eac87074b1fa0f8cd907
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Parse error with this change:
TypeError: iter() returned non-iterator of type 'PathTreeItemIterator'
This reverts commit f99783be6592130bbad2d0f69ada2b7ac61618f3.
Change-Id: Id2b7f4af5284d25d59e19905c7b873726b02f700
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I1ed6c6bd914635485a697369048a8be9e5919fc6
Signed-off-by: Balaji B Rao <balajibapu@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Power Supply redundancy is read only, based on the
requirement for customers to set it, enabling set value
on this sensor.
Change-Id: I1f2d5e892c0d729fe3f541a2d8c981b4bd678d60
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default, systems should be in redundant mode so the
power management system properly handles power supply
failures.
When this setting is disabled, the OCC will disable GPU
throttling and will not enforce a n level power cap.
Partially Resolves openbmc/openbmc#2665
Change-Id: I7850d962172d3a0209ef5fee8d39b5c57e6ef5c0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: If2608216a919be9b929ac2f99ad29ba2b789fa98
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
A number of these types are unused or are now implemented in the
xyz sensors namespace. Remove.
Change-Id: Ic177bef8eba0f8add38254494051d2049a1148be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
The host gets one additional boot try when switching
over to the alternate SBE seeprom side
Change-Id: Ia692fffdb6720a1b80d9cf2c9cdc279acf84efe5
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#1421
Change-Id: Id956ea27f5e212928b9698c11180d1945e3350c3
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I328315159d1b7c0287f4af5b69973e2c708a7cb2
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I407e507f79e0491e36b0404a8ba486a5c88469f5
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
| |
resolves openbmc/openbmc#1391
Change-Id: Iba7d2af745f8e30e42fd447b8cc3f05cb76c9eb5
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
| |
Added Power Supply Redundancy Sensor and prevented
setting the value.
Change-Id: If05ecb74c1e05ac59da1ae4dbb265ba65ce7744b
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This signal broadcasts current boot progress when sensor value changes.
Partially resolves openbmc/openbmc#315
Change-Id: If490852f2cfc620f720d6edfa629881212a43312
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
|
|
|
|
|
|
|
|
| |
- scale values should be exponentials (10^x)
- implement adjust factor
depends on Iaf2d5e30df620212dd3c9e821d6462964520dc44
Change-Id: Id4e1dfad0def21f9f1d341d859c3b2c237dea080
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When sensor value is out of range of threshold, an "Emergency"
signal will be emitted. Add a "message" parameter to the signal,
to provide detail information on the cause of "Emergency".
This information will be logged in an ESEL.
Partially resolves openbmc/skeleton#64
Change-Id: I501188b36718b8a87582558c349c0316e1092db5
Signed-off-by: Yi Li <adamliyi@msn.com>
|
|
These skeleton module are somewhat general purpose so move them
here.
This is just a straight copy plus a pep8 run.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|