From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vzNHs30ZYzDqJL for ; Thu, 6 Apr 2017 23:06:01 +1000 (AEST) In-Reply-To: <149070869902.18309.14355142133222424050.stgit@jupiter.in.ibm.com> To: Mahesh Salgaonkar , linuxppc-dev From: Michael Ellerman Cc: Nicholas Piggin Subject: Re: [1/2] powerpc/book3s: Display more info for MCE error console log. Message-Id: <3vzNHs1wPhz9s8N@ozlabs.org> Date: Thu, 6 Apr 2017 23:06:01 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2017-03-28 at 13:45:04 UTC, Mahesh Salgaonkar wrote: > From: Mahesh Salgaonkar > > For D-side errors we print data load/store address as 'Effective address' > that caused MC. In addition to print NIP, print kernel function name as well. > > After this patch the MCE console log would look like: > > [ 291.444281] Severe Machine check interrupt [Recovered] > [ 291.444477] NIP [d00000001bc70194]: init_module+0x194/0x2b0 [bork_kernel] > [ 291.444707] Initiator: CPU > [ 291.444761] Error type: SLB [Parity] > [ 291.444793] Effective address: d000000026de0000 > > Signed-off-by: Mahesh Salgaonkar Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5b1d6fc2d4d927852214f2a7e2a8eb cheers