Invalidatin Cortex-A9 SCU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Invalidatin Cortex-A9 SCU

跳至解决方案
1,489 次查看
vsiles
Senior Contributor I

Hi !

I'm trying to understand how to enable ACTLR.SMP and the SCU on our own secure OS, and the Cortex-A9 TRM states that:

For the primary processor:
1. Invalidate:
   • the SCU duplicate tags for all processors
   • the data cache.
2. Enable the SCU.
3. Enable the data cache, set the SMP mode with ACTLR.SMP=1.

While reading Linux code, I found that the SCU is enabled quite late in the boot process (mmu is already on, and L1/L2 caches are already configured), and the only bit set at this time are ENABLE and STANDBY_ENABLE. I can't find any invalidation of the SCU tags.

  1. Is not invalidating the SCU before enabling an issue ?
  2. Why does Linux enables the SCU so late in the boot process ?

Best,

V.

标签 (3)
标记 (2)
0 项奖励
回复
1 解答
1,329 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 

It is assumed, that the SCU after POR is invalidated.

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,330 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 

It is assumed, that the SCU after POR is invalidated.

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct

Answer button. Thank you!

------------------------------------------------------------------------------

0 项奖励
回复