[Skiboot] [PATCH 3/6] FSP/ELOG: Do not reject elog in acknowledgement path

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Apr 7 22:56:09 AEST 2015


Remove useless elog_reject_head call in acknowledgement path.
We can ACK elog in any order.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-elog-read.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c
index 0442e1a..16667ae 100644
--- a/hw/fsp/fsp-elog-read.c
+++ b/hw/fsp/fsp-elog-read.c
@@ -374,8 +374,6 @@ static int64_t fsp_opal_elog_ack(uint64_t ack_id)
 		return rc;
 	}
 	lock(&elog_read_lock);
-	if (ack_id == elog_head_id)
-		elog_reject_head();
 	list_for_each_safe(&elog_read_pending, record, next_record, link) {
 		if (record->log_id != ack_id)
 			continue;



More information about the Skiboot mailing list