From patchwork Tue Aug 27 16:33:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrii Anisov X-Patchwork-Id: 11117261 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 828C31399 for ; Tue, 27 Aug 2019 16:35:50 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5D874214DA for ; Tue, 27 Aug 2019 16:35:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bT1wDe5d" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D874214DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i2ePc-0004ZJ-8B; Tue, 27 Aug 2019 16:33:40 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i2ePb-0004Z9-7A for xen-devel@lists.xenproject.org; Tue, 27 Aug 2019 16:33:39 +0000 X-Inumbo-ID: 6bcea6a0-c8e8-11e9-8980-bc764e2007e4 Received: from mail-lf1-x144.google.com (unknown [2a00:1450:4864:20::144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 6bcea6a0-c8e8-11e9-8980-bc764e2007e4; Tue, 27 Aug 2019 16:33:38 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id n19so15687507lfe.13 for ; Tue, 27 Aug 2019 09:33:38 -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=9rQRUXPKNMSnB0hA3pjo5R6Axo+XMHgf6/hfvw1UOMg=; b=bT1wDe5da8aC8dZ7gP3jH8DbHqms9nkp4erG2zLnVYBECGeNqIZWec9HffyOaTk/8J mUOhPfK8UDYAjUBGpxzoh9RMIRRj9FGf07kRDTQWZAGyffk/Qvzjo39Bf29sIuHtUpvU 9QuvnJ+rfDzmSqoald5na5Qp4giNrCbl0eaJSpgcGZJbJVx8qMecycremE0ymLDTXAeS HJLMtQAPgHkFdwzA0UV17P/0n9ZgH5ziUsWZxlA8x5yPuUgWOs58MIG597In1tIJ/reE V2YaCM18SejHZKJdxQnf70bBvUl5h9ibwQF2E7KBKLb6kzJn+oXHfo1kQfy++gz7LESn FKNA== 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=9rQRUXPKNMSnB0hA3pjo5R6Axo+XMHgf6/hfvw1UOMg=; b=KG8Kyj1e3PXd5wAak5pdO5RLT4U5mxXtRr1ec/rgzIlJf8IhJy7kWty9jcMRPZth+V 2sSM23Savh4XADkSIOTx4lCAfJOTPCEFJBrxSOayJ73U0G8OUOMHABB2w8zXu1QpCpL6 Zu7oyovxAMt+Ssy7e3oSLEj8wgciPcaQgdhfXMcrgujJU7oQqjf0BMb7UWjQmD9hP/la E6zZNm8Evzi/KK47g1LmuatySutRQCfjBvtX29rArP8XSQbAkeJ0wyLLU1OnD4zozVSK KH8dr5q4q1vNPoyxHbbv5esHgzBBYHpYh7OejpAWjCtIP/xDuWoAd+07NHctjkUI6UCX M5AQ== X-Gm-Message-State: APjAAAU3rYaFYVb31eUWGyKEOpC842P5OL8ELsu69rt5gF7x0m+m++kl piDFc+nGZVI7aACDtmdLinU= X-Google-Smtp-Source: APXvYqwX9VSAbVKxxQq+XqRf1iV5tsuDAjTX6pNKTJJmTSFRJWJXgKigLvVHGF4/ijoYoBsEgDPBBg== X-Received: by 2002:a19:3f47:: with SMTP id m68mr10498707lfa.108.1566923617153; Tue, 27 Aug 2019 09:33:37 -0700 (PDT) Received: from aanisov-work.kyiv.epam.com (ll-22.209.223.85.sovam.net.ua. [85.223.209.22]) by smtp.gmail.com with ESMTPSA id b30sm147466lfq.59.2019.08.27.09.33.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Aug 2019 09:33:35 -0700 (PDT) From: Andrii Anisov To: Date: Tue, 27 Aug 2019 19:33:34 +0300 Message-Id: <1566923614-12503-1-git-send-email-andrii.anisov@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Xen-devel] [PATCH] arm/traps.c: Adjust HPFAR_EL2 representation X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Volodymyr Babchuk , Julien Grall , Stefano Stabellini , Andrii Anisov , xen-devel@lists.xenproject.org MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Andrii Anisov In the commit af156ff0859c8d362a5706640614c9d10f62adf2, it was left unattended HPFAR_EL2 register output. Now it is printed with 1608 digits, what is way too wide even for the biggest monitors. So cleanup excessive paddings. Signed-off-by: Andrii Anisov --- xen/arch/arm/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index f013297..addccb9 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -938,7 +938,7 @@ static void _show_registers(const struct cpu_user_regs *regs, printk(" TTBR0_EL2: %016"PRIx64"\n", READ_SYSREG64(TTBR0_EL2)); printk("\n"); printk(" ESR_EL2: %08"PRIx32"\n", regs->hsr); - printk(" HPFAR_EL2: %016"PRIregister"\n", READ_SYSREG(HPFAR_EL2)); + printk(" HPFAR_EL2: %"PRIregister"\n", READ_SYSREG(HPFAR_EL2)); #ifdef CONFIG_ARM_32 printk(" HDFAR: %08"PRIx32"\n", READ_CP32(HDFAR));