Re: [RFC][PATCH 1/1] ARM: Add initial hibernation support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: ext Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [RFC][PATCH 1/1] ARM: Add initial hibernation support
Date: Thu, 15 Jul 2010 10:41:18 +0200

> On Thu, Jul 15, 2010 at 08:34:50AM +0300, Hiroshi DOYU wrote:
>> Russell, would it be possible to put this into your next merge queue?
> 
> I think it needs quite a bit of rework - I certainly don't like all
> those CP15 register accesses there - that's asking for lots of ifdefs
> to spring up as more CPUs are supported.
>
> Eg, what about ensuring that state such as iWMMXt on PXA CPUs is
> properly restored?

Right. This arch specific part can be something like
"suspend-v[3-7].S" to accomodate those differences

> We already have code which knows what needs to be saved across a
> power-off transition - its what we use for our normal suspend/resume
> functionality, so we should look at re-using that code for hibernate
> as well.  We really don't want to be maintaining two sets of code
> doing the same thing.

Could you explain which code you're refering for the existing one?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux