Re: [linux-pm] [PATCH] libata: skip EH autopsy and recovery during suspend
From: Rafael J. Wysocki
Date: Thu Sep 02 2010 - 17:11:46 EST
On Thursday, September 02, 2010, Alan Stern wrote:
> On Thu, 2 Sep 2010, Tejun Heo wrote:
>
> > Hello,
> >
> > On 09/02/2010 10:28 PM, Rafael J. Wysocki wrote:
> > > That would be very nice. In particular, I'd like to get rid of the
> > > pm_message_t thing if possible. And I'd like to avoid putting the
> > > controller into D3 before creating hibernation image. :-)
>
> Ultimately I don't think it will be possible to get rid of pm_message_t
> throughout the entire kernel. Not just because it's a legacy thing
> spread all over the place, but because it sometimes is genuinely
> useful. In situations where there are only minimal differences between
> the various suspend/resume paths, it makes a lot of sense to call a
> single function and tell it which type of operation to perform.
Well, that's why I said "if possible" above. :-)
Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/