Marshall Dawson has uploaded a new patch set (#2) to the change originally created by Felix Held. ( https://review.coreboot.org/c/coreboot/+/40295 )
Change subject: soc/amd/common/psp: Add SmmInfo command ......................................................................
soc/amd/common/psp: Add SmmInfo command
Implement the MboxBiosCmdSmmInfo function to inform the PSP of the soc's SMM configuration. Once the BootDone command is sent, the PSP only responds to commands where the buffer is in SM memory.
Set aside a region for the core-to-PSP command buffer and the PSP-to-core mailbox. Also add an SMM flag, which the PSP expects to read as non-zero during an SMI.
The soc should call the new function only from an SMI handler. Add calls to soc functions for the soc to populate the trigger info and register info (v2 only).
Change-Id: I10088a53e786db788740e4b388650641339dae75 Signed-off-by: Marshall Dawson marshalldawson3rd@gmail.com --- M src/soc/amd/common/block/include/amdblocks/psp.h M src/soc/amd/common/block/psp/psp.c M src/soc/amd/common/block/psp/psp_def.h 3 files changed, 147 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/40295/2