All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
To: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
Cc: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Alan Cox <alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>,
	randy_d_dunlap-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
	linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: RFC: ACPI/scsi/libata integration and hotswap
Date: Fri, 09 Dec 2005 06:58:41 -0500	[thread overview]
Message-ID: <43997171.9060105@pobox.com> (raw)
In-Reply-To: <20051209115235.GB25771-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>

Matthew Garrett wrote:
> On Fri, Dec 09, 2005 at 06:49:44AM -0500, Jeff Garzik wrote:
> 
> 
>>If this is just for libata, it's still at the wrong level.
>>
>>libata will eventually make the SCSI simulator optional, which means
>>any acpi_scsi_init() or whatnot won't work for libata.
> 
> 
> It depends on notification whenever a device is added to the scsi bus 
> class, so it needs access to scsi_bus_type. While that could be put in 
> the libata layer, it seems cleaner to leave it in scsi and then add 
> another callback for libata when it moves to its own bus class.

If this is for hotswap, as I noted, libata doesn't need this at all.

If the hardware supports it, then libata will support it directly. 
There is no ACPI-specific magic, because ACPI does nothing but talk to 
the same hardware libata is talking to.

	Jeff





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

WARNING: multiple messages have this Message-ID (diff)
From: Jeff Garzik <jgarzik@pobox.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Christoph Hellwig <hch@infradead.org>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	randy_d_dunlap@linux.intel.com, linux-ide@vger.kernel.org,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	acpi-devel@lists.sourceforge.net
Subject: Re: RFC: ACPI/scsi/libata integration and hotswap
Date: Fri, 09 Dec 2005 06:58:41 -0500	[thread overview]
Message-ID: <43997171.9060105@pobox.com> (raw)
In-Reply-To: <20051209115235.GB25771@srcf.ucam.org>

Matthew Garrett wrote:
> On Fri, Dec 09, 2005 at 06:49:44AM -0500, Jeff Garzik wrote:
> 
> 
>>If this is just for libata, it's still at the wrong level.
>>
>>libata will eventually make the SCSI simulator optional, which means
>>any acpi_scsi_init() or whatnot won't work for libata.
> 
> 
> It depends on notification whenever a device is added to the scsi bus 
> class, so it needs access to scsi_bus_type. While that could be put in 
> the libata layer, it seems cleaner to leave it in scsi and then add 
> another callback for libata when it moves to its own bus class.

If this is for hotswap, as I noted, libata doesn't need this at all.

