Message ID | 1575465990-25353-1-git-send-email-ego@linux.vnet.ibm.com |
---|---|
Headers | show
Return-Path: <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Sfn254Kjz9sR1 for <incoming@patchwork.ozlabs.org>; Thu, 5 Dec 2019 00:28:22 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 47Sfn03jFKzDqT9 for <incoming@patchwork.ozlabs.org>; Thu, 5 Dec 2019 00:28:20 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=linux.vnet.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=ego@linux.vnet.ibm.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47SflB3GMKzDqSp for <skiboot@lists.ozlabs.org>; Thu, 5 Dec 2019 00:26:45 +1100 (AEDT) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB4DNTFl092100 for <skiboot@lists.ozlabs.org>; Wed, 4 Dec 2019 08:26:42 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 2wnsd552mc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <skiboot@lists.ozlabs.org>; Wed, 04 Dec 2019 08:26:42 -0500 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id xB4DNe1w099148 for <skiboot@lists.ozlabs.org>; Wed, 4 Dec 2019 08:26:41 -0500 Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0b-001b2d01.pphosted.com with ESMTP id 2wnsd552kq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Dec 2019 08:26:41 -0500 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id xB4DQ1iZ014338; Wed, 4 Dec 2019 13:26:40 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma01dal.us.ibm.com with ESMTP id 2wkg26xvgr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Dec 2019 13:26:40 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id xB4DQeva65274250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Dec 2019 13:26:40 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 03C0BBE058; Wed, 4 Dec 2019 13:26:40 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B2CFABE056; Wed, 4 Dec 2019 13:26:39 +0000 (GMT) Received: from sofia.ibm.com (unknown [9.124.31.190]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Wed, 4 Dec 2019 13:26:39 +0000 (GMT) Received: by sofia.ibm.com (Postfix, from userid 1000) id BF8E02E2EB4; Wed, 4 Dec 2019 18:56:37 +0530 (IST) From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> To: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>, Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>, "Oliver O'Halloran" <oohall@gmail.com> Date: Wed, 4 Dec 2019 18:56:27 +0530 Message-Id: <1575465990-25353-1-git-send-email-ego@linux.vnet.ibm.com> X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95, 18.0.572 definitions=2019-12-04_03:2019-12-04, 2019-12-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 spamscore=0 priorityscore=1501 mlxscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 mlxlogscore=698 impostorscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912040109 Subject: [Skiboot] [PATCH 0/3] xscom: Don't create PELs for non-severe read/write failures X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development <skiboot.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/skiboot/> List-Post: <mailto:skiboot@lists.ozlabs.org> List-Help: <mailto:skiboot-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/skiboot>, <mailto:skiboot-request@lists.ozlabs.org?subject=subscribe> Cc: Skiboot mailing list <skiboot@lists.ozlabs.org>, "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" <skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org> |
Series |
xscom: Don't create PELs for non-severe read/write failures
|
expand
|
From: "Gautham R. Shenoy" <ego@linux.vnet.ibm.com> Under certain conditions, xscom read/write calls initiated by the userspace (either via HBRT or xscom-utils) can fail with an "invalid address" status due to known hardware errors. These failures are not severe and can be handled by the callers. Thus we need not create elogs for them. This patchset ensures that when xscom read/write calls initiated via respective OPAL calls fail with a "invalid address" status, we only log the error in the OPAL msglog and do not create PEL records such errors. Note that we continue to create PEL records for all other xscom read/write failures. Gautham R. Shenoy (3): xscom: Conditionally create elogs for read/write addr failures xscom: Add a create_addr_elog parameter to _xscom_read/write() calls xscom: Don't create PEL for non-severe xscom_read/write opal-call fail hw/sbe-p8.c | 7 +++--- hw/xscom.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++----------- include/xscom.h | 10 +++++---- 3 files changed, 64 insertions(+), 19 deletions(-)