Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-04-06 Thread Alexey Kardashevskiy
On 06/03/17 12:54, Alexey Kardashevskiy wrote: > On 06/03/17 10:22, Gavin Shan wrote: >> On Fri, Mar 03, 2017 at 04:59:11PM +1100, Alexey Kardashevskiy wrote: >>> On 03/03/17 15:47, Russell Currey wrote: eeh_handle_special_event() is called when an EEH event is detected but can't be narro

Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-05 Thread Alexey Kardashevskiy
On 06/03/17 10:22, Gavin Shan wrote: > On Fri, Mar 03, 2017 at 04:59:11PM +1100, Alexey Kardashevskiy wrote: >> On 03/03/17 15:47, Russell Currey wrote: >>> eeh_handle_special_event() is called when an EEH event is detected but >>> can't be narrowed down to a specific PE. This function looks throu

Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-05 Thread Gavin Shan
On Fri, Mar 03, 2017 at 04:59:11PM +1100, Alexey Kardashevskiy wrote: >On 03/03/17 15:47, Russell Currey wrote: >> eeh_handle_special_event() is called when an EEH event is detected but >> can't be narrowed down to a specific PE. This function looks through >> every PE to find one in an erroneous

Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-02 Thread Alexey Kardashevskiy
On 03/03/17 16:55, Gavin Shan wrote: > On Fri, Mar 03, 2017 at 03:47:18PM +1100, Russell Currey wrote: >> eeh_handle_special_event() is called when an EEH event is detected but >> can't be narrowed down to a specific PE. This function looks through >> every PE to find one in an erroneous state, th

Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-02 Thread Alexey Kardashevskiy
On 03/03/17 15:47, Russell Currey wrote: > eeh_handle_special_event() is called when an EEH event is detected but > can't be narrowed down to a specific PE. This function looks through > every PE to find one in an erroneous state, then calls the regular event > handler eeh_handle_normal_event() on

Re: [PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-02 Thread Gavin Shan
On Fri, Mar 03, 2017 at 03:47:18PM +1100, Russell Currey wrote: >eeh_handle_special_event() is called when an EEH event is detected but >can't be narrowed down to a specific PE. This function looks through >every PE to find one in an erroneous state, then calls the regular event >handler eeh_handl

[PATCH] powerpc/eeh: Avoid use after free in eeh_handle_special_event()

2017-03-02 Thread Russell Currey
eeh_handle_special_event() is called when an EEH event is detected but can't be narrowed down to a specific PE. This function looks through every PE to find one in an erroneous state, then calls the regular event handler eeh_handle_normal_event() once it knows which PE has an error. However, if e