Age | Commit message (Collapse) | Author | Files | Lines |
|
Jayanth Othayoth (3):
PHAL: added createErrorPEL wrapper function
PHAL: Add BMC0001 procedure callout for SBE boot error
PHAL: Add procedure callout for hwp errors
Change-Id: Id06437e5c1e766f8c533c65b7b0f087e0a74963d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (4):
PHAL: Guard related service action support for PHAL logs
PHAL: Remove HWAS_STATE updates from sbe ffdc processing api
PHAL: Add location code information support for sub FRUs
PHAL: Fix pdbg target traversal error path issues
Change-Id: Ida574984a4591fb825bce9c1cefbd8a26cb79507
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (1):
PHAL: refactor startHostNormal procedure
Change-Id: Ie2c9f09e236aaea2482cfe057d2ca298c5e5b73a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
op-continue-mpreboot: ensure it runs after start_host
Manojkiran Eda (1):
Add OWNERS file
Change-Id: I50c38916c9ddf8de5fdd66572b76e713c2e620a4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
OBMC_MACHINE_FEATURES is a variable that probably shouldn't even exist
as all it does is provide a level of indirection to the real
MACHINE_FEATURES (in phosphor-base.inc, OBMC_ is added to the base).
There are a few recipes that have developed checks against
OBMC_MACHINE_FEATURES for enabling recipe-level features when they
should be checking the standard MACHINE_FEATURES variable. Clean up
this recipe-level indirection.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id437b93aa6c1de9a27726eea9b7e2c30e71ab3bf
|
|
Jayanth Othayoth (5):
PHAL: dump utility functions support
PHAL: collect sbe dump for the sbe boot timeout
PHAL: improved boot failure reason code based logging
PHAL: collect SBE dump for enterMPIPL chip-op timeout
PHAL: execute enterMPIPL only on valid sbe state
Change-Id: I891deb70cc02c126f1827e2fcb9efbc165e366ca
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (2):
PHAL: createSbePEL API updates
PHAL: enterMPIPL chip-op failure handling support
Change-Id: I6ddf7def246da6aff4ef01a830fee09a82b20983
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
catch exceptions as const
build: switch to C++20
Change-Id: Iaa974321822c2403c1c5ae9053bc74abf9b44971
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (3):
PHAL:createPEL function signature update
PHAL: added createSbePEL wrapper function
PHAL: SBE boot failure support
Change-Id: I9381a4d389e345ed027fefef6f6d09cf2e63fb51
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (4):
PHAL: Helper function to set PDATA_INFODB
PHAL: set PDATA_INFODB value for phal-export-devtree app
PHAL: set PDATA_INFODB value during import devtree
PHAL: disable attributes tool debug traces
Change-Id: Ia969a9811580b6d79c59c5f941acaab5b8f67be3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (1):
phal: libipl enum name change IPL_NO_ERR to IPL_ERR_OK
Change-Id: I85095bdc2ef4c9be28280e3c9b61de650ee41870
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (1):
phal: ipl_error_callback_func prototype related changes
Change-Id: I6c3e9b4184b2293c15679b94ff45d37d016189ef
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (2):
op-reset-host-check: update for recent state mgr changes
op-reset-host-check: add logging as service dep
Change-Id: I849d1018a2a619266c06ba7b2ba016668426cf29
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
cleanup sdbus CAMELCASE define
exception: switch to public sdbus exception
Change-Id: I779bebeeacc5e68178bf64a1aedd2f2d4fe2c715
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Change-Id: I5ca16c6fa7bc616bfa9bc41c4f86d32fd92b0287
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Service to collect r/w devtree attribute data from the
devtree and save to known location. This is data
collected prior to concurrent software update and applied
to new device tree in the reboot followed by concurrent
software update.
Version bump to enable service back-end support.
tested:
Jul 30 14:27:35 xxx phal-export-devtree[2624]: Software path
interface add signal received
Jul 30 14:27:35 xxx phal-export-devtree[2624]: Successfully
exported devtree attribute data
root@xx:~# ls /var/lib/phal/
exportdevtree
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ic2462f596a7ffcc716254577dc693d580111b766
|
|
Service to override r/w devtree attribute data to the
newer version of devtree from older version. This is used
in concurrent software update followed BMC reboot.
This service will only run in the following condition:
- Chassis power is on when the BMC comes out of reset
- version bump to enable service back-end support
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I352c60ba254cfcf50a2339224eab9fa418491cc7
|
|
Jayanth Othayoth (6):
PHAL: add phal-export-devtree app
PHAL: export devtree attribute support
PHAL: import devtree tool support
PHAL: remove devtree import data file in genesis boot
PHAL: add devtree import service
PHAL: add devtree data export service
Change-Id: I3710ecd40a35af626ae5e685f86cad7bf5ace506
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (3):
PHAL: Helper function to set PDBG_DTB
PHAL: added createPEL wrapper function
PHAL: refactoring common_utils
Change-Id: Iddd4a1480ce548014927700c5b4624a80a3465d2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (1):
phal: move common_utils.cpp to extensions/phal
Change-Id: Ib4804f76db39aebbe7c17c4b51d64ee37e7d8976
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayanth Othayoth (3):
MAINTAINERS: Added new reviewers
test: removed unused makefile
phal: Added extensions/phal folder
Change-Id: I2dd528e1ea208ca25c32d7d52665c97d144db520
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Enable the new BMC function to look at a CFAM register as a last chance
to see if the host is running.
See the following for more detail:
https://github.com/openbmc/docs/blob/master/designs/bmc-reset-with-host-up.md#note-on-custom-mechanism-for-ibm-systems
openpower-proc-control: srcrev bump f8c14bcfd5..3292c0676e
Andrew Geissler (8):
service-files: move to own sub-directory
primary-proc: move function to common utils
bmc-reset: check if host is running
bmc-reset: ensure error is created if host up
bmc-reset: call new host reset check service
bmc-reset: add support to write a cfam
bmc-reset: add support to clear host running register
bmc-reset: call new clear host running status service
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If4f7c3a7a58bbe5c7fda09bdc949ed31f5cb1cbf
|
|
Jayanth Othayoth (2):
phal: set pdbg environment variable
Added additional log messages in enterMPIPL function
Change-Id: Ifb9a912da8eeaac68f3d3e247fc4e69b80074bf6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
PDBG release 3.3
Changes:
- Implement p10 thread controls
- Update p10 sbefifo chip-ops
- For p10 switch default backend to sbefifo
- Separate sbe api into new header libpdbg_sbe.h
Added version bumps to fix build dependency
- openpower-hw-diags
- openpower-proc-control
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: Ib667c87792f31a8c9475420ba653b441224e9a52
|
|
This includes the following bump: e22e8231c4..e04c1173c1
Andrew Geissler (3):
gitignore: ensure utest.cpp not ignored
meson: remove old automake files
meson: fix static initialization order race condition
Jayanth Othayoth (1):
Fix related P10 SPI mux settings
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iff99f6536d2552984bb08c2e3267c36cde1bf8d4
|
|
Jayanth Othayoth (2):
Added openpower util file support
set CLK NE termination site based on HW VPD keyword.
Change-Id: I15ba086834b6f86af5dbc6de5643868692e6c9dd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
use new sdbus++ camelcase for NMI.
Change-Id: Id48f752f6fbb88f13afdb5ea402d01e868e3acde
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
bootstrap: fix shellcheck warnings
enable shellcheck
Change-Id: I71c0701d7ef4171d0f4ec3d6f360739eb3a9c1c3
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
remove host-on file rm
Change-Id: If68039868e04b37cc8bbccdcd40d36885e3003ba
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
cfam-reset: do not run if chassis power on
Change-Id: If2cac813029c44b8d28ce867b53718f9fe7a1670
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (1):
fix dependency issue between mpreboot and stop instr
Change-Id: Ie02e730fd3f611dd69bae8877e4bf624a1ab2c0a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Previous code was piggy backing the memory preserving reboot function
off of the phal machine feature. This had issues in that a
witherspoon-tacoma system also supports mpreboot, but does not support
phal.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ib044f5252843e84be3304bc0df8ffb8aa947526c
|
|
For phal based systems, move the memory preserving reboot function to
the obmc-host-crash target. This target is currently un-used on phal
based systems.
Make this move so that the obmc-host-diagnostic target can be utilized
as a more generic target. Dumps like hostboot, sbe, and hardware can now
utilize the obmc-host-diagnostic target to ensure the user knows when
any type of diagnostic event is occurring in the system.
Note that the obmc-host-diagnostic target will still be started as a
part of obmc-host-crash since that target is what communicates to
outside users that a diagnostic action is occurring.
To ensure we do not regress the dump functionality on our non-pHAL
systems, ensure the obmc-host-quiesce target remains within the
obmc-host-crash target. Our non pHAL systems go straight to quiesce on a
crash target call.
Tested:
- Verified with all commits in this Topic that the witherspoon system
has the same service layout as before and the rainier system
has the new layout (crash used for mpipl)
(From meta-openpower rev: b3f8d51109a607c6efc158198767395c6441b152)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia6d5411f84ec6c83a7edb177a1635c931bbda041
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
add timeout to stop-instructions service
(From meta-openpower rev: 0115043ef25fe58b57563f8c1a173590df8f13ae)
Change-Id: I0649c22ff825bda3402a3c1ddefc41e1e01a7656
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
For the synchronization targets to work correctly, a service must Wants
and After it. The Wants was missing here so there is a race condition
where this may run before the FSI scan service has completed.
(From meta-openpower rev: d1b13abc9dfaca474102bc09939efa417c5eeb3e)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If02755f774c40a031ef2f37a3bc1718328da5a1d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jayanth Othayoth (1):
Execute proc-pre-poweroff after proc stop instruction
(From meta-openpower rev: f85e69b2b87894c4b3666c281dc38242e5c37a30)
Change-Id: I009587fad12567b2acc3bd10809dba664f846540
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
When the obmc-host-quiesce@.target was initially created the idea was to
leave the system in the state it was in. In most cases the host had
crashed.
As OpenBMC has grown, the use cases for the quiesce target have grown.
For example the Quiesce On Hardware Error design:
https://github.com/openbmc/docs/blob/master/designs/fail-boot-on-hw-error.md
When the QuiesceOnHwError setting is enabled, the host will be put in a
Quiesce state to indicate that an error has occurred. In a lot of cases
though the host actually can (and does) continue to boot. This causes a
lot of confusion for the user (host state shows Quiesce but host is
still booting).
This commit adds the op-stop-instructions.service to the quiesce target
to ensure the host is actually stopped when quiesce is entered.
Tested:
- Disabled AutoReboot and turned on QuiesceOnHwError. Verified when an
error which triggers QuiesceOnHwError was injected, the host state went
to Quiesce and the host was stopped via the stop instructions.
(From meta-openpower rev: ff3e548479bdf4c9db4315f45f1599a4f9adc33f)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If5cbdd03fbb3abcad8942e5ebe4e7b347ecfd599
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Changes:
-Adding support for new service
i.e. proc-pre-poweroff@.service, which will be called
during poweroff.
(From meta-openpower rev: 064663fa543eb32bf55f0657a56a3a6cf47bfe0e)
Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Change-Id: I066bb91237f838c87de3da8e10b4d5a4fe7636e8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
cfam-reset: run before chassis power
(From meta-openpower rev: 498a5310b46a5602dd411aa5975872fe861549a4)
Change-Id: Ib5c60bbbb55045f63c13246caa2e7c212dea4095
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ramesh Iyyar (1):
phal: Corrected condition to add trace for FFDC
(From meta-openpower rev: fda904e173ae6b9c82b2df922520b77c50875985)
Change-Id: I33314dd88832a35d902a7280da3db60d1022e3d6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (2):
spi-mux: ensure mux is reconfigured on chassis off
spi-mux: do not set if chassis power is on
(From meta-openpower rev: aaf0401c8773a4c7693ad395fcc703938a916760)
Change-Id: I6783225dba2e7ca56c80ad3adea282aa3b61e99b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Brad Bishop (1):
build: update clang-format
(From meta-openpower rev: d6bc07ce396e2c69ebd47aa35cf5cdf3d0d860be)
Change-Id: Ida7e53b6ffb59d767c7ad88fa8b1fb4f71581f0d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Brad Bishop (4):
test: remove gtest subproject fallback
meson: install executables
meson: fix systemd service bugs
meson: add checks, defaults
Gunnar Mills (1):
test: Makefile.am: Remove -lstdc++fs
(From meta-openpower rev: 275f79f6025d6d870286a0d0c2b1e1e17a14e015)
Change-Id: Ia1ffbdb2d0d0e7fec44892d931838f32be210c29
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
host-stop: ensure stop-instructions run in correct seq
Brad Bishop (4):
phal: use unix line breaks
c++17: drop experimental::filesystem
fix compiler warnings
build: add support for meson
(From meta-openpower rev: ba05405cf35a4556b23f5269aca1c10740d43a9b)
Change-Id: I513c86ee5377eab6eb74c598f5df3c3d9e4c0bcd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ramesh Iyyar (1):
phal: Added HW callout info into PEL
(From meta-openpower rev: 7e3e63ef078ac4aac50e4fdaef3625c6d4bb493f)
Change-Id: Id8a013dc2b0d61572059d65ffb8dbdca5fe41a58
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
mpreboot: do not run stop instructions
(From meta-openpower rev: 48f9593593db3dac5bbe6e130ee7cad5097b7eb8)
Change-Id: Ifc92fcc0af4ca98f060c282b30e506ec636ae91f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
mpreboot: ensure started after host stopped
(From meta-openpower rev: 867cff78e252bfb58c3c9105453d7ff50a08ab8f)
Change-Id: I6ba0ffbf939928fa19f48437e66bdb9b788d4471
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
cfam-reset: do not run if host is up
(From meta-openpower rev: 26a3f5c9d370a8bd70e9a8453ed4357b7cd2eff1)
Change-Id: I22c8b13a62457b033f496ea9c70f38bf91ed2945
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The POWER CEC system device tree need reinitialize before doing
normal ipl to mark required targets as functional for ipling.
The service file is added in below patch.
https://gerrit.openbmc-project.xyz/c/openbmc/openpower-proc-control/+/36577
(From meta-openpower rev: 2257014de9964f673b4ae2864deffd25e6022cee)
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I499ee3c6c2b4f3caf33609ca6e70112801d5cbae
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|