soc/amd/common/psp/psp_smi: report errors in 'handle_psp_command'
To see if things went wrong in the 'handle_psp_command' function, print the status code in case it's not MBOX_PSP_SUCCESS. Change-Id: I8c02e8e29ab5619282e5b864a8cea6f0703f6ef2 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85238 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5613f209c7
commit
9b308f4d54
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ out:
|
|||
|
||||
if (status == MBOX_PSP_SUCCESS && rd_bios_mbox_checksum_en())
|
||||
wr_bios_mbox_checksum(calc_psp_buffer_checksum8());
|
||||
|
||||
if (status != MBOX_PSP_SUCCESS)
|
||||
printk(BIOS_ERR, "PSP: SMI processing error. staus code %#x\n", status);
|
||||
}
|
||||
|
||||
/* TODO: check if all wbinvd() calls are necessary */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue