lkml.org 
[lkml]   [2010]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SATA / AHCI: Do not play with the link PM during suspend to RAM
Hello, Rafael.

On 08/27/2010 01:09 AM, Rafael J. Wysocki wrote:
> Well, no luck. I was able to reproduce the issue on my box with this patch
> applied on top of 2.6.32-rc2.
>
> Which probably means that the link power management is not really involved
> here and seems to turn up this statement:
>
> rc = ata_host_request_pm(host, mesg, 0, ATA_EHI_QUIET, 1);
>
> in ata_host_suspend() as the culprit.
>
> Does it make sense?

So, LPM doesn't have anything to do with the problem. The fact that
this only happens on specific machines is strange. Maybe the BIOS is
doing something fishy to the controller on disk spindown during
suspend. Can the BIOS tell that the system is going for suspend by
the time sd suspend is called? I'll prep another patch which will
make EH skip certain steps and ignore failures during suspend, which
basically mimics what your patch does but in safer way.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2010-09-02 11:09    [W:0.146 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site