[GIT PULL] [lucid] mvl-dove: preserve VFP/NEON state around signal handlers

Dave P. Martin Dave.Martin at arm.com
Mon Feb 8 11:46:51 UTC 2010


> From: eric.y.miao at gmail.com [mailto:eric.y.miao at gmail.com] On 
> Behalf Of Eric Miao
> Sent: 05 February 2010 23:21
> To: kernel-team at lists.ubuntu.com
> Cc: Dave P Martin
> Subject: [GIT PULL] [lucid] mvl-dove: preserve VFP/NEON state 
> around signal handlers

[...]

> As Dave suggested, VFP/NEON state should be preserved around 
> signal handlers (as described in bug 507503). Dove is less 
> vulnerable to this bug as it doesn't have a NEON, but it's a 
> better to have for the VFP as well.

Just to clarify for people's understanding, this issue is not really
specific to NEON at all -- Xorg corrupts a register in the range d0-d7 using
some VFP code in its signal handler.  These registers are shared between VFP
and NEON (when present), and are part of the common VFP architecture in Dove
and imx51 (and other ARMv7 implementations).

Cheers
---Dave







More information about the kernel-team mailing list