Kernel crash when LP Security Violation Interrupt enabled

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

Kernel crash when LP Security Violation Interrupt enabled

Jump to solution
822 Views
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

Labels (2)
0 Kudos
1 Solution
644 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
645 Views
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 Kudos