public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Can I use VFP in work queue context ?
@ 2010-04-21 23:11 Anbumony, Kasi Lakshman Karthi
  2010-04-22 10:09 ` Ben Dooks
  2010-04-22 12:49 ` Siarhei Siamashka
  0 siblings, 2 replies; 9+ messages in thread
From: Anbumony, Kasi Lakshman Karthi @ 2010-04-21 23:11 UTC (permalink / raw)
  To: linux-arm-kernel

I have done some optimization in NEON (Neon/VFP sharing the same register set) and using it in my driver running in (Linux) kernel space. The neon optimized code will be used under a work queue context and not under any interrupt. Going by the design of Linux kernel, it looks like there is no context save and restore on VFP registers whenever there is a context switch from user mode to kernel mode, but Linux handles the same for user space processes.

Currently I am not seeing any issues (may be lucky) with my implementation (any exceptions) and was wondering whether it is safe to use of neon code in work queue context? My development platform is OMAP 3 (ARM cortex A-8) and using Android with Linux kernel: 2.6.29.

Thanks
-Anbumony, Kasi Lakshman Karthi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100421/c337dc9a/attachment-0001.htm>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-04-29 20:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 23:11 Can I use VFP in work queue context ? Anbumony, Kasi Lakshman Karthi
2010-04-22 10:09 ` Ben Dooks
2010-04-22 12:09   ` Måns Rullgård
2010-04-22 12:49 ` Siarhei Siamashka
2010-04-22 16:58   ` Woodruff, Richard
2010-04-22 17:19     ` Nicolas Pitre
2010-04-22 19:33       ` Woodruff, Richard
2010-04-22 19:40         ` Nicolas Pitre
2010-04-29 20:38         ` Siarhei Siamashka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox