Re: [PATCH v4 5/5] powerpc/mce: hookup memory_failure for UE errors

2017-10-16 Thread Michael Ellerman
Balbir Singh writes: > On Mon, Oct 16, 2017 at 4:38 PM, Michael Ellerman wrote: >> Balbir Singh writes: >> >>> If we are in user space and hit a UE error, we now have the >>> basic infrastructure to walk the page tables and find out >>> the effective address that was accessed, since the DAR >>>

Re: [PATCH v4 5/5] powerpc/mce: hookup memory_failure for UE errors

2017-10-15 Thread Balbir Singh
On Mon, Oct 16, 2017 at 4:38 PM, Michael Ellerman wrote: > Balbir Singh writes: > >> If we are in user space and hit a UE error, we now have the >> basic infrastructure to walk the page tables and find out >> the effective address that was accessed, since the DAR >> is not valid. >> >> We use a w

Re: [PATCH v4 5/5] powerpc/mce: hookup memory_failure for UE errors

2017-10-15 Thread Michael Ellerman
Balbir Singh writes: > If we are in user space and hit a UE error, we now have the > basic infrastructure to walk the page tables and find out > the effective address that was accessed, since the DAR > is not valid. > > We use a work_queue content to hookup the bad pfn, any > other context causes

[PATCH v4 5/5] powerpc/mce: hookup memory_failure for UE errors

2017-09-28 Thread Balbir Singh
If we are in user space and hit a UE error, we now have the basic infrastructure to walk the page tables and find out the effective address that was accessed, since the DAR is not valid. We use a work_queue content to hookup the bad pfn, any other context causes problems, since memory_failure itse