From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (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 3z3rvV22VlzDsQM for ; Sun, 24 Dec 2017 03:49:41 +1100 (AEDT) Received: by mail-pl0-x244.google.com with SMTP id s10so14580329plj.5 for ; Sat, 23 Dec 2017 08:49:41 -0800 (PST) From: Nicholas Piggin To: linuxppc-dev@lists.ozlabs.org Cc: Nicholas Piggin , David Gibson Subject: [PATCH 0/2] sreset driven panic/oops message printing fixes Date: Sun, 24 Dec 2017 02:49:21 +1000 Message-Id: <20171223164923.10587-1-npiggin@gmail.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Here's a couple of fixes that should go into 4.15 and possibly stable kernels as well. Most of the time when you hit the system reset button, either you're a developer with xmon enabled or customer with a crash dumper enabled. But if neither is the case, then the result is currently pretty useless. After these patches we get nice oops trace on each CPU. Nicholas Piggin (2): powerpc: System reset avoid interleaving oops using die synchronisation powerpc/pseries,ps3: panic flush kernel messages before halting system arch/powerpc/include/asm/bug.h | 3 ++- arch/powerpc/kernel/traps.c | 26 +++++++++++++++++++++++++- arch/powerpc/platforms/powernv/opal.c | 18 ++++-------------- arch/powerpc/platforms/ps3/setup.c | 1 + arch/powerpc/platforms/pseries/setup.c | 8 +++++++- 5 files changed, 39 insertions(+), 17 deletions(-) -- 2.15.0