Kernel crash when LP Security Violation Interrupt enabled

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

Kernel crash when LP Security Violation Interrupt enabled

跳至解决方案
1,638 次查看
ethanyang
Contributor II

Hi,

 

We faced a issue with secvio.c in the caam module.

The “snvs_secvio_install_handler” function used to register call back for interrupt.

Then the LP security violation interrupt was enabled as below.
val = 0x80000000;
writel(val, snvs_base + SNVS_HPSICR);
This causes to crash the driver as soon as a tamper is triggered.

 

Full crash log file is attached.

 

 

Regards,

Ethan

Original Attachment has been moved to: crashlog.txt.zip

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

Hi Ethan

please try attached patch.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,461 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ethan

please try attached patch.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复