From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Paulo Fortuna Carvalho <pricardofc@gmail.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: Re: Hot add a PCIe device driver upon hotplug event
Date: Tue, 27 Jan 2015 09:11:01 -0800 [thread overview]
Message-ID: <20150127171101.GA18912@kroah.com> (raw)
In-Reply-To: <CAH9N0t-_JbwtZeU+Kyds8=NX=CBT-+_ecKiUWPKr1zXiLKm0vQ@mail.gmail.com>
On Tue, Jan 27, 2015 at 05:06:33PM +0000, Paulo Fortuna Carvalho wrote:
> >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 :)
>
> ok.
>
> >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?
>
> The driver of the ATCA acquisition card crashes in a read data function
> through DMA accesses.
Do you have an oops callback? All read functions need to be able to
handle a 0xff read when the device is removed and react properly.
thanks,
greg k-h
next prev parent reply other threads:[~2015-01-27 17:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-12 11:42 Hot add a PCIe device driver upon hotplug event Paulo Fortuna Carvalho
2015-01-12 16:58 ` Bjorn Helgaas
2015-01-12 17:26 ` Paulo Fortuna Carvalho
2015-01-12 17:41 ` Bjorn Helgaas
[not found] ` <CAH9N0t-EP9p2V3JMht1F_EyK+bOdiiH1krPLrsTMDQ_961damQ@mail.gmail.com>
2015-01-13 17:29 ` Bjorn Helgaas
[not found] ` <CAH9N0t8s+kcG_Qok0wpoDz9jzwvPk_QmBK_p-qbACZJjrr+iVQ@mail.gmail.com>
2015-01-22 17:41 ` Bjorn Helgaas
[not found] ` <CAH9N0t-+gog9wNFo7hqhzrWuttrRyf5HjjHciFrDGz1rZUiUfw@mail.gmail.com>
2015-01-22 22:20 ` Bjorn Helgaas
2015-01-23 11:35 ` Paulo Fortuna Carvalho
2015-01-23 14:36 ` Bjorn Helgaas
2015-01-27 16:31 ` Paulo Fortuna Carvalho
2015-01-27 16:43 ` Bjorn Helgaas
2015-01-27 16:47 ` Greg Kroah-Hartman
2015-01-27 17:10 ` Paulo Fortuna Carvalho
[not found] ` <CAH9N0t-M2QfW84Jd3fRaLr+NdFvZEkjXzrXsgncoLhtYv-xQ3g@mail.gmail.com>
[not found] ` <CAH9N0t-_JbwtZeU+Kyds8=NX=CBT-+_ecKiUWPKr1zXiLKm0vQ@mail.gmail.com>
2015-01-27 17:11 ` Greg Kroah-Hartman [this message]
[not found] ` <54C5EF11.8070604@desy.de>
2015-01-27 16:50 ` Bjorn Helgaas
2015-01-28 7:51 ` Ludwig Petrosyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150127171101.GA18912@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=bhelgaas@google.com \
--cc=linux-pci@vger.kernel.org \
--cc=pricardofc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.