| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Water cooled thermal parameters have been verified and ok'd to integrate
by thermal team. Air cooled thermal parameters are still being
characterized, so this keeps air cooled unchanged.
Change-Id: I3d90c30c07856b9d74896625b37ccdf9764e9ed4
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved the code to create NotPresent and Nonfunctional errors to a new
yaml, fan-errors.yaml.
Fixed the problem with duplicate errors, caused by a 2nd fan
going nonfunctional or not present which would create a 2nd error
for the 1st fan previously nonfunctional or not present.
Create a notpresent error if fan 0, 1, 2, or 3 is not present for more
than 20 seconds. Create a Nonfunctional error if fan 0, 1, 2, or 3 is not
functional for any amount of time.
The system must be powered on in both of these cases.
If a water cooled system, don't create errors for fan 1.
An error is created each time the chassis powers on if a fan is
removed or nonfunctional.
Resolves openbmc/openbmc#2472
Change-Id: Ibd71bf3a3b2381df623e7310a510a2f044c525e4
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Set power led blink on bmc_booted, and set it on when host is
powered on.
Change-Id: Ia25c1b2fa358ed508bc02b7b8545d8b0d93586a4
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
| |
According to thermal characterization, the ambient temperature sensor
requires a -2C offset applied to reflect the correct ambient
temperature.
Change-Id: I354988013d51ee57403fa68c3fa5120e59d16b74
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
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: I649a843483394562fef2e9f1a8b3d38c0cbc6a38
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Create a Shutdown error log when the system shuts down due to not
enough present and functional fans.
Changed in both air cooled and water cooled yamls.
Change-Id: I1dbf13e5689bfd7a1b08eb1d1c52e3de3a084642
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the journal is written to a RAM based
filesystem which is lost on BMC reboots. This commit
will move the journal to a persistent filesystem location
so it will be available after BMC reboots for debug.
This change is only being done by default on
witherspoon systems with this commit. Other systems
may use this as a reference if they wish to move.
By default, journald uses 10% of the filesystem
(default is /var/log/journal/) and it will ensure 15%
of the filesystem space is left free. Specific machine
configs in openbmc can override these defaults if
they wish. For witherspoon, we will use 3MB max and use
the 15% left free default.
Due to the way openbmc mounts its filesytems, a
systemd-journald.service file override is required to
ensure journald does not start until the /etc/ filesystem
is fully mounted.
journald uses /etc/machine-id to create a directory
in which it stores its journal data. journalctl uses
/etc/machine-id to know which directory to look into
when a user requests the data. Without this override,
journald will end up making a random machine-id
and using that because /etc/machine-id is not available
when systemd-journald.service is started. journalctl
looks up the /etc/machine-id when its run, so it will
use the correct one (but not the one journald is using).
Witherspoon uses the new UBI filesystem, and only
has a total of 4MB available within /var. Ensure the
journal only ever uses 3MB of that space to leave room
for other applications.
In testing it was found that the persistence of journald
had minor impacts to overall flash erase blocks. With
persistence enabled or disabled, it was noted that the
UBI maximum erase count value incremented by 1 for every
10-20 boots of the host. Our CI system, which gets a
lot of activity (new image flashing, REST api testing,
and host boots) average 10-12 erase counts a day. A worst
case of 15 erase blocks a day would mean 18.2 years before
hitting the 100,000 erase block limit.
Resolves openbmc/openbmc#1627
Change-Id: I30211108f26bd9cd758800f457c17ed03d13e802
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
On P8 systems the occ control objects are changed to named like
occ_<i2c-bus>_<address>
E.g. occ_3_0050 for the occ device on i2c-3, address 0x50.
Update the occ sensor configs to match the change.
Change-Id: If4c3ed2438e9534915e1f1bfa9bbff134ba94f33
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: Iaa816cb739387da538fe77e17f4cf776d4f5a593
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I0565eef10ddcfceaa0e14df572b75261887b9391
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
| |
Adding the missing PCI Resource initialization step to
boot progress stages.
Resolves openbmc/openbmc#2298
Change-Id: I5b3b42c15d5f0d43351921749a4e31aaa3f22b48
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
The YAML files are moving from xyz/openbmc_project/Power to
org/open_power/Witherspoon.
Resolves: openbmc/openbmc#2334
Change-Id: Ib408ef99885b034e2ab811cca05f00a7ebfee413
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
|
|
|
|
|
|
| |
A chassis hard poweroff should be used when too many cores are overtemp
and when not enough fans are found functional or present.
Change-Id: Ic472e2e7c2e0a49c0bf1869924491e743e3ed24d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Resolves openbmc/openbmc#2387
Change-Id: I3b8e0eb8466f07f66f185b8d1378cee5683edd7f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Limit the power cap boundaries based on values from the MRW.
Use OPEN_POWER_N_PLUS_ONE_BULK_POWER_LIMIT_WATTS and
OPEN_POWER_SOFT_MIN_PCAP_WATTS from the MRW for the boundaries.
Resolves openbmc/openbmc#1863
Change-Id: I16ff55dc8dab8a0f8b837e815e9e409ad23db644
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
| |
Adding in Host Auto Reboot Control Sensor
Change-Id: I224d223e64cd6ff5694b6d115d1ae90bed14165c
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Change-Id: I96f8d36597ce0c304964590bb24e9946206b2f5d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Change-Id: Ic2d146ee61c92ce029dfba98537a55a28aae47cc
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Change-Id: Ic6a06e691f5dd46893a02a1c81792f17e63d4eb5
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Change-Id: I0a22b9288de6617a8341720ce4146c9ddd1f93c6
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
These will show up in D-Bus, and cause the corresponding
D-Bus alarm properties to get set when crossed. Users
can always set their own threshold values on D-Bus if desired.
Change-Id: I9cd2663feed9cd9a343c1b986e3aa6d2d564c2cd
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Provide initial release of active fan control with a 7200 RPM floor
speed for all ambient temperatures. This allows the ceiling speeds to be
set to their currently defined values.
Change-Id: I239ca95e12824e787219d2f4a16a4fd4b308b165
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Integrate the use of the PCIE temperature sensor into the set speed
events of fan control.
Change-Id: If347e1c23c4544e1bc5a828e970cfb55dd155dbb
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Change the names of the power value the OCC reports for
APSS channels 14 and 15. Channel 14 actually reports
the fan + disk power, and 15 does IO power.
Change-Id: I8a2769482a0948489a409aea380c238f490f9a8d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I761c3f1ed6277f12f6200a297489c593157b2ab6
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
| |
Add configs for occ and rtc.
Change-Id: Id811d4b1c180fd68660d76019551fd5a8b90b47d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
| |
Add openpower-occ-control and enable i2c-occ configure for Firestone.
Change-Id: I9420a9907109d1c189f405bdac96cdb9779fae08
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When marking a unit as functional both functional state
and presence need to be checked to avoid marking
non-present units as functional.
There was a change in yaml structure for accomodating
fix for marking non-present units as functional.
All these yamls are not sorted by sensor id, so it will
easier for a future script based change.
Change-Id: I122d652de32ba4f323ee7b31a59078d86e158246
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I0494fa53a0684874e45b0c9283756856d8c65671
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
These will be used to specify that the 2nd rotor tach values
shouldn't be trusted when all of them are zero, because
that just means the fans are moving to a new target.
Resolves openbmc/openbmc#2336
Change-Id: I4b2ca6bb732d214dca67096817612025e1319226
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I94cfa916d21adfe01242531845cf3da71032dac8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
| |
Resolves: openbmc/openbmc#2437
Change-Id: I7c74ef01a43f0b91c9c801843feb0948e7deda5e
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding this so phosphor-hwmon will put this temp on
D-Bus so fan control and others can use it.
It's provided by a TMP275 at bus 9, address 0x4A. It
measures the air temperature by the PCIE slots.
Resolves openbmc/openbmc#2411
Change-Id: I3ea16201fd63cb240b53c0a37aa0eaf3aabecead
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
witherspoon-fan-watchdog.service is not a template service,
but it still used %i inside of it. Change that to just be
the actual template instance required.
Resolves openbmc/openbmc#2432
Change-Id: I19bddbd260b5f6945400a83fc6ab34d9077a35b7
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add the environment file for witherspoon
Resolves openbmc/openbmc#2361
Change-Id: Id2aabb9e4c484e081f38f1afb33157e64a8453dd
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Our power engineer has requested these changes to allow
higher currents on the Vdd rails.
Resolves openbmc/openbmc#2395
Change-Id: Ic9e2509a4e669d382fd353f563b5c9ac401d3d61
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Iab410a5148625ca9c5a51428ba5797c632790cb8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id561a015982898c9673c46e89aac023b1a5b65bb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
| |
Use the highest tach feedback from all the rotor feedbacks to base the
increase and decrease requested speed changes on.
Resolves openbmc/openbmc#2305
Change-Id: Ia1a71e53def045b021c3c798da3e8b07ae0a7c89
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I7a41b09120ec2ef333efbf94bc6de7d1c2b9c94b
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I78a6c3512c269ea59b8236a1dbf40102b1f10820
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
just adding comments to some of the more useful variables
Change-Id: If9b600262a1b313089511c05c6a023b223e44bac
Signed-off-by: Chris Austen <austenc@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the Witherspoon power supply monitor application, service file, and
configuration files to the witherspoon-pfault-analysis recipe.
Moved OBMC_POWER_SUPPLY_INSTANCES to the global metadata so it can be
shared between recipes.
Resolves: openbmc/openbmc#1731
Depends-On: Ie364a3dc5b7f19cbc587450fc54f231d1ec280f7
Change-Id: I340a1d48a979a97624843e59a5ab1b1ad04056bb
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
|
|
|
|
|
|
|
|
| |
Occ power related sensors are missing in Romulus.
Add proc, vdd, vdn powers configs.
Change-Id: I2d5d151c34b30cc0b020e07faad81bb5f48e983e
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
| |
Change-Id: Ia9105ad5127778572cd29ea2bb45f54d6073c443
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
| |
Create a SystemShutdown error log when
3 cores are over 115C.
Resolves openbmc/openbmc#2190
Change-Id: If8e9241cfd0aec8ac84f6d8ca77d628a89c24442
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Ia5f13ac55aa15a72df8ea7819eb23d9a57fa8bc9
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I8f7d18fd0131eb3035877ee3c51fd049bd0b756e
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Set each speed change event timer to 5sec and update each t-control
value and speed delta to match what's defined by the thermal team. These
can be set to match now since the fans are held at 10500 RPMs until
verified by thermal team.
Change-Id: Ibddc023c6c221162cd2d8534d5987bcc8671018d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I3fc8d7021a443d80085e8ee686658f7ecbaa9fd4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|