Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-17 Thread Benjamin Herrenschmidt
On Fri, 2014-01-17 at 09:13 -0500, Vivek Goyal wrote: > On Fri, Jan 17, 2014 at 04:59:13PM +1100, Benjamin Herrenschmidt wrote: > > On Thu, 2014-01-16 at 20:52 -0800, Eric W. Biederman wrote: > > > > > > I think we have largely survied until now because kdump is so popular > > > and kdump winds up

RE: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-17 Thread Sumner, William
rom: kexec [mailto:kexec-boun...@lists.infradead.org] On Behalf Of Vivek Goyal Sent: Friday, January 17, 2014 8:13 AM To: Benjamin Herrenschmidt Cc: Matthew Garrett; ke...@lists.infradead.org; linux-kernel@vger.kernel.org; Eric W. Biederman; Andrew Morton; Linus Torvalds Subject: Re: [Q] Why does

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-17 Thread Vivek Goyal
On Fri, Jan 17, 2014 at 04:59:13PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2014-01-16 at 20:52 -0800, Eric W. Biederman wrote: > > > > I think we have largely survied until now because kdump is so popular > > and kdump winds up having to reinitialize devices from any random > > state. > >

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Benjamin Herrenschmidt
On Thu, 2014-01-16 at 20:52 -0800, Eric W. Biederman wrote: > > I think we have largely survied until now because kdump is so popular > and kdump winds up having to reinitialize devices from any random > state. kdump also doesn't care too much if the device is still DMA'ing to the old kernel memo

Re: [Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Eric W. Biederman
Benjamin Herrenschmidt writes: > Hi Folks ! > > Sorry for the semi-random CC list, not sure who owns kexec nowadays. So > we are working on a new crop of power servers for which the bootloader > is going to be using kexec. > > As expected, we've been chasing a number of reliability issues mostly

[Q] Why does kexec use device_shutdown rather than ubind them

2014-01-16 Thread Benjamin Herrenschmidt
Hi Folks ! Sorry for the semi-random CC list, not sure who owns kexec nowadays. So we are working on a new crop of power servers for which the bootloader is going to be using kexec. As expected, we've been chasing a number of reliability issues mostly due to drivers not behaving properly, such as