| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: I25e888ab410c558abb2d5e90c52f0dfcef5849a2
Signed-off-by: Gunnar Mills <gmills@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: Iafe15227413b1936b87bb2a90192b60e5ead31f4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ie62f00a004e82710d1e206a50e81325770a3d0dd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#2380
Change-Id: I9eb6a203e030d0e11141df2dcf099d9d23b9ebf1
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
| |
Add suuport to run sdbus++ to generate code from error yaml.
Change-Id: I5bc8e5d7c0d6f511e0022fea812bdab3e833f894
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
| |
Trigger a service to capture SBE and HB istep info
on watchdog timeout
Change-Id: I44ef86960d022133a703cc8ec3dcc2955be44335
Signed-off-by: Shakeeb Pasha <shakeebbk@in.ibm.com>
|
|
|
|
|
| |
Change-Id: Iaa816cb739387da538fe77e17f4cf776d4f5a593
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Iad35b57c3cd5b25efea42177474cc159062b8150
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I0565eef10ddcfceaa0e14df572b75261887b9391
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia6ac3bd2e5e9c3026b28c16031725b6f48ca7c9a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#2510
Change-Id: I0b36c49c5fc0d6e6146ea499a9b2daf24dd95c10
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.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>
|
|
|
|
|
| |
Change-Id: Ib9ca373f556c137399cde1dd86c70b04439568f1
Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
|
|
|
|
|
| |
Change-Id: I6a84a33cd55bcf3330f6ca5951ecb58d4ff97f8a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Id28a1a02dac4349a67bdb25ecbdbbf47cb290b1a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: Ia6594272c9b48e3a871d7bc304d026ed5f878f4b
Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
|
|
|
|
|
|
|
|
|
| |
For the checkstop GPIO monitoring configuration, use gpio-keys device
created by udev rule. Also port the DEVPATH fix for the $PATH env being
overridden.
Change-Id: I9ff522b20bdf92f1832dccb9f87664b6104bb5c1
Signed-off-by: Xo Wang <xow@google.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>
|
|
|
|
|
| |
Change-Id: Ia3905ac0166ccd10da0bffcb2964cb492a15068f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed
1) openpower-debug-collector: Removed manual copying of error yamls files
2) openpower-debug-collector: extend recipe for native processing
3) Removed dependency on phosphor-logging-error-logs-native recipe
Resolves openbmc/openbmc#1772
Change-Id: I2c0ced34e9a684bd9df34513b4800716cf93cffb
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The pnor read-only partition contains the contents
of the squashfs image. Therefore the corresponding
ubi volume should only be as big in size.
- This would allow us to increase the number of active
pnor version we can possibly store on pnor chip.
Resolves openbmc/openbmc#1840
Change-Id: I5e35a0fcd62e947919f4c9489642188ae2fe49bb
Signed-off-by: Saqib Khan <khansa@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is justified by Nick Piggin below, with some rework of the original
email to abstract unnecessary detail.
Hi,
We are having a continuing discussion about shipping host debug tools on
our standard OpenPower BMC image, and I promised Brad some justification
for the request. I'm including a wider cc list to keep people on the
same page.
The exact host debug tool can be debated, but the capability to send
system reset interrupts and read host registers is a baseline, so I have
"pdbg" in mind, as that's what I have used.
Justification:
- The most basic capability is the system reset, which is an existing
tool for pSeries (KVM and PowerVM) guests. The similar 'ipmi nmi' is
available on x86 BMCs. This is required functionality expected by
customers. An important hang at Pfizer was solved last year because
they were able to system reset the Linux lpar to get a crash dump.
- It's common to be pointed to a crashed system to debug. More
convenient to have a good baseline set of debug tools, and not modify
the BMC of the system that is not yours.
- Hardware and software partners similarly would like to have this
functionality. They could download and install tools, but it can turn
into a an ongoing inconvenience. Many of them are not
openpower/openbmc experts, and may not have ability or inclination to
find and install tools. Having everything just work out of the box and
not having to follow ibm.com link is a big relief.
- Experience with customers when collaborating to resolve bugs is we
often don't have easy access to their P9 systems, and they are often
unaware of how to flash firmware, or they don't know if they have
permission to modify the BMC, etc.
- On customer sites, live debugging is not uncommon. A bug may not be
solveable with a single crash dump or system hang, so it may take some
iterations working with the customer. It is also common that the
customer may have redundant capacity or a test environment which means
they can leave a machine in crashed state. They may be bringing up a new
installation that is not yet online. This will certainly be the case
with large supercomputers.
- Customers may have policy or legislation that makes uploading code
difficult or impossible.
- Some consumers may customize everything on the BMC, but even so,
having reference host debugging tools would show what's available. In
some cases of small scale trials with P9 systems the BMC has not
had much host debugging capability, making it very difficult to
understand problems like hard hangs of the host.
- A strong host debug capability on the BMC can be a differentiating
point. For example very large sites often prefer to debug problems
themselves.
So I advocate for a reasonable host debug capability to be shipped with
standard OpenPOWER OpenBMC images, and for host firmware teams to have
responsibility and control of the low level tools and libraries that
access host registers.
Thanks,
Nick
Change-Id: I87baf40b6bd1004b234cdec139759de9e587d705
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3b10e3acfd7314117d154d25cfedd0e81f8d56b1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
|
|
|
| |
Change-Id: I0dc49ad21376a1e4a0717d31c8e23ae6a7da8615
Signed-off-by: Andrew Geissler <geissonator@yahoo.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: I97e086bee28d003d6c6a915eb5074b54afdc58b8
Signed-off-by: Andrew Geissler <geissonator@yahoo.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>
|