Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1449230

Re: kexec: device shutdown vs. remove

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.unit0.net!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Benjamin Herrenschmidt <benh@kernel.crashing.org>
Newsgroups linux.kernel
Subject Re: kexec: device shutdown vs. remove
Date Mon, 25 Jul 2016 02:40:01 +0200
Message-ID <rYC65-69G-9@gated-at.bofh.it> (permalink)
References <rYcbD-7kW-1@gated-at.bofh.it> <rYjZv-3Nk-7@gated-at.bofh.it> <rYru1-8mY-1@gated-at.bofh.it> <rYzBf-4C0-3@gated-at.bofh.it>
X-Original-To "Eric W. Biederman" <ebiederm@xmission.com>
Content-Type text/plain; charset="UTF-8"
X-Mailer Evolution 3.20.4 (3.20.4-1.fc24)
MIME-Version 1.0
Content-Transfer-Encoding 8bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc Guenter Roeck <linux@roeck-us.net>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Joel Stanley <joel.stanley@au1.ibm.com>, Jeremy Kerr <jeremy.kerr@au1.ibm.com>, Greg KH <gregkh@linuxfoundation.org>
X-Original-Date Mon, 25 Jul 2016 10:28:56 +1000
X-Original-Message-ID <1469406536.8568.264.camel@kernel.crashing.org>
X-Original-References <1469307112.8568.224.camel@kernel.crashing.org> <20160724051810.GA7663@roeck-us.net> <1469365988.8568.255.camel@kernel.crashing.org> <87d1m2hg5i.fsf@x220.int.ebiederm.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1449230

Show key headers only | View raw


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.

Cheers,
Ben.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

kexec: device shutdown vs. remove Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2016-07-23 23:00 +0200
  Re: kexec: device shutdown vs. remove Guenter Roeck <linux@roeck-us.net> - 2016-07-24 07:20 +0200
    Re: kexec: device shutdown vs. remove Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2016-07-24 15:20 +0200
      Re: kexec: device shutdown vs. remove ebiederm@xmission.com (Eric W. Biederman) - 2016-07-25 00:00 +0200
        Re: kexec: device shutdown vs. remove Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2016-07-25 02:40 +0200
  Re: kexec: device shutdown vs. remove ebiederm@xmission.com (Eric W. Biederman) - 2016-07-24 07:40 +0200
    Re: kexec: device shutdown vs. remove Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2016-07-24 15:20 +0200
      Re: kexec: device shutdown vs. remove ebiederm@xmission.com (Eric W. Biederman) - 2016-07-24 23:50 +0200

csiph-web