All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Doug Maxey <dwm@austin.ibm.com>
Cc: Linux IDE Mailing List <linux-ide@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] IDE/ATA/SATA controller hotplug
Date: Wed, 11 Aug 2004 15:33:06 -0400	[thread overview]
Message-ID: <411A7472.9010606@pobox.com> (raw)
In-Reply-To: <200407272018.i6RKIiYB028210@falcon10.austin.ibm.com>

Doug Maxey wrote:
> On Tue, 27 Jul 2004 11:31:15 EDT, Jeff Garzik wrote:
>>>  What I would like is input on the general strategy that should be
>>>  taken to modify the controller/adapter and device stack to:
>>>
>>>  1) be first class modules, where all controllers/adapters are
>>>     capable of being loaded and unloaded.  This is directed mostly at
>>>     IDE/Southbridge controller/adapter devices.
>>
>>this is already the case in IDE and libata
> 
> 
> I would have to differ with you here.  From conversations and fairly
> (2 or 3 months ago) experience, the IDE core is not capable of being
> unloaded.

As long as the low-level driver can be unloaded, that's sufficient for 
hardware- and device-hotplug.


>>>  2) extend that support to all child devices; disk, optical,
>>>     and tape.
>>
>>this is already the case in IDE and SCSI
> 
> 
> Educational question, what would I be looking for when grokking code
> to see this is in place?

Just general refcounting / module support code.


>>>  3) be part of mainline.
>>
>>this is already the case
> 
> 
> Yes, the drivers are in the mainline.  Just not sure of how many
> platforms will have non-pluggable controllers that need to have them
> hot-plugged. :-)

The PCI API is a hotplug API.  Whether the underlying controller is 
hotpluggable or not is largely irrelevant to low-level drivers.


>>>  The items I perceive at the top of the issue list are:
>>>
>>>  - The primary platforms for IDE/ATA devices are x86 based, and
>>>    certainly do not care about having this capability.
>>
>>incorrect
> 
> 
> Ok, please delineate.  Working off the assumption that 95+% of the
> systems that run Linux are x86 based, and have a single partition for
> the system. In other words, no virtual processors, where each is
> totally separate from the other.

That's completely irrelevant.  libata and the IDE core work without 
change on x86 and non-x86 systems.


>>>  - Where should this capability go?  Fork a subset of IDE
>>>    controllers, and put them under the arch specific dir?
>>>    Or include all devices?
>>
>>there is nothing arch-specific about this
> 
> 
> Again, going back to my original premise, that is, which platforms do
> you foresee needing this capability?  I know that all should have
> eventually.

All platforms should be considered hotplug.

	Jeff



  parent reply	other threads:[~2004-08-11 19:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19 19:47 [RFC] IDE/ATA/SATA controller hotplug Doug Maxey
2004-07-25 19:00 ` Greg KH
2004-07-26 19:42   ` Doug Maxey
2004-07-28 22:59     ` Greg KH
2004-07-27 15:31 ` Jeff Garzik
2004-07-27 20:18   ` Doug Maxey
2004-07-27 21:31     ` J. Ryan Earl
2004-07-27 20:47       ` Doug Maxey
2004-08-11 19:33     ` Jeff Garzik [this message]
2004-08-12 11:36       ` Paul Ionescu
2004-07-27 21:14   ` J. Ryan Earl
2004-07-27 20:15     ` Jeff Garzik
2004-07-27 20:20       ` Jeff Garzik

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=411A7472.9010606@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=dwm@austin.ibm.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@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 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.