[RFC PATCH 1/5] ARM64: allow limited use of some NEON registers in exceptions

Nicolas Pitre nicolas.pitre at linaro.org
Mon Oct 7 18:03:01 EDT 2013


On Mon, 7 Oct 2013, Ard Biesheuvel wrote:

> Stack/unstack the bottom 4 NEON registers on exception entry/exit
> so we can use them in places where we are not allowed to sleep.

If you want to use Neon in places where you're not allowed to sleep, 
this also means you are not going to be scheduled away unexpectedly.  
Why not simply save/restore those Neon regs locally instead?  Same goes 
for interrupt context.


Nicolas



More information about the linux-arm-kernel mailing list