If the hardware supports it, then libata will support it directly. 
There is no ACPI-specific magic, because ACPI does nothing but talk to 
the same hardware libata is talking to.

	Jeff




  parent reply	other threads:[~2005-12-09 11:58 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08  3:02 RFC: ACPI/scsi/libata integration and hotswap Matthew Garrett
2005-12-08  9:15 ` Christoph Hellwig
2005-12-08 13:26   ` Matthew Garrett
2005-12-08 13:33     ` Christoph Hellwig
2005-12-08 13:39       ` Matthew Garrett
2005-12-08 13:44         ` Christoph Hellwig
2005-12-08 17:18           ` Erik Slagter
2005-12-08 20:43             ` Jeff Garzik
2005-12-08 21:03               ` Dominic Ijichi
2005-12-08 21:09                 ` Jeff Garzik
     [not found]                   ` <4398A0F9.9050900-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2005-12-08 21:34                     ` Dominic Ijichi
2005-12-08 21:34                       ` Dominic Ijichi
2005-12-08 21:31               ` Randy Dunlap
2005-12-09  9:45                 ` Erik Slagter
2005-12-09 10:39                   ` Jens Axboe
2005-12-09 10:45                     ` Erik Slagter
2005-12-09 11:27                       ` Jeff Garzik
2005-12-09 11:35                         ` Erik Slagter
2005-12-09 11:40                           ` Christoph Hellwig
2005-12-09 11:46                           ` Jens Axboe
2005-12-09 11:55                             ` Matthew Garrett
     [not found]                               ` <20051209115511.GA25842-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-12-09 13:22                                 ` Bartlomiej Zolnierkiewicz
2005-12-09 13:22                                   ` Bartlomiej Zolnierkiewicz
2005-12-09 12:01                             ` Erik Slagter
     [not found]                               ` <1134129692.27633.58.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-12-09 12:07                                 ` Jens Axboe
2005-12-09 12:07                                   ` Jens Axboe
2005-12-10  2:19                         ` Douglas Gilbert
     [not found]                           ` <439A3B15.5010608-c4O3jRSCrQ+sTnJN9+BGXg@public.gmane.org>
2005-12-14 20:52                             ` Matthew Wilcox
2005-12-14 20:52                               ` [ACPI] " Matthew Wilcox
     [not found]                       ` <1134125145.27633.32.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-12-09 11:30                         ` Jens Axboe
2005-12-09 11:30                           ` Jens Axboe
2005-12-09  3:28               ` Mark Lord
2005-12-09 11:29                 ` Jeff Garzik
     [not found]                   ` <43996A84.5020307-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
2005-12-10  4:01                     ` Mark Lord
2005-12-10  4:01                       ` Mark Lord
2005-12-08 13:52         ` Jeff Garzik
2005-12-08 14:07           ` [ACPI] " Alan Cox
2005-12-08 14:14             ` Jeff Garzik
2005-12-08 14:30               ` Alan Cox
2005-12-08 14:43                 ` Matthew Garrett
2005-12-08 14:53                   ` Alan Cox
2005-12-09 11:42                 ` Jeff Garzik
2005-12-08 14:12           ` Matthew Garrett
2005-12-08 14:01         ` Alan Cox
2005-12-08 14:18           ` Matthew Garrett
2005-12-08 14:33             ` Alan Cox
2005-12-08 14:52               ` Matthew Garrett
2005-12-08 14:55                 ` Alan Cox
2005-12-08 17:19                 ` Matthew Garrett
2005-12-09 11:42                   ` Christoph Hellwig
     [not found]                     ` <20051209114246.GB16945-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2005-12-09 11:49                       ` Jeff Garzik
2005-12-09 11:49                         ` Jeff Garzik
2005-12-09 11:52                         ` Matthew Garrett
     [not found]                           ` <20051209115235.GB25771-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
2005-12-09 11:58                             ` Jeff Garzik [this message]
2005-12-09 11:58                               ` Jeff Garzik
2005-12-09 12:11                               ` Matthew Garrett
2005-12-09 12:16                                 ` Jeff Garzik
2005-12-09 12:24                                   ` Matthew Garrett
2005-12-10  0:40                                     ` Jeff Garzik
2005-12-10  2:34                                       ` Matthew Garrett
2005-12-10  2:39                                         ` Jeff Garzik
2005-12-10  2:47                                           ` Matthew Garrett
2005-12-10  2:41                                         ` Jeff Garzik
2005-12-10  2:50                                           ` Matthew Garrett
2005-12-10  2:57                                             ` Jeff Garzik
2005-12-10  3:47                                               ` [ACPI] " Andrew Grover
2005-12-12  0:38                                           ` Alan Cox
2005-12-09 11:50                     ` Matthew Garrett
2005-12-09 11:55                       ` Christoph Hellwig
2005-12-13 18:14 ` Randy Dunlap
2005-12-13 18:26   ` Matthew Garrett
2005-12-13 19:07     ` Randy Dunlap
2005-12-08 13:57 Salyzyn, Mark
2005-12-08 13:57 ` Salyzyn, Mark

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=43997171.9060105@pobox.com \
    --to=jgarzik-e+axbwqsrlaavxtiumwx3w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org \
    --cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org \
    --cc=randy_d_dunlap-VuQAYsv1563Yd54FQh9/CA@public.gmane.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.