Decrementer interrupt in linux project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Decrementer interrupt in linux project

629 Views
pabloramos
Contributor I

Hi everyone,

I would like to know if it is possible to have decrementer interrupt in a Multicore Linux Project.
I have tried to use the interrupt like a bareboard Project  and it compiles but at the debug time it remains blocked.
Does anyone have  perform interrupts in Linux multicore projects? How to do that?

Thanks in advanced.

Labels (1)
0 Kudos
2 Replies

414 Views
bpe
NXP Employee
NXP Employee

If the question is specifically about Linux, the kernel does use Decrementer.

It registers Decrementer as a standard clock event device. Related code can be found in

arch/powerpc/kernel/time.c, arch/powerpc/kernel/head_fsl_booke.S and

arch/powerpc/kernel/head_booke.h.

More information on clock event device and related concepts can be found in

Documentation/timers/highres.txt

0 Kudos

414 Views
lunminliang
NXP Employee
NXP Employee

What do you mean by "at the debug time it remains blocked"? Did you find "TSR[DIS]" setted but PC not jumppting into handler?

0 Kudos