This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Real time operation

I notice that the kernel source tree included in the PSP 1.30 allows for the kernel to be built with complete (real-time) preemption.  However, I want to think that I read somewhere that the DaVinci drivers don't support this mode of kernel operation but I can't seem to find where I read this.  Can anyone verify that enabling real-time kernel operation will not break DaVinci drivers (VPBE, CCDC, Resizer, serial, ethernet, etc) ?

  • I believe DSPLINK does not currently support real-time pre-emption; this is the communication mechanism between ARM and DSP. 

    If the PSP team added real-time pre-emption the drivers, I would imagine the from a Linux driver point of view, this functionality is ok.

  • DSPLink documentation states that it doesn't support full preemptive real time behavior, but it supports other of the real time levels typically available on the Linux kernel. I'm not sure for the drivers, but there is one way to figure out ;). I would recommend you to identify what specific real-time behavior are you looking to gain and enable the RT level according to the requirements. Not everybody requires fully preemptive kernel, sometimes just getting rid of the BKL and putting IRQs on threads to enable interrupt pre-emption is enough for particular RT requirements. Diego Dompe RidgeRun Engineering