Re: [PATCH 04/17] ARM: vfp: Use cpu pm notifiers to save vfp state

2011-07-09 Thread Russell King - ARM Linux
On Sat, Jul 09, 2011 at 11:44:08AM +0100, Russell King - ARM Linux wrote: > We need to sort this out so we have a _sane_ approach to this, rather > than inventing more and more creative ways to save VFP state and > restore it later. And here, let's prove that the current code is just soo bloody co

Re: [PATCH 04/17] ARM: vfp: Use cpu pm notifiers to save vfp state

2011-07-09 Thread Russell King - ARM Linux
On Thu, Jul 07, 2011 at 04:50:17PM +0100, Lorenzo Pieralisi wrote: > From: Colin Cross > > When the cpu is powered down in a low power mode, the vfp > registers may be reset. > > This patch uses CPU_PM_ENTER and CPU_PM_EXIT notifiers to save > and restore the cpu's vfp registers. > > Signed-off

[PATCH 04/17] ARM: vfp: Use cpu pm notifiers to save vfp state

2011-07-07 Thread Lorenzo Pieralisi
From: Colin Cross When the cpu is powered down in a low power mode, the vfp registers may be reset. This patch uses CPU_PM_ENTER and CPU_PM_EXIT notifiers to save and restore the cpu's vfp registers. Signed-off-by: Colin Cross --- arch/arm/vfp/vfpmodule.c | 40 ++