From: Matthew Garrett <mjg@redhat.com>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Prarit Bhargava <prarit@redhat.com>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] acpica events: Call acpi_os_hotplug_execute on Ejection Requests
Date: Fri, 23 Sep 2011 16:37:32 +0100 [thread overview]
Message-ID: <20110923153732.GA31605@srcf.ucam.org> (raw)
In-Reply-To: <CAErSpo5uAg6wAP8jfDcrLDXh-Z86S+hD91Qkz=Mi4QMkkMtNuA@mail.gmail.com>
On Fri, Sep 23, 2011 at 09:29:19AM -0600, Bjorn Helgaas wrote:
> On Thu, Sep 22, 2011 at 7:13 PM, Matthew Garrett <mjg@redhat.com> wrote:
> > We're seeing an increasing number of machines that use acpi
> > notifications to trigger rescans of devices - for instance, SD readers
> > that only appear on the PCI bus once a card has been inserted. These
> > often fail to flag themselves as removable or ejectable, so the acpiphp
> > core never binds. I think we need to fix this pretty urgently, for PCI
> > if nothing else.
>
> Can you elaborate on this a bit? I certainly agree that Prarit's
> process hang needs to be fixed, but it sounds like you're talking
> about the larger issue of the ACPI core not supporting hotplug.
Yup.
> I think that since the core doesn't do hotplug, we can't deal with
> hot-add of any ACPI devices unless we have already loaded a driver
> that has hotplug support for that device. And acpiphp is not really a
> "driver," in the sense that it doesn't bind to a specific PNP ID and
> there isn't a good way to autoload it.
Indeed. Worse, it only binds to devices that have _RMV or _EJ* methods.
> If we moved most of the notification parts of acpiphp into the core,
> maybe that would be a step towards handling these SD readers and
> similar devices?
I think so, yes.
--
Matthew Garrett | mjg59@srcf.ucam.org
next prev parent reply other threads:[~2011-09-23 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 23:16 [PATCH] acpica events: Call acpi_os_hotplug_execute on Ejection Requests Prarit Bhargava
2011-09-23 1:08 ` Bjorn Helgaas
2011-09-23 1:13 ` Matthew Garrett
2011-09-23 15:29 ` Bjorn Helgaas
2011-09-23 15:37 ` Matthew Garrett [this message]
2011-09-23 10:48 ` Prarit Bhargava
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=20110923153732.GA31605@srcf.ucam.org \
--to=mjg@redhat.com \
--cc=bhelgaas@google.com \
--cc=linux-acpi@vger.kernel.org \
--cc=prarit@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox