From patchwork Wed Aug 29 07:13:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Currey X-Patchwork-Id: 963255 Return-Path: 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.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 420cW10kk4z9s3Z for ; Wed, 29 Aug 2018 17:21:33 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="d8jWt8UI"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 420cW06K0szF0gL for ; Wed, 29 Aug 2018 17:21:32 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="d8jWt8UI"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=russell.cc (client-ip=64.147.123.25; helo=wout2-smtp.messagingengine.com; envelope-from=ruscur@russell.cc; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="d8jWt8UI"; dkim-atps=neutral X-Greylist: delayed 466 seconds by postgrey-1.36 at bilbo; Wed, 29 Aug 2018 17:21:25 AEST Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 420cVs31vKzDr5Y for ; Wed, 29 Aug 2018 17:21:25 +1000 (AEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B6A52207; Wed, 29 Aug 2018 03:13:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 29 Aug 2018 03:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=87GU8gM0Lc4TB27SZ lmkjmC8ZJvslTWE2CuU8N6j4mA=; b=d8jWt8UIqRuToAFOSX4lbi2dOzb4Obb8v inph+vawOZczAxm5AT/qD9tKTM81IwMMbGgY3k1gxnQAHcc20+es3DrJUcAMEYIh t1zmVU2yi1WBnMLJPHzldMnvrhmZVYvryl2ZgNc/21V8yEcfAckjDDGMoYK8nxkJ u1T8vbe0zDdLHioWbEVoOI34SgTpBU2eKegRwlRCmzzjSAN3OZa2UVN1Je+FbluS /NwAt24jIXgzvIa/9qFyH9kcDbxW8LA2B0WABERpnurIAwp34b0S14yPOK5YlEKR m7ybzCuYSLTKRJ8FJY/iFIR99Af8xfCmO+41PX6gP/1w9N0q6lKbA== X-ME-Proxy: X-ME-Sender: Received: from snap.au.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 600C61028D; Wed, 29 Aug 2018 03:13:27 -0400 (EDT) From: Russell Currey To: skiboot@lists.ozlabs.org Date: Wed, 29 Aug 2018 17:13:11 +1000 Message-Id: <20180829071311.17497-1-ruscur@russell.cc> X-Mailer: git-send-email 2.17.1 Subject: [Skiboot] [PATCH] errorlog: Rename PHB3 to just PHB X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mukesh02@linux.vnet.ibm.com MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" I don't see a reason why there would need to be a PHB3 *specific* subsystem in the error logs, so rename it to PHB so that PHB4 and later can use it too without continually redefining it. This shouldn't change any existing assumptions because it's unused. Signed-off-by: Russell Currey Reviewed-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- include/errorlog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/errorlog.h b/include/errorlog.h index 285c185d..6da96649 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -175,7 +175,7 @@ struct opal_err_info { #define OPAL_UART 0x5541 /* UA */ #define OPAL_OCC 0x4F43 /* OC */ #define OPAL_OP_PANEL 0x4F50 /* OP */ -#define OPAL_PHB3 0x5048 /* PH */ +#define OPAL_PHB 0x5048 /* PH */ #define OPAL_PSI 0x5053 /* PS */ #define OPAL_VPD 0x5650 /* VP */ #define OPAL_XSCOM 0x5853 /* XS */ @@ -222,7 +222,7 @@ struct opal_err_info { #define OPAL_SRC_COMPONENT_UART 0xb000 #define OPAL_SRC_COMPONENT_OCC 0xc000 #define OPAL_SRC_COMPONENT_OP_PANEL 0xd000 -#define OPAL_SRC_COMPONENT_PHB3 0xe000 +#define OPAL_SRC_COMPONENT_PHB 0xe000 #define OPAL_SRC_COMPONENT_PSI 0xf000 enum opal_reasoncode {