summaryrefslogtreecommitdiffstats
path: root/hw/fsp/fsp-elog-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fsp/fsp-elog-read.c')
-rw-r--r--hw/fsp/fsp-elog-read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c
index 95a63a78..571e79a6 100644
--- a/hw/fsp/fsp-elog-read.c
+++ b/hw/fsp/fsp-elog-read.c
@@ -366,8 +366,10 @@ static void fsp_opal_resend_pending_logs(void)
{
struct fsp_log_entry *entry;
- lock(&elog_read_lock);
+ /* Check if any Sapphire logs are pending */
+ opal_resend_pending_logs();
+ lock(&elog_read_lock);
/*
* If processed list is not empty add all record from
* processed list to pending list at head of the list
OpenPOWER on IntegriCloud