{"id":805003,"url":"http://patchwork.ozlabs.org/api/1.2/patches/805003/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503496584-21970-5-git-send-email-mpe@ellerman.id.au/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.2/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<1503496584-21970-5-git-send-email-mpe@ellerman.id.au>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/1503496584-21970-5-git-send-email-mpe@ellerman.id.au/","date":"2017-08-23T13:56:24","name":"[5/5] powerpc/oops: Line up NIP & MSR with other rows","commit_ref":"a6036100edd1d8e024beb4b97c1f15c114660c6c","pull_url":null,"state":"accepted","archived":false,"hash":"53cbc09f2025838bd0341087e405abcc4d064fc2","submitter":{"id":46580,"url":"http://patchwork.ozlabs.org/api/1.2/people/46580/?format=json","name":"Michael Ellerman","email":"mpe@ellerman.id.au"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1503496584-21970-5-git-send-email-mpe@ellerman.id.au/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805003/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805003/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org","linuxppc-dev@ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xcpzv4ZQXz9ryv\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 24 Aug 2017 00:03:23 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xcpzv3hg8zDr34\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 24 Aug 2017 00:03:23 +1000 (AEST)","from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xcpr60Gl6zDrJk\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 23 Aug 2017 23:56:38 +1000 (AEST)","by ozlabs.org (Postfix)\n\tid 3xcpr56FT3z9s82; Wed, 23 Aug 2017 23:56:37 +1000 (AEST)","by ozlabs.org (Postfix, from userid 1034)\n\tid 3xcpr5594fz9s8P; Wed, 23 Aug 2017 23:56:37 +1000 (AEST)"],"From":"Michael Ellerman <mpe@ellerman.id.au>","To":"linuxppc-dev@ozlabs.org","Subject":"[PATCH 5/5] powerpc/oops: Line up NIP & MSR with other rows","Date":"Wed, 23 Aug 2017 23:56:24 +1000","Message-Id":"<1503496584-21970-5-git-send-email-mpe@ellerman.id.au>","X-Mailer":"git-send-email 2.7.4","In-Reply-To":"<1503496584-21970-1-git-send-email-mpe@ellerman.id.au>","References":"<1503496584-21970-1-git-send-email-mpe@ellerman.id.au>","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"},"content":"This is purely cosmetic, but does look nicer IMHO:\n\nBefore:\n\n  task: c000000001453400 task.stack: c000000001c6c000\n  NIP: c000000000a0fbfc LR: c000000000a0fbf4 CTR: c000000000ba6220\n  REGS: c0000001fffef820 TRAP: 0300   Not tainted  (4.13.0-rc6-gcc-6.3.1-00234-g423af27f7d81)\n  MSR: 8000000000009033 <SF,EE,ME,IR,DR,RI,LE>  CR: 88088242  XER: 00000000\n  CFAR: c0000000000b3488 DAR: 0000000000000000 DSISR: 42000000 SOFTE: 0\n\nAfter:\n  task: c000000001453400 task.stack: c000000001c6c000\n  NIP:  c000000000a0fbfc LR: c000000000a0fbf4 CTR: c000000000ba6220\n  REGS: c0000001fffef820 TRAP: 0300   Not tainted  (4.13.0-rc6-gcc-6.3.1-00234-g423af27f7d81-dirty)\n  MSR:  8000000000009033 <SF,EE,ME,IR,DR,RI,LE>  CR: 88088242  XER: 00000000\n  CFAR: c0000000000b34a4 DAR: 0000000000000000 DSISR: 42000000 SOFTE: 0\n\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>\n---\n arch/powerpc/kernel/process.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c\nindex 91f9819cb51b..234b1ee7864e 100644\n--- a/arch/powerpc/kernel/process.c\n+++ b/arch/powerpc/kernel/process.c\n@@ -1380,11 +1380,11 @@ void show_regs(struct pt_regs * regs)\n \n \tshow_regs_print_info(KERN_DEFAULT);\n \n-\tprintk(\"NIP: \"REG\" LR: \"REG\" CTR: \"REG\"\\n\",\n+\tprintk(\"NIP:  \"REG\" LR: \"REG\" CTR: \"REG\"\\n\",\n \t       regs->nip, regs->link, regs->ctr);\n \tprintk(\"REGS: %p TRAP: %04lx   %s  (%s)\\n\",\n \t       regs, regs->trap, print_tainted(), init_utsname()->release);\n-\tprintk(\"MSR: \"REG\" \", regs->msr);\n+\tprintk(\"MSR:  \"REG\" \", regs->msr);\n \tprint_msr_bits(regs->msr);\n \tpr_cont(\"  CR: %08lx  XER: %08lx\\n\", regs->ccr, regs->xer);\n \ttrap = TRAP(regs);\n","prefixes":["5/5"]}