From patchwork Wed Jul 25 01:47:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 948986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41ZymK6HH3z9s1x for ; Wed, 25 Jul 2018 11:48:01 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e5PSLEnU"; 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 41ZymK4VhxzDrJ5 for ; Wed, 25 Jul 2018 11:48:01 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e5PSLEnU"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c01::243; helo=mail-pl0-x243.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="e5PSLEnU"; dkim-atps=neutral Received: from mail-pl0-x243.google.com (mail-pl0-x243.google.com [IPv6:2607:f8b0:400e:c01::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41ZymD3q8nzDrHF for ; Wed, 25 Jul 2018 11:47:54 +1000 (AEST) Received: by mail-pl0-x243.google.com with SMTP id b1-v6so2550136pls.5 for ; Tue, 24 Jul 2018 18:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ElVh9xmYA+g/3tQdVhZwDnBOG2hZg4y6GDwo3HDbOso=; b=e5PSLEnUqVG6ilStvNzobhTW9gqsZ5hPA2J4baEf541f7lTdXSvjXthQHxwIxaBl2K dPeYcHJevWo9wT1V0oGC5Iugqqv5PwdZa566GgxZIoxt63DIqHZYtkb4nCxdHskQVwLy nbW19i+bOAnPZNs3aNFXFCgHKEjSVTjaI+hvPPShcEQAntL0nOJhhGSwSmYwG6GGHOnh 3dfJxnSd8JlLfxLijEy0XbP5fEounqIuotOQ8hrxiTdCWLDxyTTt8CPTTitlrF2uAdgF COrOwpEJc2ZHOA3BZjRpY+UOtybK5uDcBVeAqzbW+Bt34gwgNKSLUVo2TihaBC6pSi7H hQrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ElVh9xmYA+g/3tQdVhZwDnBOG2hZg4y6GDwo3HDbOso=; b=Sc0nOUITNDoKXABzovxJxRJelmngDacqI/iHuVjUv7fVuuONIKbqSaXalbYaEpaSXM mmMa8UwewLX/JsOx53M6E25kGmDHRXG/sqD3ff2qaqdl+YgIH9a3Bsj8hHs0FBaHNuMU AVd9w5ok1b+8rc0sDYIPeCStsUGSxYE5aLjqqxOW7KJ8wTJsH6eZehWWUEGgQQ9PNCgq BYdCP4hRAjOn6CDmOahFbNqUJUfcf7nL6QzBfCoI/fXCeoWFX8GIuE8Ljccj8ngwqvaW ppX6KREXlPsk+Tx1OmQYqjwPlec68TnD2NXouXtL9KIMvyuYGBUPBHGNpx2IzpHbqc8U g1kA== X-Gm-Message-State: AOUpUlHbmUpJDsqTbCdi6uMRvVskNxPVTzs/e4KfCh/Yh26A1JjpNviL p80at6cogS0+hl/NTFbAGAVg+I2x X-Google-Smtp-Source: AAOMgpd8uB5psatlhf9Kbifc/X6jRhlQTiQAByXX4clNYGSN4htgwBQT42kUKNTZU2jt5rtSFjKVMA== X-Received: by 2002:a17:902:6e09:: with SMTP id u9-v6mr18665653plk.13.1532483272119; Tue, 24 Jul 2018 18:47:52 -0700 (PDT) Received: from flat-canetoad.au.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id i6-v6sm17760829pfo.107.2018.07.24.18.47.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 18:47:51 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Wed, 25 Jul 2018 11:47:34 +1000 Message-Id: <20180725014734.9199-1-oohall@gmail.com> X-Mailer: git-send-email 2.9.5 Subject: [Skiboot] [PATCH] hw/phb4: Print the PEs in the EEH dump in hex 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: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Linux always displays the PE number in hexidecimal while skiboot displays the PEST index (PE number) in decimal. This makes correlating errors between Skiboot and Linux more annoying than it should be so this patch makes Skiboot print the PEST number in hex. Signed-off-by: Oliver O'Halloran --- hw/phb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/phb4.c b/hw/phb4.c index 5d2dcd0483c7..58b5f6091f41 100644 --- a/hw/phb4.c +++ b/hw/phb4.c @@ -2050,7 +2050,7 @@ static void phb4_eeh_dump_regs(struct phb4 *p) for (i = 0; i < OPAL_PHB4_NUM_PEST_REGS; i++) { if (!s->pestA[i] && !s->pestB[i]) continue; - PHBERR(p, " PEST[%03d] = %016llx %016llx\n", + PHBERR(p, " PEST[%03x] = %016llx %016llx\n", i, s->pestA[i], s->pestB[i]); }