public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kwan <joshk@triplehelix.org>
To: linux-kernel@vger.kernel.org
Cc: jgarzik@pobox.com, axboe@suse.de
Subject: SATA suspend-to-ram patch - merge?
Date: Tue, 20 Sep 2005 23:59:44 -0700	[thread overview]
Message-ID: <433104E0.4090308@triplehelix.org> (raw)

[-- 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 --]

             reply	other threads:[~2005-09-21  7:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21  6:59 Joshua Kwan [this message]
2005-09-22  3:14 ` SATA suspend-to-ram patch - merge? 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

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=433104E0.4090308@triplehelix.org \
    --to=joshk@triplehelix.org \
    --cc=axboe@suse.de \
    --cc=jgarzik@pobox.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox