#
211f8a9a |
| 03-Feb-2023 |
Andrew Geissler <geissonator@yahoo.com> |
generate bmc dump if hw indicates host running
This situation has been hit a few times and it has been requested a BMC dump be generated when the condition is hit. This dump will help debug why the
generate bmc dump if hw indicates host running
This situation has been hit a few times and it has been requested a BMC dump be generated when the condition is hit. This dump will help debug why the BMC is unable to communicate with the host.
Tested: - Caused the error path and verified a BMC dump was requested
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I44cc4066b9b7c4eddb04348c2caf6493fb3af31a
show more ...
|
#
1a9a5a6a |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia8f2ae95679f98f2fc3f32239bbf3b3578c35888
|
#
c3d6b876 |
| 28-Jul-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PHAL: refactoring common_utils
Moved pdbg specific utils function into new file. This will help to avoid adding additional phal library dependency for apps , which are not really consumed phal repos
PHAL: refactoring common_utils
Moved pdbg specific utils function into new file. This will help to avoid adding additional phal library dependency for apps , which are not really consumed phal repos.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ibabd8096afe8402551d1314f0ff5b89cac891aad
show more ...
|
#
ac95c562 |
| 16-Jul-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
PHAL: added createPEL wrapper function
Added wrapper function to create PEL based on event type.
Why: concurrent code update feature requires to create to PEL, based on event types in various use
PHAL: added createPEL wrapper function
Added wrapper function to create PEL based on event type.
Why: concurrent code update feature requires to create to PEL, based on event types in various use cases. This will help to reduce duplicate code.
Tested: verified PEL log
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I21d46775994f5c2f86124e33bf98dd9044f3e5d8
show more ...
|
#
25e39c84 |
| 12-Jul-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
phal: move common_utils.cpp to extensions/phal
tested: verified build
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Ib34b0ed54010cf9e4cc2d56bfaccdf23db28b11f
|
#
6552de05 |
| 12-Jul-2021 |
Jayanth Othayoth <ojayanth@in.ibm.com> |
phal: Added extensions/phal folder
Added phal specific folder to keep all phal feature based function in common place
Moved phal error specific source files to extensions/phal
Tested: build verif
phal: Added extensions/phal folder
Added phal specific folder to keep all phal feature based function in common place
Moved phal error specific source files to extensions/phal
Tested: build verified.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: Iabae2689444f355008802950a293e7c69cb19553
show more ...
|
#
aa599150 |
| 24-Jun-2021 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-reset: add support to clear host running register
A simple procedure to ensure the CFAM register used by the host to communicate when it is up and running, is cleared when the host is stopped.
bmc-reset: add support to clear host running register
A simple procedure to ensure the CFAM register used by the host to communicate when it is up and running, is cleared when the host is stopped.
The host is also responsible for clearing this but given there are scenarios where the host crashes, this is the backup plan to ensure it is cleared.
Its a best effort because there's not much to be done if it cannot be cleared. We want the default to lean towards not powering down the host if there is any chance the host is running.
Tested: - Verified master processor CFAM register was set to 0 when this procedure was called
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ibc7680975a3d1e0c541af05e79a4399b9de8271e
show more ...
|
#
61febf0b |
| 22-Jun-2021 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-reset: ensure error is created if host up
A separate commit will be submitted to phosphor-logging to get this new error into the PEL registry.
Tested: - Verified error is generated when CFAM re
bmc-reset: ensure error is created if host up
A separate commit will be submitted to phosphor-logging to get this new error into the PEL registry.
Tested: - Verified error is generated when CFAM register is A5000001
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I40a1fafbffb80aaa77ed38fe93edfd5e4a59f18c
show more ...
|
#
65c0101c |
| 15-Jun-2021 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-reset: check if host is running
This is the backup plan to ensuring the host is not running before the BMC issues a power off to the system. Prior to this procedure being called, the BMC has tri
bmc-reset: check if host is running
This is the backup plan to ensuring the host is not running before the BMC issues a power off to the system. Prior to this procedure being called, the BMC has tried all other communication mechanisms to talk with the host and they have failed. The design is that the host firmware will write the value 0xA5000001 to Mailbox scratch register 12 when they are up and running to a point where communication to the BMC is no longer required to function. On a power off or shutdown this register is cleared by the host and BMC firmware. If the BMC sees the 0xA5000001 pattern in the scratch register then it assumes the host is running and will leave power on to the system.
Why not put this in phosphor-state-manager where the other checks are for the host running? - This is a very POWER10 specific piece of logic - A lot of tight coupling would have been required between state-manager and proc-control - In the end, it was less work to just put this in proc-control
Tested: - Verified when CFAM is not A5000001, call returns without error and /run file is not created - Verified when CFAM is A5000001, call returns without error and /run file is created
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I3f6be9160d8d89e556a722d9f6cb00f94be2b994
show more ...
|