Re: kexec: device shutdown vs. remove

From: Benjamin Herrenschmidt
Date: Sun Jul 24 2016 - 20:30:27 EST

On Sun, 2016-07-24 at 16:36 -0500, Eric W. Biederman wrote:
> > A lot of drivers we care about are modular. But maybe the right
> > approach is to do something like remove() if it exist and
> shutdown() if
> > it doesn't ? Or a new callback for kexec ? quiesce() ?
> Perhaps remove if shutdown does not exist. What this really takes is
> someone to care enough to sort through this mess.

Right, I have a test patch doing just that which I'm about to start
testing internally.