Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227AbVLHRS7 (ORCPT ); Thu, 8 Dec 2005 12:18:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932224AbVLHRS7 (ORCPT ); Thu, 8 Dec 2005 12:18:59 -0500 Received: from erik-slagter.demon.nl ([83.161.107.130]:19332 "EHLO artemis.slagter.name") by vger.kernel.org with ESMTP id S932218AbVLHRS5 (ORCPT ); Thu, 8 Dec 2005 12:18:57 -0500 Subject: Re: RFC: ACPI/scsi/libata integration and hotswap From: Erik Slagter To: Christoph Hellwig Cc: Matthew Garrett , 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 In-Reply-To: <20051208134438.GA13507@infradead.org> References: <20051208030242.GA19923@srcf.ucam.org> <20051208091542.GA9538@infradead.org> <20051208132657.GA21529@srcf.ucam.org> <20051208133308.GA13267@infradead.org> <20051208133945.GA21633@srcf.ucam.org> <20051208134438.GA13507@infradead.org> Content-Type: multipart/signed; micalg=sha1; protocol="application/x-pkcs7-signature"; boundary="=-jlz5V9T9lys3Me15ruAd" Date: Thu, 08 Dec 2005 18:18:50 +0100 Message-Id: <1134062330.1732.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-3.fc4) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5376 Lines: 92 --=-jlz5V9T9lys3Me15ruAd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2005-12-08 at 13:44 +0000, Christoph Hellwig wrote: > On Thu, Dec 08, 2005 at 01:39:45PM +0000, Matthew Garrett wrote: > > On Thu, Dec 08, 2005 at 01:33:08PM +0000, Christoph Hellwig wrote: > >=20 > > > Don't do it at all. We don't need to fuck up every layer and driver = for > > > intels braindamage. > >=20 > > Doing SATA suspend/resume properly on x86 depends on knowing the ACPI=20 > > object that corresponds to a host or target. It's also the only way to=20 > > support hotswap on this hardware[1], since there's no way for userspace= =20 > > to know which device a notification refers to. >=20 > Well, bad luck for people buying such broken hardware. Maybe you can tri= ck > Jeff into adding junk like that to libata, but it surely doesn't have any > business in the scsi layer. 'guess You're not interested in having suspend/resume actually work on laptops (or other PC's). That's your prerogative but imho it's a bit narrow-minded to withhold this functionality from other people who actually would like to have this working, just because you happen to not like ACPI. --=-jlz5V9T9lys3Me15ruAd Content-Type: application/x-pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIILzCCAnIw ggHboAMCAQICAw/xBDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUxMTI5MTc0MTQ0WhcNMDYxMTI5MTc0MTQ0WjBqMRAwDgYDVQQE EwdTbGFndGVyMRUwEwYDVQQqEwxFcmlrIE1hcnRpam4xHTAbBgNVBAMTFEVyaWsgTWFydGlqbiBT bGFndGVyMSAwHgYJKoZIhvcNAQkBFhFlcmlrQHNsYWd0ZXIubmFtZTCBnzANBgkqhkiG9w0BAQEF AAOBjQAwgYkCgYEAtYqGuTSGbsTHZPiKQnNmvpVaxVuBZS6rV5xuKD47J9hz8Vq3Xh4PpuGYNW5L vevp80oj6sYAhNuU380UNRqALFaer8MtG6fXpvBgq+MCxVQzMyYxAnopqWlZQIUQNQX9wZmI0gVv gY6vwcXRBXkMyrzm41dy4oFwh+PTj3U+xwcCAwEAAaMuMCwwHAYDVR0RBBUwE4ERZXJpa0BzbGFn dGVyLm5hbWUwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAO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iSx0x1G/11fZU8xggJmMIICYgIBATBpMGIxCzAJ BgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQD EyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDD/EEMAkGBSsOAwIaBQCgggFT MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA1MTIwODE3MTg1MFow IwYJKoZIhvcNAQkEMRYEFKs9mjVanjzI38h34/qnfTZOwayaMHgGCSsGAQQBgjcQBDFrMGkwYjEL MAkGA1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMP8QQwegYLKoZIhvcNAQkQ Agsxa6BpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBM dGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDD/EEMA0G CSqGSIb3DQEBAQUABIGAkYqnN5dKR4O6spzXa+i3XL7n3dMmFBM5xgwfYVIVbhbxJxNXbdy1NUsQ vv6S+z8Q7C1/tuTejeXPGg6WJCJQM7KNmv+3KRy5tLLk+9e1mHaRtn8c7P5CkLd/EML5FK1gZqRi 6oyXTwm5Qele/eorThHBzToKLBVmu9B3wob82asAAAAAAAA= --=-jlz5V9T9lys3Me15ruAd-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/