Revert UBUNTU Fix ARM VFP state corruption due to preemption

Amit Kucheria amit.kucheria at canonical.com
Mon May 25 10:26:18 UTC 2009


On Mon, May 25, 2009 at 02:19:24PM +0930, Stefan Stefanov wrote:
> Hi kernel-team,
> 
> I have a similar problem to that described in "UBUNTU: Fix ARM VFP state corruption due to preemption".
> In my case the problem is to take an IRQ (causing preemtion) just before saving the last VFP context - VSTM     r4!,{d0-d15} in vfphw.S
> During the context switch the VFP is disabled via call to vfp_notifier() via atomic_notifier_call_chain(). That in turn causes a wrong VFP context to be saved in the original thread_info.
> 
> So I was wondering what is the reason to revert that patch?

What platform are you seeing this problem on?
It is unlikely that you are seeing the same problem since it is only
turned on in PREEMPTible kernels.

The reason for reverting the patch is in the commit message - it was
only meant for PREEMPT kernels. Since our kernels turn off PREEMPT, that
patch isn't necessary.

Regards,
Amit
-- 
----------------------------------------------------------------------
Amit Kucheria, Kernel Engineer || amit.kucheria at canonical.com
----------------------------------------------------------------------




More information about the kernel-team mailing list