summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-04-07 18:26:09 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-07 17:48:26 +1000
commit71def4e761f272061c43a452d8906a4c899f1840 (patch)
treeacae8d75652015434287d6c68f49bafca9634436 /hw
parent7e14bf796bce9eb94dbf0a5effbcd6f101958c3c (diff)
downloadtalos-skiboot-71def4e761f272061c43a452d8906a4c899f1840.tar.gz
talos-skiboot-71def4e761f272061c43a452d8906a4c899f1840.zip
FSP/ELOG: Do not reject elog in acknowledgement path
Remove useless elog_reject_head call in acknowledgement path. We can ACK elog in any order. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp-elog-read.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/fsp/fsp-elog-read.c b/hw/fsp/fsp-elog-read.c
index 0442e1ac..16667aee 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;
OpenPOWER on IntegriCloud