From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:60412 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932304AbbA0QrZ (ORCPT ); Tue, 27 Jan 2015 11:47:25 -0500 Date: Tue, 27 Jan 2015 08:47:24 -0800 From: Greg Kroah-Hartman To: Paulo Fortuna Carvalho Cc: Bjorn Helgaas , "linux-pci@vger.kernel.org" Subject: Re: Hot add a PCIe device driver upon hotplug event Message-ID: <20150127164724.GC22764@kroah.com> References: <20150122222016.GF13072@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-pci-owner@vger.kernel.org List-ID: On Tue, Jan 27, 2015 at 04:31:04PM +0000, Paulo Fortuna Carvalho wrote: > Hello Bjorn, > > Is it possible to cancel somehow the remove procedure if the device is in use? Nope, you could have physically removed the device, so we can't cancel that :) > When we are using the device and remove occurs the kernel crashes. Then we need to fix the kernel, what driver is crashing, and where? thanks, greg k-h