Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-10-04 Thread Subrata Modak
Also, On Tue, 2011-10-04 at 13:19 +0530, Ravi K Nittala wrote: > The RTAS firmware flash update is conducted using an RTAS call that is > serialized by lock_rtas() which uses spin_lock. While the flash is in > progress, rtasd performs scan for any RTAS events that are generated by > the system. rt

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-09-22 Thread Benjamin Herrenschmidt
On Wed, 2011-09-21 at 15:59 +0530, Ravi K Nittala wrote: > The RTAS firmware flash update is conducted using an RTAS call that is > serialized by lock_rtas() which uses spin_lock. While the flash is in > progress, rtasd performs scan for any RTAS events that are generated by > the system. rtasd kee

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-29 Thread Suzuki Poulose
On 08/30/11 11:51, Benjamin Herrenschmidt wrote: On Tue, 2011-08-30 at 16:19 +1000, Benjamin Herrenschmidt wrote: On Tue, 2011-08-30 at 11:47 +0530, Suzuki Poulose wrote: The flash operation is performed in the reboot path at the very end. So, even if we restart the event scan, the thread ma

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-29 Thread Benjamin Herrenschmidt
On Tue, 2011-08-30 at 16:19 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2011-08-30 at 11:47 +0530, Suzuki Poulose wrote: > > > > > > > The flash operation is performed in the reboot path at the very end. > > So, even if we restart the event scan, the thread may not be able to > > process > > th

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-29 Thread Benjamin Herrenschmidt
On Tue, 2011-08-30 at 11:47 +0530, Suzuki Poulose wrote: > > > > The flash operation is performed in the reboot path at the very end. > So, even if we restart the event scan, the thread may not be able to > process > the events. Hence we thought we would leave it stopped. > > Again, we do not hav

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-29 Thread Suzuki Poulose
On 08/30/11 11:33, Benjamin Herrenschmidt wrote: On Wed, 2011-07-27 at 17:39 +0530, Ravi K. Nittala wrote: The firmware flash update is conducted using an RTAS call, that is serialized by lock_rtas() which uses spin_lock. rtasd keeps scanning for the RTAS events generated on the machine. This is

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-29 Thread Benjamin Herrenschmidt
On Wed, 2011-07-27 at 17:39 +0530, Ravi K. Nittala wrote: > The firmware flash update is conducted using an RTAS call, that is serialized > by lock_rtas() which uses spin_lock. rtasd keeps scanning for the RTAS events > generated on the machine. This is performed via a delayed workqueue, invoking >

Re: [PATCH] PSeries: Cancel RTAS event scan before firmware flash

2011-08-07 Thread Suzuki Poulose
On 07/27/11 17:39, Ravi K. Nittala wrote: The firmware flash update is conducted using an RTAS call, that is serialized by lock_rtas() which uses spin_lock. rtasd keeps scanning for the RTAS events generated on the machine. This is performed via a delayed workqueue, invoking an RTAS call to scan