Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Eddie James (1):
Add cfam reset and FSI scans to the SPI mux service
(From meta-openpower rev: 1fcd729eed61645c58a337483d3b1b25317e543c)
Change-Id: If663efd07c3e92881602db01ff09e90b0be6b2f7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Chirag Sharma (1):
mpreboot: Adding PDBG device tree environment variable
(From meta-openpower rev: 7b754070f4300dd5ddffc288a5093a09b1d605b3)
Change-Id: I8b12650ff240679a95abc8d4bebb117c72213775
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
cfam-reset: utilize new sysfs interface if avaialble
(From meta-openpower rev: 322c2e7d7ab24a73b14bd4885cffbab0a9f52ebf)
Change-Id: I6bcf1b8b9b6fddab640d2d01f263e31616b964fe
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jayanth Othayoth (2):
Fix for missing phal traces in journal log
pHAL: Enabled environment variable based pHAL logging
(From meta-openpower rev: 2b47c8c238f3e16dd42f93dc38d3adb2550cef57)
Change-Id: I56cfdfdff4ddbb79eee96d1f2888a6143aae5acb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Dhruvaraj Subhashchandran (3):
Remove multithreading while calling enter_mpipl
Add startHostMpReboot support to PHAL based booting
Skip changing boot seeprom in memory preserving reboot
(From meta-openpower rev: fdc02f7c022f8ea5a8143310562b79aefe2d9522)
Change-Id: Id28e2326ffd381eadbe62313c054b352043446cd
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Andrew Geissler (1):
clear host-on file when host stopped
(From meta-openpower rev: a5baa46839bc03aec24843d99b844db7c5ea05ad)
Change-Id: I6e1d01bd49c2c984c38237d9c49b32aab5cb01ff
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Patrick Williams (2):
sdbusplus: remove deprecated variant_ns
sdbusplus: replace message::variant with std::variant
(From meta-openpower rev: b39a2e592be5a93ac50ce49691f22a60495291bb)
Change-Id: I61a659a99f7bf039dadf821249c5cbf932b28ac4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jayanth Othayoth (1):
Remove VCS workaround
(From meta-openpower rev: f310dad581f5eb8bd16c96aeaae5bdb48ae4b1cf)
Change-Id: I079c86e3db2d9e2dbb40c41367649dc663b7d118
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Lakshminarayana R. Kammath (1):
Select primary/secondary BOOT/MEASUREMENT SEEPROM based on boot count
(From meta-openpower rev: 91e936948ddfc78d5ea850c7cea82c0f444210b2)
Change-Id: Ic1c438a48a450b9209b693849d9e19e681be0a0e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ramesh Iyyar (1):
procedures/phal/start_host: Initialized libpdbg, libekb and libipl
(From meta-openpower rev: 2b93f795b96d7ec805869d49233c11c5ad6df875)
Change-Id: I985609cad84c7993ca0ac687f41de80980c609e9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This was a P9 DD1 workaround. These systems are no longer supported and
are not found in the wild, so the workaround has been retired.
Most (all?) platforms in the tree opted out of this package by using
RDEPENDS_${PN}_remove_, so this should be a noop.
(From meta-openpower rev: 1db2de4c16aa9644462c182c4f525604d3a8e945)
Change-Id: I62f3b21768aae1cc05d2f28799868f028ebb2733
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The corresponding change in openpower-proc-control has more details:
https://gerrit.openbmc-project.xyz/c/openbmc/openpower-proc-control/+/31265
The summary is that the cfam-reset is being removed from the power
control application and into its own service. This ensure it is run when
it is needed (i.e. warm reboots) and that future systems which may use
different power control or have different cfam reset requirements can
easily configure the function.
Tested:
- Verified chassison behaved as expected on witherspoon
- Verified normal power on/off works as expected on witherspoon
- Verified warm reboot works as expected on witherspoon
- Verified bmc reset with host up still works as expected
(From meta-openpower rev: fd9969e4221c321d2807c86b16e6fbafac8e3d8b)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If6dc939015dc1647773d20e3909ae2d718512a73
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Jayanth Othayoth (1):
Revert "Setting phal ipl_init as IPL_DEFAULT to boot the system"
(From meta-openpower rev: ee27db095a70fa71cd6c3580ffac018cc9b7d55b)
Change-Id: Id545cb83c63a596120284bdc4372c9f759652537
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Ramesh Iyyar (1):
Setting phal ipl_init as IPL_DEFAULT to boot the system
(From meta-openpower rev: c8e6605c3f34723ce4c4a0c3b5880265535014a1)
Change-Id: I4f9bd7b608337ff93e483887a1b3e151468c696e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
start_host@.service: Update to start_host service to skip it during
a memory preserve reboot
op-proc-control-systemd-links.bb: update to install services
op-proc-control_git.bb: Added mpreboot services
Bump openpower-proc-control SRCREV to required commit
(From meta-openpower rev: 7e0062d06c12e177f6a767a1c21066dc30ecae44)
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ib2e3e34f3faa1ad575def9b26ff3e91d5eebf93f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|