From patchwork Wed Aug 30 00:27:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balbir Singh X-Patchwork-Id: 807365 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@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 3xhmbk6TS9z9s8w for ; Wed, 30 Aug 2017 10:29:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sArR58i1"; 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 3xhmbk5NVhzDqJ9 for ; Wed, 30 Aug 2017 10:29:38 +1000 (AEST) 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="sArR58i1"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pf0-x242.google.com (mail-pf0-x242.google.com [IPv6:2607:f8b0:400e:c00::242]) (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 3xhmYr3T7hzDq5b for ; Wed, 30 Aug 2017 10:28:00 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sArR58i1"; dkim-atps=neutral Received: by mail-pf0-x242.google.com with SMTP id a2so3275098pfj.4 for ; Tue, 29 Aug 2017 17:28:00 -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=dAKUazrBB8VxTAdaJOU5EEMkshGmZ9MTAoVx+vSq4Ow=; b=sArR58i1Siso7fnFsBkFgRiqOAdnFmMimgOlv+hM5tvtgvOaqouVLl7/svhI64VbeX 24w1lTxAgDYqlB/lwgcUrvxPI93R1gKL8JRLh6ygwlTJOFxKvChh+xidV0j3PFOf9ZGd vaSM1pzqegV/0u3Q2appl7jovDRgXd2MD9cxqXM8F/ZKLGJhkrVdH1CZ/REuYrD4XtwI 76miLMVux1uDnd5JbGLLGnQ3+1NqcWudMxqzrpb82hLye/TP1YMal4AKdJnaO0rdrrZ5 ccwi+iW7AjZyTxqF2lg/BgT85cUxWAFhJbhtagOcKu4R32QcqD9SSMiXSO8FN6xm9d3G aAZA== 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=dAKUazrBB8VxTAdaJOU5EEMkshGmZ9MTAoVx+vSq4Ow=; b=WzgpechpRanwzyHSSxeB1N/KP9+vQwwgqFYAA6dA+2Y7vgk8euLj0+UDhbGf5gJFtx hfhuafTLLNICSOmp+1s8sCvHL1Upl4Fra31k4DDJhp3QVrdb1pUlnm8anLBnvgRj6gu8 kIPqKlVj1lHw9naFApRJ7zWl0fFkC2k5g2e7xasoICu/kNzvjegKOVefYpuYKYDSRoxp gHIlBOmgFS/uE+pRfBt1wxAjCrgA+O8sPvCaMPHNJJvzBp+zpmQ5YZonLUQAa7knOsXS y930vdNsC9aiViI6YkljOzqvr0BIb6vL9pBVWVfTJkwZD7JfXtuM/kgMbfAaNPkBdUBq 9PcQ== X-Gm-Message-State: AHYfb5hXzWsWHnnBs5CC+L1Jjl64hNAi1hpw0LoG+Mj4iQam6uDjSOim E/nuCP0Mm3UlXg== X-Received: by 10.99.175.10 with SMTP id w10mr1996767pge.373.1504052878156; Tue, 29 Aug 2017 17:27:58 -0700 (PDT) Received: from MiWiFi-R3-srv.au.ibm.com (14-202-194-140.static.tpgi.com.au. [14.202.194.140]) by smtp.gmail.com with ESMTPSA id a13sm6126216pgd.71.2017.08.29.17.27.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Aug 2017 17:27:57 -0700 (PDT) From: Balbir Singh To: mpe@ellerman.id.au Subject: [PATCH 1/2] powerpc/xmon: hdec is now 64bits Date: Wed, 30 Aug 2017 10:27:44 +1000 Message-Id: <20170830002745.29526-1-bsingharora@gmail.com> X-Mailer: git-send-email 2.9.4 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" ISA 300 defines hypervisor decrementer to be 64 bits in length. This patch extends the print format for all archs to be 64 bits Signed-off-by: Balbir Singh --- arch/powerpc/xmon/xmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 9e68f1d..1b26d53 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -1749,7 +1749,7 @@ static void dump_206_sprs(void) printf("sdr1 = %.16lx hdar = %.16lx hdsisr = %.8x\n", mfspr(SPRN_SDR1), mfspr(SPRN_HDAR), mfspr(SPRN_HDSISR)); - printf("hsrr0 = %.16lx hsrr1 = %.16lx hdec = %.8x\n", + printf("hsrr0 = %.16lx hsrr1 = %.16lx hdec = %.16lx\n", mfspr(SPRN_HSRR0), mfspr(SPRN_HSRR1), mfspr(SPRN_HDEC)); printf("lpcr = %.16lx pcr = %.16lx lpidr = %.8x\n", mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID));