]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
powerpc/xmon: Dump all 64 bits of HDEC
authorBalbir Singh <bsingharora@gmail.com>
Wed, 30 Aug 2017 00:27:44 +0000 (10:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:43 +0000 (14:26 +1000)
ISA 3.0 defines hypervisor decrementer to be 64 bits in length.
This patch extends the print format for to be 64 bits.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/xmon/xmon.c

index 9e68f1dca5685de84165542b3a7f24a935c4cb5e..1b26d5394f197b7b5c38dc20a0785ec7ba3016de 100644 (file)
@@ -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));