linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libata PM question
@ 2009-11-30  2:22 Benjamin Herrenschmidt
  2009-11-30  2:25 ` Benjamin Herrenschmidt
  2009-11-30  7:26 ` Tejun Heo
  0 siblings, 2 replies; 9+ messages in thread
From: Benjamin Herrenschmidt @ 2009-11-30  2:22 UTC (permalink / raw)
  To: linux-ide; +Cc: Tejun Heo, Jeff Garzik

Hi there !

So I (finally !) resumed work on pata_macio.c to replace ide/pmac.c :-)

I've started looking at the suspend/resume stuff. It looks like most of
it just comes for free thanks to libata, yay ! :-)

One quick nit tho, in libata-eh.c, in ata_eh_handle_port_suspend(), any
reason why you always call ata_acpi_set_state(ap, PMSG_SUSPEND) rather
than ata_acpi_set_state(ap, ap->pm_mesg) ?

Not directly related to my pmac driver but it seems like it would cause
calls into ACPI suspend/resume code even when doing freeze/thaw for
hibernation which doesn't sound totally right to me ... or do I miss
something ?

Cheers,
Ben.



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

end of thread, other threads:[~2009-11-30  7:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-30  2:22 libata PM question Benjamin Herrenschmidt
2009-11-30  2:25 ` Benjamin Herrenschmidt
2009-11-30  3:42   ` Benjamin Herrenschmidt
2009-11-30  3:53     ` Robert Hancock
2009-11-30  5:51       ` Benjamin Herrenschmidt
2009-11-30  3:47   ` Robert Hancock
2009-11-30  7:26 ` Tejun Heo
2009-11-30  7:32   ` Shaohua Li
2009-11-30  7:45     ` Tejun Heo

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