Jorge Ramirez-Ortiz wrote:
Just wondering if you are aware of the pending aarch64 port issue with Xenomai and if you found a a fix for it (we have been chasing it for a few weeks now) Basically fpu switching in realtime mode is not realiable (it can potentially trash any of the applications running..you would see level 2 translation faults in your console if you execute the latency tests).
you could also pull this commit http://git.xenomai.org/xenomai-3.git/commit/?h=arm64
and execute: $ smokey --verbose=2 --run=2 duration=0
you will see the fpu registers being trashed and not correctly saved/restored while cobalt context switches between the realtime and the non realtime threads.
Thank you for the heads up! I'm using a bit old linux-ipipe/xenomai trees and haven't experienced that issue. I'll try it with the updated trees.
Regards, kaz