linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SATA suspend-to-ram patch - merge?
@ 2005-09-21  6:59 Joshua Kwan
  2005-09-22  3:14 ` Jeff Garzik
  0 siblings, 1 reply; 19+ messages in thread
From: Joshua Kwan @ 2005-09-21  6:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: jgarzik, axboe

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]

Hi,

Debugging a friend's new IBM Thinkpad T43, I found that I had to use
this patch by Jens Axboe to get suspend-to-RAM working on his machine,
to prevent SATA from completely flipping out on resume and hanging on
any disk activity:

http://seclists.org/lists/linux-kernel/2005/May/0447.html

The patch is not in 2.6.13, and currently doesn't apply to either that
or 2.6.12 - a quick-and-(very-)dirty rediff for only the drivers needed
(ata_piix) worked for my purposes, and the machine suspends and resumes
correctly now.

I investigated a little and noticed that the patch in its current form
doesn't seem to exist in 2.6.14-rc1, but there are some new ATA commands
 -- ATA_CMD_STANDBY etc. that have been introduced, which seem vaguely
relevant to the problem. I'm not sure whether those changes do any of
the work that Jens' patch did, and I also haven't tested that kernel yet
on my friend's machine.

Is Jens' patch still relevant? If so, should it be rediffed and merged
into mainline? It doesn't seem to cause any weird side-effects.

More importantly, I would be inclined to properly rediff Jens' patch and
merge it into Debian 2.6.12 kernel sources if there aren't any such
side-effects, since it benefits everyone using SATA and suspend-to-ram
(that is, users of relatively modern laptops.)

Thanks!

-- 
Joshua Kwan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 948 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-09-24 10:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-21  6:59 SATA suspend-to-ram patch - merge? Joshua Kwan
2005-09-22  3:14 ` Jeff Garzik
2005-09-22  6:18   ` Jens Axboe
2005-09-22 13:04     ` Mark Lord
2005-09-22 13:08       ` Matthew Garrett
2005-09-22 13:24         ` Jens Axboe
2005-09-22 13:24       ` Jens Axboe
2005-09-22 14:28       ` Christoph Hellwig
2005-09-22 14:17     ` Alan Cox
2005-09-22 13:56       ` Jens Axboe
2005-09-22 14:30         ` Alan Cox
2005-09-22 14:20           ` Luben Tuikov
2005-09-22 17:57           ` Jeff Garzik
2005-09-22 18:04             ` Linus Torvalds
2005-09-22 18:08               ` Christoph Hellwig
2005-09-22 18:11                 ` Jens Axboe
2005-09-22 15:01     ` Randy.Dunlap
2005-09-22 10:36   ` Pavel Machek
2005-09-24 10:18     ` Jeff Garzik

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).