From: Tom Duffy <tom.duffy@sun.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: PCI hotplug
Date: Mon, 01 Nov 2004 17:19:31 +0000 [thread overview]
Message-ID: <1099329571.9878.7.camel@duffman> (raw)
In-Reply-To: <1098903129.17422.2.camel@duffman>
[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]
On Fri, 2004-10-29 at 21:03 -0700, Greg KH wrote:
> On Wed, Oct 27, 2004 at 11:52:09AM -0700, Tom Duffy wrote:
> > Greg, et. al,
> >
> > Is there a document out there describing in detail how PCI hotplug works
> > under Linux?
>
> From a kernel viewpoint, or from a userspace viewpoint? For 2.4 or
> 2.6?
kernel, 2.6
> Did you take a look at the acpi pci hotplug driver in the kernel?
> Source is always your best documentation :)
Yes, I started to go through it. And I was afraid you were going to say
that :-)
> Anything specific you are wondering about?
Well, we are building a system that will have PCI-E hotplug and I need
to make sure that Linux will support it.
I am under the impression that Windows uses ACPI to tell the BIOS to
stimulate the hotplug controller registers. In general, Linux has
relied less on the BIOS to handle system management, instead
implementing all the bits in the OS.
With proper support from the OS, the driver itself could use interrupts
from the standard hotplug controller in the host's root PCI bridge to
handle hotplug events.
So, what does Linux do?
-tduffy
--
"A democracy cannot exist as a permanent form of government. It can only
exist until the voters discover that they can vote themselves money from
the public treasure. From that moment on, the majority always votes for
the candidates promising the most money from the public treasury, with
the result that democracy always collapses over loose fiscal policy
followed by a dictatorship. The average of the world's greatest
civilizations has been two hundred years. These nations have progressed
through the following sequence: from bondage to spiritual faith, from
spiritual faith to great courage, from courage to liberty, from liberty
to abundance, from abundance to selfishness, from selfishness to
complacency, from complacency to apathy, from apathy to dependency, from
dependency back to bondage." -- Alexander Tyler, 1778
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-11-01 17:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 18:52 PCI hotplug Tom Duffy
2004-10-30 4:03 ` Greg KH
2004-11-01 17:19 ` Tom Duffy [this message]
2004-11-01 18:56 ` Greg KH
2004-12-09 15:24 ` PCI HotPlug Tejas Sumant
2004-12-09 23:40 ` Greg KH
2004-12-10 0:16 ` Linas Vepstas
2004-12-10 0:22 ` Greg KH
2004-12-10 0:39 ` Linas Vepstas
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=1099329571.9878.7.camel@duffman \
--to=tom.duffy@sun.com \
--cc=linux-hotplug@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).