Re: powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-24 Thread Michael Ellerman
On Mon, 2018-04-23 at 04:59:27 UTC, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > The current code extracts the physical address for UE errors and then > hooks it up into memory failure infrastructure. On successful extraction > of physical address it wrongly sets "handled = 1" which m

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Balbir Singh
On Mon, 2018-04-23 at 10:29 +0530, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > The current code extracts the physical address for UE errors and then > hooks it up into memory failure infrastructure. On successful extraction > of physical address it wrongly sets "handled = 1" which me

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Balbir Singh
On Mon, 2018-04-23 at 23:01 +1000, Nicholas Piggin wrote: > On Mon, 23 Apr 2018 21:14:12 +1000 > Balbir Singh wrote: > > > On Mon, Apr 23, 2018 at 8:33 PM, Mahesh Jagannath Salgaonkar > > wrote: > > > On 04/23/2018 12:21 PM, Balbir Singh wrote: > > > > On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Mahesh Jagannath Salgaonkar
On 04/23/2018 04:44 PM, Balbir Singh wrote: > On Mon, Apr 23, 2018 at 8:33 PM, Mahesh Jagannath Salgaonkar > wrote: >> On 04/23/2018 12:21 PM, Balbir Singh wrote: >>> On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar >>> wrote: From: Mahesh Salgaonkar The current code extracts

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Nicholas Piggin
On Mon, 23 Apr 2018 21:14:12 +1000 Balbir Singh wrote: > On Mon, Apr 23, 2018 at 8:33 PM, Mahesh Jagannath Salgaonkar > wrote: > > On 04/23/2018 12:21 PM, Balbir Singh wrote: > >> On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar > >> wrote: > >>> From: Mahesh Salgaonkar > >>> > >>> The

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Balbir Singh
On Mon, Apr 23, 2018 at 8:33 PM, Mahesh Jagannath Salgaonkar wrote: > On 04/23/2018 12:21 PM, Balbir Singh wrote: >> On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar >> wrote: >>> From: Mahesh Salgaonkar >>> >>> The current code extracts the physical address for UE errors and then >>> hooks

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Mahesh Jagannath Salgaonkar
On 04/23/2018 12:21 PM, Balbir Singh wrote: > On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar > wrote: >> From: Mahesh Salgaonkar >> >> The current code extracts the physical address for UE errors and then >> hooks it up into memory failure infrastructure. On successful extraction >> of phys

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-23 Thread Balbir Singh
On Mon, Apr 23, 2018 at 4:51 PM, Balbir Singh wrote: > On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar > wrote: >> From: Mahesh Salgaonkar >> >> The current code extracts the physical address for UE errors and then >> hooks it up into memory failure infrastructure. On successful extraction

Re: [PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-22 Thread Balbir Singh
On Mon, Apr 23, 2018 at 2:59 PM, Mahesh J Salgaonkar wrote: > From: Mahesh Salgaonkar > > The current code extracts the physical address for UE errors and then > hooks it up into memory failure infrastructure. On successful extraction > of physical address it wrongly sets "handled = 1" which mean

[PATCH] powerpc/mce: Fix a bug where mce loops on memory UE.

2018-04-22 Thread Mahesh J Salgaonkar
From: Mahesh Salgaonkar The current code extracts the physical address for UE errors and then hooks it up into memory failure infrastructure. On successful extraction of physical address it wrongly sets "handled = 1" which means this UE error has been recovered. Since MCE handler gets return valu