Decrementer interrupt in linux project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Decrementer interrupt in linux project

1,279件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,064件の閲覧回数
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 件の賞賛
返信

1,064件の閲覧回数
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 件の賞賛
返信