On Mon, 2019-04-29 at 18:15:48 UTC, Mahesh Salgaonkar wrote:
> Also add cpu number while displaying mce log. This will help cleaner logs
> when mce hits on multiple cpus simultaneously.
> 
> before the changes the mce o/p was:
> 
> [  127.223515] Severe Machine check interrupt [Recovered]
> [  127.223530]   NIP [d00000000ba80280]: 
> insert_slb_entry.constprop.0+0x278/0x2c0 [mcetest_slb]
> [  127.223539]   Initiator: CPU
> [  127.223544]   Error type: SLB [Multihit]
> [  127.223550]     Effective address: d00000000ba80280
> 
> After this patch series changes the mce o/p will be:
> 
> [  471.959843] MCE: CPU80: machine check (Warning) Host SLB Multihit 
> [Recovered]
> [  471.959870] MCE: CPU80: NIP: [d00000000b550280] 
> insert_slb_entry.constprop.0+0x278/0x2c0 [mcetest_slb]
> [  471.959892] MCE: CPU80: Probable software error (some chance of hardware 
> cause)
> 
> UE in host application:
> 
> [ 1001.831517] MCE: CPU48: machine check (Severe) Host UE Load/Store DAR: 
> 00007fffc6079a80 paddr: 0000000f8e260000 [Not recovered]
> [ 1001.831518] MCE: CPU48: PID: 4584 Comm: find NIP: [0000000010023368]
> [ 1001.831519] MCE: CPU48: Hardware error
> 
> and for MCE in Guest:
> 
> [ 1289.447571] MCE: CPU80: machine check (Warning) Guest SLB Multihit DAR: 
> 000001001b6e0320 [Recovered]
> [ 1289.447615] MCE: CPU80: PID: 24765 Comm: qemu-system-ppc Guest NIP: 
> [00007fffa309dc60]
> [ 1289.447634] MCE: CPU80: Probable software error (some chance of hardware 
> cause)
> 
> Signed-off-by: Mahesh Salgaonkar <mah...@linux.vnet.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d6e8a150850601277039a548ffcdddd1

cheers

Reply via email to