History log of /openbmc/openpower-proc-control/p10_cfam.hpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 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,

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 ...


# ce042fe8 28-Jan-2020 Eddie James <eajames@linux.ibm.com>

Add procedure and service file to set the SPI mux on P10

This procedure will be called before powering on in order to set the mux
for accessing host EEPROMs from the BMC through the FSI

Add procedure and service file to set the SPI mux on P10

This procedure will be called before powering on in order to set the mux
for accessing host EEPROMs from the BMC through the FSI SPI masters.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: I238d3bc449c5924740cf4c2e69d794605a6ae916

show more ...