Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-23 Thread Linas Vepstas
2009/7/16 Michael Ellerman : > On Thu, 2009-07-16 at 09:33 -0700, Mike Mason wrote: >> Michael Ellerman wrote: >> > On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: >> >> This patch increments the device_node reference counter when an EEH >> >> error occurs and decrements the counter when the e

Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-22 Thread Michael Ellerman
On Wed, 2009-07-22 at 16:41 -0700, Mike Mason wrote: > Michael Ellerman wrote: > > On Thu, 2009-07-16 at 09:33 -0700, Mike Mason wrote: > >> Michael Ellerman wrote: > >>> On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: > This patch increments the device_node reference counter when an EEH

Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-22 Thread Mike Mason
Michael Ellerman wrote: On Thu, 2009-07-16 at 09:33 -0700, Mike Mason wrote: Michael Ellerman wrote: On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: This patch increments the device_node reference counter when an EEH error occurs and decrements the counter when the event has been handled.

Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-16 Thread Michael Ellerman
On Thu, 2009-07-16 at 09:33 -0700, Mike Mason wrote: > Michael Ellerman wrote: > > On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: > >> This patch increments the device_node reference counter when an EEH > >> error occurs and decrements the counter when the event has been > >> handled. This i

Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-16 Thread Mike Mason
Michael Ellerman wrote: On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: This patch increments the device_node reference counter when an EEH error occurs and decrements the counter when the event has been handled. This is to prevent the device_node from being released until eeh_event_handle

Re: [PATCH] Hold reference to device_node during EEH event handling

2009-07-15 Thread Michael Ellerman
On Wed, 2009-07-15 at 14:43 -0700, Mike Mason wrote: > This patch increments the device_node reference counter when an EEH > error occurs and decrements the counter when the event has been > handled. This is to prevent the device_node from being released until > eeh_event_handler() has had a chanc

[PATCH] Hold reference to device_node during EEH event handling

2009-07-15 Thread Mike Mason
This patch increments the device_node reference counter when an EEH error occurs and decrements the counter when the event has been handled. This is to prevent the device_node from being released until eeh_event_handler() has had a chance to deal with the event. We've seen cases where the dev